Skip to main content

Exporting to Unit4

The Export Process

Once a document is confirmed automatically or manually, the microservice will run the export to ERP and will either leave the document in an EXPORTED or a FAILED EXPORT status.

  • It will also send a text file which contains all of the info / warning messages from the system(you can configure what messages are sent in the extension configuration), this can be used to check if there were any warnings generated. (We are working on a way to make these more visible in the Incoming Invoices Screen).

When the status is EXPORTED the Rossum system will be updated with the transaction number (ERPx) or the EI02 report number (ERPCR/ERP7)

  • Please note with ERPCR/ERP7 EI02 / IMS failures should be appropriately handled in Unit4 as we can not “see” any errors once we send the data over. The API we’re using only allows us to push the request to be run later, not to run the EI02.

To re-process a FAILED EXPORT item, a user will need to manually send the document back to the TO_REVIEW status, from the exported page. This is done by selecting the document(s) and then chosing the "Back to Review status" from the options.

Specific Fields

There are some specific fields which have some additional logic on the export process.

Invoice Date

The system will use the Tax Point Date from rossum where available and then fail over to the Issue Date if no tax point date is available. Failing either date, the system will return '1900-01-01T00:00:00.000'. We recommend that you make either/both Tax Point Date or Issue Date mandatory in Rossum.

AP Line Description

This is based on the setting firstLineAsDescription

Amount fields

Working in combination with ignoreTax somtimes the net amount will be set to the gross and the tax will be set to zero, this is on both header and lines.