BeyondERP.Newsletter
Menu

Setup step on the Import vendor invoices page · Accounts payable

Import electronic vendor invoices in batch

Bring PEPPOL or XRechnung vendor invoices into pending vendor invoices.

Used by
Accounts payable clerk, Accounts payable manager, Landed cost agent and 4 more roles
Business process
Import supplier invoices from a third-party solution in Dynamics 365 Finance
Menu item
Action:VendInvoiceImport_W
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “A PEPPOL file becomes a pending invoice”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isThe Accounts payable periodic task that imports vendor electronic invoices in PEPPOL formats, including the German XRechnung format, through Electronic reporting and creates them as pending vendor invoices.
What you do hereUse this periodic task to bring incoming electronic vendor invoices into Finance as pending vendor invoices, identifying vendors, products and purchase orders from the file data.
ExampleFor example, BEAT's German entity receives 40 XRechnung files a day in a SharePoint folder. The batch import matches each file to the vendor by its tax exempt number and to the purchase order by the order reference, and 38 invoices appear in Pending vendor invoices; the 2 failed files move to the failed folder.
Import vendor invoices page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhen electronic vendor invoices in PEPPOL or XRechnung format arrive in the source folder.
How oftenOn demand or on a recurring batch schedule while invoices arrive.
Batch settingsSchedule it as a recurring batch job reading the SharePoint source so new invoice files are picked up.
What the output showsPending vendor invoices matched to vendors, products and purchase orders. A file that failed usually has a vendor, product or unit that couldn't be matched; it moves to the failed-files location if one is set.

Source: Microsoft Learn

Setup steps on this page

Import electronic vendor invoices in batch

Bring PEPPOL or XRechnung vendor invoices into pending vendor invoices.

Steps from Microsoft

  1. Go to Accounts payable > Periodic tasks > Import vendor invoices.
  2. On Electronic report parameters, in the File source section, select the Source settings for batch import, or pick a single file when prompted.
  3. Leave the Description field empty.
  4. Make sure vendors carry the tax exempt number used in the files and products have external item numbers; otherwise the import fails.
  5. Select OK, then open Pending vendor invoices to review the imported invoices.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Source settingsThe source location of the invoice files for batch import.Microsoft Learn

Common errors and fixes

MessageWhat to do
The import fails because no vendor is foundVendors are identified by their tax exempt number. Enter the vendor's tax registration number in Tax exempt number on the Invoice and delivery FastTab. Microsoft Learn
The import fails because a product isn't foundProducts are identified by external item numbers. Add an external item description for the vendor on the released product, or set up a non-stock DEFAULT_ITEM product. Microsoft Learn
Imported invoices have no miscellaneous chargesThe import doesn't support miscellaneous charges, header discounts or procurement categories. Add them on the pending invoice. Microsoft Learn
Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Import electronic vendor invoices in batchSet up a SharePoint document type and an Electronic reporting source with Vendor Invoice Import, define the folders for imported, warning and failed files, and run the import as a recurring batch job.With a source defined, the import runs in the background and moves each file to the folder for its result; without one the system asks for a single file.How should electronic vendor invoices reach BEAT?Starting imports before vendors have a tax exempt number and products have external item numbers: those invoices fail.Test: A PEPPOL file becomes a pending invoice

Feature management and licence

Licence or add-inNeeds the Invoice model, Vendor Invoice Mapping to Destination and Vendor Invoice Import Electronic reporting configurations.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: invoices are imported into the legal entity you run the task in, and vendors are matched within it. Microsoft Learn
Can it be undoneReversible: Imported invoices are pending; delete them before posting if the import was wrong.
If you change it laterCreates pending vendor invoices from incoming electronic invoice files and moves the processed files. Microsoft Learn
Technical architect

6Technical

Menu itemAction:VendInvoiceImport_W Checked in Dynamics 365
Who can open it

7 security roles. Select a role to see its duties and privileges.

  • RoleAccounts payable clerkVendInvoiceAccountsPayableClerk
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
  • RoleAccounts payable managerVendInvoiceAccountsPayableManager
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
  • RoleLanded cost agentITMAgent
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
  • RoleRental coordinator agentRentalCoordinatorAgent
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
  • RoleRental managerRentalManager
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
  • RoleRental sales managerRentalSalesManager
    • DutyMaintain vendor invoicesVendInvoiceVendorInvoicesMaintain
      • PrivilegeImport vendor invoicesVendorInvoiceImportMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itAccounts payable manager VendInvoiceAccountsPayableManagerAccounts payable clerk VendInvoiceAccountsPayableClerkRental manager RentalManagerRental coordinator agent RentalCoordinatorAgentLanded cost agent ITMAgentGive people one of these roles. On this system, 7 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=Action:VendInvoiceImport_W
Data migrationLoad order: Import vendor invoices has no data entity in Data management, so it can't be loaded from a file or a configuration template. It imports incoming electronic invoice files, so there is nothing to migrate.Microsoft Learn
Everyone

8Sources

To cite this step: AP-PER-070, Import electronic vendor invoices in batch. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/AP-PER-070