CONNECTED INFRASTRUCTURE · ERP → COMPLIANCE → CONNECTED. Meet Docnaut ↗
← Back to Blog

DOCUMENT INTEGRATION GUIDE

ERP to E-Invoicing Networks: Mapping, Validation and Routing Explained

Published:

Mapping determines what source data means in the destination document. Validation checks the selected rules. Routing determines where the document goes. These responsibilities work together, but success at one stage does not prove success at the next.

Start with an agreed source document

Identify the ERP event that produces the invoice and the interface that exports it. Keep a stable invoice reference and distinguish the issued document from a draft, a corrected version or a credit note.

Illustrative example: invoice DEMO-001 contains an issue date, currency, supplier and customer details, lines and totals. This example describes data responsibilities; it is not a complete valid invoice or a Docnaut API payload.

Mapping preserves meaning, not just field names

A mapping connects source fields to destination business terms. It must preserve the intended meaning, including date interpretation, currency, identifiers and line calculations. Renaming a field alone does not establish correctness.

For example, an internal customer account code should not automatically become the recipient’s electronic address. Confirm its identifier scheme and value separately. Agree who owns missing or ambiguous source data instead of inventing values to pass a check.

Validation checks a defined set of requirements

Separate file structure checks from business-rule checks. For a Peppol BIS Billing document, identify the applicable specification, syntax and rule release. Retain the validation result together with the document version that was checked.

A structurally valid file may still fail a business rule. Passing the configured checks does not prove that the business content or tax treatment is correct, that the recipient accepted it or that the invoice has been paid.

Routing selects the destination and exchange process

Determine the legal entity, recipient identity, document type and required exchange process before choosing the route. A supported destination and the recipient’s receiving capability must be confirmed independently of file validation.

For a Peppol flow, ask your provider to confirm the participant identifier and supported document/process combination. Other networks or tax platforms can require different interfaces and steps. Do not assume a route from the customer’s country alone.

Connect status evidence back to the source

Keep the ERP invoice reference connected to the integration reference, submission time, validation result and available transport evidence. Distinguish local processing, network receipt and any recipient-side business response.

Assign an owner for exceptions. Correct the source data or mapping at the responsible stage, then coordinate any retry after checking for duplicate processing. The example shows a design pattern, not guaranteed statuses or features for every destination.

Illustrative mapping: three fields, three distinct meanings

Partial UBL illustration only. Namespace declarations, other required fields and all validation rules are omitted. Confirm the applicable specification and release before implementation.

Illustrative mapping: three fields, three distinct meanings
Source informationIllustrative UBL destinationCheck before mapping
Issued invoice referencecbc:IDUse the invoice reference, not the customer account code.
Invoice issue datecbc:IssueDateUse the issue date and the required date representation.
Invoice currencycbc:DocumentCurrencyCodeUse the invoice currency, not a display symbol or exchange rate.

DOCNAUT

Design the full document journey

Docnaut brings transformation, validation, routing and monitoring into a shared integration layer. Bring an anonymized source example and your destination requirements to scope the interfaces and supported flows.

Official technical references

EN