Using custom fields in Dynamics 365 for Finance and Operations

When you configure a recurring data job in Dynamics 365, you import a ZIP file that contains standard fields required by the integration. If your solution uses additional custom header fields or line fields that you have created in Dynamics 365, you must modify the contents of the default ZIP file to include those fields and use the modified ZIP file instead.

Modifying the default ZIP file

To modify the default ZIP file:

  1. Download the appropriate ZIP file and extract its contents.
  2. Open Vendor invoice header.xml in a text editor to specify any custom header fields your solution required. Similarly, you can open Vendor invoice line.xml to specify custom line-item fields.
  3. Add your custom header field to the VENDORINVOICEHEADERENTITY element as demonstrated in the example below, where <MYCUSTOMFIELD/> represents a custom field that you have already specified in Dynamics 365.
    <?xml version="1.0" encoding="utf-8"?>
  4. Save your changes and complete the procedure for creating a recurring data job.