Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.
This article helps you get started with electronic invoicing for Singapore. Set up the system to generate, submit, and receive electronic invoices in the Singaporean extension of the PEPPOL International (PINT) format in Microsoft Dynamics 365 Finance by using the last mile connector.
Note
This electronic invoicing approach uses an invoicing service that's applicable only to cloud deployments of Microsoft Dynamics 365 Finance.
Prerequisites
Before you start, make sure these prerequisites are in place:
The company is a registered taxpayer in Singapore.
The company has a signed agreement with the electronic document delivery service provider that supports document interchange in the PEPPOL (PINT) format.
Register the following profile ID for Microsoft Dynamics 365 Finance electronic document interchange:
- urn:peppol:bis:billing – Use this profile to interchange documents in PEPPOL (PINT) format.
Get the credentials from the service provider to integrate the Electronic Invoicing service with the Electronic Invoicing service independent software vendor (ISV) last-mile connector.
Note
This implementation assumes Edicom is the Electronic Invoicing ISV last-mile connection service provider. For more information, see Edicom integration with Microsoft Dynamics 365.
Learn about Electronic Invoicing in the Electronic Invoicing service overview and Electronic invoicing components.
Complete the common Electronic Invoicing service configuration in Electronic invoicing configuration.
Create the Azure Key Vault configuration
Create an Azure Key Vault to store required company secrets. For more information, see Configure Azure resources for Electronic invoicing.
Add the following element to the key vault:
- Add the secret for the token that authorizes access to Edicom services. Obtain it from Edicom as described in the prerequisites.
Set up electronic invoicing Key Vault parameters
Set up electronic invoicing Key Vault parameters.
Go to Organization administration > Setup > Electronic document parameters.
On the Electronic invoicing tab, in Key Vault settings, in Key Vault, select the key vault reference you created earlier.
In SAS token secret, select the storage account secret URL used to authenticate access to the storage account.
Select Key Vault parameters.
On the Key Vault parameters page, in Certificates, select Add and create an element of the appropriate type for each secret described earlier.
Note
Match the value in the Name column to the secret name described earlier.
Import the electronic invoicing feature
Go to Globalization Studio and select the Electronic invoicing tile. Import the latest version of the Singaporean electronic invoice (SG) globalization feature as described in Import features from the repository.
In the Electronic reporting workspace, on the Reporting configurations tile, confirm that the following Electronic reporting configurations are imported as a result of the Singaporean electronic invoice (SG) globalization feature import.
- Invoice model
- Invoice model mapping
- PINT Sales e-invoice
- PINT Sales e-credit note
- PINT Project e-invoice
- PINT Project e-credit note
- Customer invoice context model
- Response message model
- Edicom Response Processing
- Error log import Json
Note
If the configurations aren't imported, import them manually as described in Import Electronic reporting (ER) configurations from Dataverse.
In the Electronic reporting workspace, on the Reporting configurations tile, import the latest versions of the following Electronic reporting configurations to receive incoming vendor invoices.
- Vendor invoice import
- Vendor invoice Mapping to destination
- Import invoice context model
Configure the electronic invoicing feature
The Singaporean electronic invoice (SG) feature publishes some parameters with default values. Before you deploy the feature, review the default values and update them so they reflect your business operations.
Review and update the Singaporean electronic invoice (SG) feature configuration:
Go to Globalization Studio and select the Electronic invoicing tile. Import the globalization feature as described in Import features from the repository.
Copy the imported Singaporean electronic invoice (SG) globalization feature and select your configuration provider, as described in Create a Globalization feature.
On the Versions tab, check that the Draft version is selected.
On the Feature parameters tab, specify these required Edicom connection and integration parameters:
- Service ID – Use the service ID (Domain) number from Edicom to identify the company.
- Group – Use the group code for internal routing within the Edicom infrastructure.
- Destination – Construct the destination by appending _EDIWIN to the service ID number. For example, if the service ID number is 123456, enter 123456_EDIWIN.
- Token – Select the name of the token you created earlier.
Each copy starts as a Draft version. Complete and deploy the feature as described in Complete and deploy a Globalization feature.
Configure electronic document parameters
- Go to Organization administration > Setup > Electronic document parameters.
- On the Electronic document tab, add records for the Customer Invoice journal and Project invoice tables.
- For each table name, set the Document context and Electronic document model mapping fields as described in Set up electronic invoicing parameters.
Note
If you created derived equivalents of the earlier Electronic Reporting configurations, use them instead of the standard configurations.
- On the Integration channels tab, in the Channels section, select Add to create a new channel.
- In the Channel field, enter EdiStatus. Enter the value exactly as shown. The system uses it to submit outgoing electronic invoices.
- In the Company field, select the legal entity.
- In the Document context field, select the Data channel context mapping from the Customer invoice context model configuration.
- In the Channel type field, select Export.
- In the Channels section, select Add to create another channel.
- In the Channel field, enter EdiImport. Enter the value exactly as shown. The system uses it to import incoming electronic invoices.
- In the Company field, select a required legal entity.
- In the Document context field, select the Data channel context mapping from the Import invoice context model configuration.
- In the Channel type field, select Import.
- In the Import sources section, select Add to create an import source.
- In the Name field, enter ResponseXml. Enter the value exactly as shown.
- In the Data entity name field, select the Vendor invoice header entity.
- In the Model mapping field, select the Import vendor invoice mapping from the Vendor invoice import configuration.
- Select Save, and then close the page.
Note
If you use integration channels other than EdiStatus and EdiImport, do another configuration for the feature and related context configurations.
Set up registration numbers
If these registration types and categories already exist, skip this procedure.
Set up UEN number
To set up the Unique Entity Number (UEN) registration number, see UEN of the business user.
Set up GST number
To set up the Goods and Services Tax (GST) registration number, see GST Registration Number of the business user.
Set up address structure
Set up the postal address structure.
Go to Organization administration > Global address book > Addresses > Address setup.
Ensure the following required elements are configured.
- Country code
- Postal code
- Street
Configure legal entity data
Enter the address
Add the primary address.
- Go to Organization administration > Organizations > Legal entities, and select a legal entity.
- On the Addresses FastTab, add the primary address for the legal entity.
Seller identification
Add the registration numbers.
Go to Organization administration > Organizations > Legal entities.
On the Action Pane, select Registration IDs.
On the Registration ID FastTab, select Add, set Registration type to the Unique Entity Number (UEN) type you created earlier, and enter the UEN value in Registration number.
Select Add, set Registration type to the Goods and Services Tax (GST) type you created earlier, and enter the GST value in Registration number.
The system puts the UEN number in the Invoice\cac:AccountingSupplierParty\cac:Party\cbc:EndpointID element and the GST number in the Invoice\cac:AccountingSupplierParty\cac:Party\cac:PartyTaxScheme\cbc:CompanyID element in the generated electronic invoice XML file. These values act as the seller's identification during submission.
Configure customer data
Enter the address
To enter the address, follow these steps.
- Go to Accounts receivable > Customers > All customers.
- Select a customer.
- On the Addresses FastTab, add a valid address for the selected customer.
Buyer identification
To enter the registration numbers, follow these steps.
Go to Accounts receivable > Customers > All customers.
On the Action Pane, on the Customer tab, in the Registration group, select Registration IDs.
On the Registration ID FastTab, select Add to create a registration ID.
In the Registration type field, select the Unique Entity Number (UEN) registration type that you created earlier.
In the Registration number field, enter a valid BRN registration number for the selected customer.
Select Add to create another registration ID, if necessary.
In the Registration type field, select the Goods and Services Tax (GST) registration type that you created earlier.
In the Registration number field, enter a valid SST registration number for the selected customer.
The UEN number is entered in the Invoice\cac:AccountingCustomerParty\cac:Party\cbc:EndpointID element and the GST number is entered in the Invoice\cac:AccountingCustomerParty\cac:Party\cac:PartyTaxScheme\cbc:CompanyID element in the electronic invoice XML file that is generated. It's used as the buyer's identification during the submission process.
Note
For both, Seller and Buyer identification, the schema 0195 (Singapore UEN identifier) is used by default according to the Electronic Address Scheme (EAS). If there's a necessity to redefine the default schema then perform the steps described in the next section. Otherwise you can ignore the next section.
Configure identification schemas
Follow these steps only if you need to redefine the default identification schemas for sellers or buyers.
Configure electronic document properties
Set up electronic document properties.
Go to Accounts receivable > Setup > Electronic document property types, and select New.
In the Type field, enter CompanyEndpointType. Enter the value exactly as shown. It's used for the Seller identification schema definition.
Select Applicability to add an applicable table.
On the Electronic document property type applicability setup page, in the Table name field, select Legal entities.
Save your changes and return to the Electronic document property types page.
Select New to create another electronic document property type.
In the Type field, enter CustomerEndpointType. Enter the value exactly as shown. It's used for the Buyer identification schema definition.
Select Applicability to add an applicable table.
On the Electronic document property type applicability setup page, in the Table name field, select Customers.
Save your changes, and return to the Electronic document property types page.
Save your changes, and close the page.
Enter the seller schema code
To enter the Seller schema code, follow these steps.
- Go to Organization administration > Organizations > Legal entities and select a legal entity.
- Select Electronic document properties from the Action Pane.
- In the Value column, enter the required seller schema code.
Enter the buyer schema codes
To enter the Buyer schema codes, follow these steps.
- Go to Accounts receivable > Customers > All customers.
- Select a specific customer in the list, and then, on the Action Pane, on the Customer tab, in the Properties group, select Electronic document properties.
- In the Value column, enter the required buyer schema code.
Note
Schema codes defined by electronic document property types take priority over the default 0195 schema code.
Set up units of measure
Set up units of measure.
Go to Organization administration > Setup > Units > Units.
Select a unit ID, then select External codes.
On the External codes page, in Overview, in the Code column, enter the unit ID.
In the Standard code column, select the checkbox.
In the Value section, in the Value field, enter the external code from the UNECE Recommendation 20 code list.
Note
If no specific unit of measure applies, the system uses the default value EA.
Configure sales tax codes
- Go to Tax > Indirect taxes > Sales tax > Sales tax codes.
- Select a sales tax code. On the Action Pane, on the Sales tax code tab, in the Sales tax code group, select External codes.
- In the Overview section, create a line for the selected unit. In the External code field, enter the sales tax code from step 2.
- In the Value section, in the Value field, enter an external code that matches one of the Singapore-specific Duty or tax or fee category codes.
Issue electronic invoices
After you complete the required configuration steps, generate and submit electronic invoices for posted invoices: go to Organization administration > Periodic > Electronic documents > Submit electronic documents. Learn more in Submit electronic documents.
Important
In current implementations, the standard submission procedure only generates electronic invoices and stores them in the service. It doesn't submit them. To submit invoices, complete these extra steps.
Follow these steps to submit the generated electronic invoices.
- In the Feature management workspace, confirm that the Export channels for electronic invoicing integration feature is enabled. Learn more in Feature management overview.
- Go to Organization administration > Periodic > Electronic documents > Run submission process in export channels.
- In the Channel field, select the export channel you created, and then select OK.
Check the submission results at Organization administration > Periodic > Electronic documents > Electronic document submission log. Learn more in Work with Electronic document submission log.
Note
Submitted electronic invoices are also available in the Ediwin portal in the Outbound folder and its subfolders, where you can monitor further processing.
Receive incoming electronic invoices
Set more parameters in Microsoft Dynamics 365 Finance to import incoming invoices.
Configure these master data types to match incoming electronic invoices:
- vendors
- products
- units
Follow the steps in Import vendor electronic invoices, starting at Configure vendor data.
Receive electronic invoices
After you complete the configuration, receive incoming electronic invoices in the PEPPOL format.
Note
Review incoming electronic invoices in the Inbound folder and its subfolders in your Ediwin portal.
Receive electronic invoices:
- Go to Organization administration > Periodic > Electronic documents > Receive electronic documents.
- Select OK, and then close the page.
View receipt logs for processed electronic invoices: go to Organization administration > Periodic > Electronic documents > Electronic document receipt log.
View successfully received invoices: go to Accounts payable > Invoices > Pending vendor invoices.