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.
Import ER configurations from the repository
To submit electronic documents to the Electronic invoicing service, you need to generate a message in Microsoft Dynamics 365 Finance or Dynamics 365 Supply Chain Management. This message must follow a unified structure that matches the structure of the Electronic reporting (ER) invoice model and metadata (context). Because ER generates the message, you can customize and flexibly adjust its structure.
Before you can submit documents to Electronic invoicing and process responses, you must import ER configurations from the repository and define them in parameters.
Note
Most of the ER configurations mentioned in the following procedure are automatically imported when you import related Globalization features. For more information, see Import features from the repository. If you need to reimport configurations, use the following procedure.
To set up, adjust, or review electronic documents directly in your Finance or Supply Chain Management environment, follow these steps:
In the Globalization Studio workspace, select the Electronic reporting tile.
In the Configuration providers section, select the Microsoft configuration provider, and then select Repositories.
Select the repository of the Dataverse type, and then, on the Action Pane, select Open.
Import the following ER configurations:
- Customer invoice context model
- Invoice model
- Fiscal documents (for Brazilian scenarios, if required)
- Retail channel data (for Saudi Arabian retail-specific scenarios, if required)
- Invoices Communication Model (for Malaysian and Indonesian batch submission scenarios, if required)
- Response message model
- Invoice model mapping
- Fiscal documents mapping (for Brazilian scenarios, if required)
- Advance invoice model mapping (for Polish scenarios, if required)
- Retail fiscal document mapping (for Saudi Arabian retail-specific scenarios, if required)
- Pending vendor invoice model mapping (for Danish responses scenarios, if required)
- Invoices communication model mapping (ID) (for Indonesian batch submission scenarios, if required)
- Consolidated Invoice Model Mapping (MY) (for Malaysian batch submission scenarios, if required)
- Invoice status model mapping (for French lifecycle statuses scenarios, if required)
- AR response context (for French lifecycle statuses scenarios, if required)
- AP response context (for French lifecycle statuses scenarios, if required)
Set up Electronic document parameters
Go to Organization administration > Setup > Electronic document parameters.
On the Electronic document tab, above the Electronic reporting grid, select Add.
Depending on the scenarios that you want to support, enter the following information in the grid, and then save your changes.
Table or view name Document context Electronic document model mapping Features that it's required for CustInvoiceJour Mapping name: Customer invoice context
Configuration: Customer invoice context model
Mapping name: Customer Invoice
Configuration: Invoice model mapping
- Austrian electronic invoices (AT)
- Belgian electronic invoice (BE)
- Danish electronic invoice (DK)
- Egyptian electronic invoice (EG)
- Estonian electronic invoice (EE)
- Finish electronic invoice (FI)
- French Chorus Pro submission (FR)
- German electronic invoice (DE)
- FatturaPA (IT)
- Dutch electronic invoice (NL)
- Norwegian electronic invoice (NO)
- Polish electronic invoice (PL)
- Spanish electronic invoice (ES)
- PEPPOL electronic invoice
- Saudi Arabian electronic invoice (SA)
- Australian electronic invoice (AU)
- New Zealand electronic invoice (NZ)
- Malaysian electronic invoicing (MY)
- Singaporean electronic invoice (SG)
ProjInvoiceJour Mapping name: Project invoice context
Configuration: Customer invoice context model
Mapping name: Project Invoice
Configuration: Invoice model mapping
- Austrian electronic invoices (AT)
- Belgian electronic invoice (BE)
- Danish electronic invoice (DK)
- Egyptian electronic invoice (EG)
- Estonian electronic invoice (EE)
- Finish electronic invoice (FI)
- French Chorus Pro submission (FR)
- German electronic invoice (DE)
- FatturaPA (IT)
- Dutch electronic invoice (NL)
- Norwegian electronic invoice (NO)
- Polish electronic invoice (PL)
- Spanish electronic invoice (ES)
- PEPPOL electronic invoice
- Saudi Arabian electronic invoice (SA)
- Australian electronic invoice (AU)
- New Zealand electronic invoice (NZ)
- Malaysian electronic invoicing (MY)
- Singaporean electronic invoice (SG)
CzCustAdvanceInvoiceTable Mapping name: Advance invoice context
Configuration: Customer invoice context model
Mapping name: Advance invoice model mapping
Configuration: Advance invoice model mapping
Polish electronic invoice (PL) RetailTransactionFiscalTransDocumentView Mapping name: Retail fiscal document context
Configuration: Customer invoice context model
Mapping name: Retail fiscal document
Configuration: Retail fiscal document mapping
Saudi Arabian electronic invoice (SA) VendInvoiceInfoTable Mapping name: Pending vendor invoice context
Configuration: Customer invoice context model
Mapping name: Pending vendor invoice model mapping
Configuration: Pending vendor invoice model mapping
- Danish electronic invoice (DK)
- Chilean electronic invoice (CL)
LedgerJournalTrans Mapping name: Prepayment invoice context
Configuration: Customer invoice context model
Mapping name: Customer prepayments
Configuration: Invoice model mapping
Saudi Arabian Zatca submission (SA) VendInvoiceJour Mapping name: Self invoice context
Configuration: Customer invoice context model
Mapping name: Self invoice
Configuration: Self invoice model mapping
Malaysian electronic invoicing (MY) CustInvoiceJour
ProjInvoiceJour
(In case of batch submission)
Mapping name: Batch submission
Configuration: Customer invoice context model
Mapping name: Invoices communication model mapping (ID)
Configuration: Invoices communication model mapping (ID)
Indonesian electronic invoice (ID) CustInvoiceJour
(In case of batch submission)
Mapping name: Batch submission
Configuration: Customer invoice context model
Mapping name: Consolidated Invoice Model Mapping (MY)
Configuration: Consolidated Invoice Model Mapping (MY)
Malaysian electronic invoicing (MY) LTMCustInvoiceJour Mapping name: Customer invoice context
Configuration: Customer invoice context model
Mapping name: Customer E-Invoice
Configuration: Invoice model mapping LATAM
- Chilean electronic invoice (CL)
- Costa Rican electronic invoice (CR)
- Panama electronic invoice (PA)
- Uruguay electronic invoice (UY)
LTMProjInvoiceJour Mapping name: Project invoice context
Configuration: Customer invoice context model
Mapping name: Project E-Invoice
Configuration: Invoice model mapping LATAM
- Chilean electronic invoice (CL)
- Costa Rican electronic invoice (CR)
- Panama electronic invoice (PA)
- Uruguay electronic invoice (UY)
LTMCustPackingSlipJour Mapping name: Customer Packing Slip context
Configuration: Customer invoice context model
Mapping name: Customer E-Invoice
Configuration: Invoice model mapping LATAM
Chilean electronic invoice (CL) CustInvoiceJournalDomesticB2B_FR Mapping name: Customer invoice context
Configuration: Customer invoice context model (FR)
Mapping name: Customer Invoice
Configuration: Invoice model mapping (FR)
French electronic invoice (FR) ProjInvoiceJournalDomesticB2B_FR Mapping name: Project invoice context
Configuration: Customer invoice context model (FR)
Mapping name: Project Invoice
Configuration: Invoice model mapping (FR)
French electronic invoice (FR) BusinessDocumentApplicationARResponseView Mapping name: Data channel context
Configuration: AR response context
Mapping name: Customer Invoice status
Configuration: Invoice status model mapping
French electronic invoice status (FR) BusinessDocumentApplicationAPResponseView Mapping name: Data channel context
Configuration: AP response context
Mapping name: Vendor Invoice status
Configuration: Invoice status model mapping
French electronic invoice status (FR)
If you derive a configuration from the configuration that's mentioned in the preceding table, define the new configuration.
Note
By default, configured Electronic document parameters apply to all legal entities. To activate a configuration for specific legal entities, enable the Electronic documents configuration per legal entities feature in Feature management. For more information, see Feature management overview.
To set up the rules to process responses from the Electronic Invoicing service, and to update Finance and Supply Chain Management data based on invoices that are processed by the service, set up response types. In most scenarios, this setup is country/region-specific. Therefore, we recommend that you follow the country/region-specific instructions. For more information, see Availability of Electronic Invoicing Service features by country or region.
Create a Key Vault reference
On the Electronic document parameters page, on the Electronic Invoicing tab, on the Key Vault settings FastTab, select Key Vault parameters.
On the Key Vault parameters page, select New to create a Key Vault reference.
In the Name field, enter the name of the Key Vault reference.
In the Description field, enter a description.
In the Key Vault URI field, paste the Key Vault URI from the key vault (
https://<your key vault>.vault.azure.net/). For more information, see Create an Azure Key Vault in the Azure portal.In the Certificates section, select Add.
In the Name field, enter the name of the storage account secret or certificate. This name should match the name of the Key Vault secret that holds the shared access signature (SAS) token of the storage account. For more information, see Create an Azure storage account in the Azure portal.
In the Description field, enter a description.
In the Type field, select either Secret or Certificate, depending on what you're configuring.
Note
In some scenarios, you must use public certificates that have the .cer file name extension. However, Key Vault doesn't support importing and storing certificates of this type as Key Vault certificates. In these scenarios, save the .cer file as a Base-64-encoded X.509 (.CER) string. Then, in a Key Vault secret, store the string that appears between the BEGIN CERTIFICATE line and the END CERTIFICATE line in the file. In the service environment, you should still create a reference to the Key Vault record and set the Type field to Certificate.
Alternatively, use the following PowerShell script to generate a Base-64 string of the .cer certificate file.
$FilePath = '' $Cer = New-Object -TypeName System.Security.Cryptography.X509Certificates.X509Certificate2($FilePath) $BinCert = $Cer.GetRawCertData() $Base64Cert = [System.Convert]::ToBase64String($BinCert) echo $Base64CertIf your specific scenarios require a chain of certificates to apply digital signatures or establish a secure (Secure Sockets Layer [SSL]) connection to external web services, create a chain of certificates where the certificates are in the following order: Root certificates > Intermediate certificates > End-user certificates. Root certificate authorities (CAs) are a trusted source of certificates. Intermediate CA certificates are bridges that link the end-user certificates to the root CA certificates. To create and set up a chain of certificates, follow these steps:
- On the Action Pane, select Chain of certificates.
- Select New to create a chain of certificates.
- In the Name field, enter the name of the chain of certificates.
- In the Description field, enter a description.
- In the Certificates section, select Add to add a certificate to the chain.
- Use the Up or Down button to change the position of the certificate in the chain. Keep the CA root certificate at the top of the list and the end-user certificate at the bottom.
- Save the data, and close the Chain of certificates page.
Save the data, and close the Key Vault parameters page.
In the Key Vault field, select the key vault that you created in previous steps.
In the Storage SAS token secret field, select the name of the storage account secret that must be used to authenticate access to the storage account.
Configure number sequences
If your scenarios require number sequences, such as in file names, use number sequences that work across globalization features or number sequences for a specific globalization feature. After you define a number sequence, use it in variables and processing pipelines. To track the use of a number sequence, check the Current Value field and the selected In use checkbox on the Number sequences FastTab on the Electronic Invoicing tab of the Electronic document parameters page.
To create a number sequence, select New on the Number sequences FastTab. Then enter a name and description.
To delete a number sequence, select Delete.
Inactivate legacy Electronic invoicing functionality
To deactivate old (legacy) ER functionality for some features, and to activate additional functionality in Finance and Supply Chain Management for some country/region-specific scenarios, enable the corresponding feature on the Features tab of the Electronic document parameters page.
When you enable a feature in the list, the legacy functionality is deactivated for the corresponding country or region and feature name.