Imports

Import purchase orders into Business Central from Excel or CSV

Turn the order files your suppliers and systems already produce into Business Central purchase orders, headers and lines included.

Purchase orders often arrive as files: a spreadsheet from a procurement portal, a CSV export from a planning tool or a webshop, a list prepared by a colleague in Excel. Business Central has no built-in import for such a file, so the orders are re-keyed by hand, or the file is reshaped to fit Edit in Excel, line by line, order by order.

With Import Data Templates, a key user describes the file once in a template: which column is the vendor, which the item, which the quantity, what marks the start of a new order. From then on, every file with that layout becomes purchase orders in one import, started from the Purchase Orders page itself.

What the file can look like

The file keeps its original layout; the template adapts to it, not the other way round. One row per order line is the usual shape, with the header data repeated on each row or given once: a CSV or Excel export, or the JSON or XML a procurement portal or an API produces. A single file can hold one order or many, also for the same vendor, and the columns can be in any order and under any names, including the supplier's own item numbers.

The sample below is one of the layouts that ship with the app: three orders for three vendors, one row per line, with the Vendor Order No. column telling the import where an order ends and the next begins.

Sample file: PurchaseOrder-MultiDocument.csv

How the import works

  1. Load the template

    The ready-made template for this layout, EX-PO-MULTIDOC, is created from the Template Examples page. For a file of your own, fill in the template with the structure of the file, use Read Structure from File to build it from the column headers, or let Copilot propose it from a sample file and review it before keeping it.

    Import Template card EX-PO-MULTIDOC in Business Central with the mapping lines, Vendor Order No. as the first header field
    The EX-PO-MULTIDOC template: header and line fields mapped to the columns of the file.
  2. Start the import from Purchase Orders

    The import is an action on the Purchase Orders list itself: choose Import Template, pick the template and the file. The check step validates every value the way Business Central would validate it typed in, and lists the errors with the line of the file that caused them, before the orders are created.

    The whole flow: Import Template on the Purchase Orders list, the template, the file, the created orders.
  3. Work with the orders

    When the file passes, the orders are created with their lines, numbered by the number series, exactly as if they had been entered by hand: ready to be reviewed and released, or released automatically by the template. The import history keeps the file, the user and the result, and can refuse a file that was already imported once.

    Business Central message after the import: Created 3 documents. Open them?
    The result of the sample file: three purchase orders.

Beyond the basic file

Real supplier files are rarely clean, and most of what makes them awkward is handled in the template rather than in Excel:

The other three purchase-order examples show these options at work: EX-PO-SIMPLE, EX-PO-FIXEDHDR and EX-PO-ADVANCED, all with their sample files on the examples page.

Questions

Can one file contain orders for several vendors?

Yes. Each order carries its own Buy-from Vendor No.; the Vendor Order No. column separates the orders.

What if the supplier uses its own item numbers?

Map the column to Item Reference No. instead of No.: Business Central resolves the item through the vendor item references. A mapping rule can also translate the codes before validation.

Can the orders be released automatically?

Yes, with the template action that releases the documents at the end of the import, as in the EX-PO-ADVANCED example.

Import Data Templates is available on Microsoft AppSource with a one-month free trial. Licenses are assigned per user in the Microsoft 365 admin center.