What makes an invoice a structured e-invoice
A structured e-invoice represents amounts, parties, tax information and line items in a format another system can read and validate. Use the same term for the data file and its purpose throughout the project. A PDF or email may provide a readable copy, while the recipient or authority may require a different file or delivery route for legal acceptance.
OASIS Universal Business Language provides standardized documents that include an invoice and a credit note. Peppol International Billing describes a common model on which particular profiles can be based. A network or authority can still specify a format, a profile, a version and business rules of its own. Check all four before writing a field map.
Trace one invoice from issue to receipt
Draw the route before choosing the connector. Some systems require clearance before issuance. Others receive data when or after the invoice is sent to the buyer. A network may use one provider for the seller and another for the buyer. An authority can be a separate recipient or part of the delivery workflow. The OECD's guidance on digital continuous transactional reporting describes the role of invoice and transaction reporting and why programs differ.
A structured invoice from order to accounting record
- CreateThe supplier's billing system creates the invoice and assigns the internal reference
- ValidateThe ERP or connector checks the required fields, codes, and totals
- Submit or deliverThe system follows the approved route and sequence for this transaction
- Record responsesThe system stores receipt, rejection, clearance, or buyer response as applicable
- ReconcileFinance matches the invoice and its outcome to the ledger and resolves exceptions
Write down which party sends each message and who can see the response. If an invoice passes the format check, that alone does not establish that it reached the buyer or was accepted by an authority.
Confirm the entities, transactions and dates in scope
Create a row for each legal entity and sales or purchase channel. Check which requirements apply to business, government, consumer, and cross-border transactions. Determine whether thresholds, exemptions, phased dates, provider approval, or buyer registration affect the route. Confirm your conclusions with the authority or a qualified advisor and save the current specification that supports each decision.
Plan backward from the date an entity must be ready
- Record which entities, counterparties and transactions are covered
- Record the effective dates, format, provider, and receiving obligations
- Register each entity and obtain test credentials and identifiers
- Run full sales, purchase, correction, and exception scenarios
- Switch issuance when finance accepts the evidence, with support and contingency procedures ready
Check what must happen when the buyer cannot yet receive through the chosen route or when the service is unavailable. Write down the permitted alternatives and the time allowed to submit later, if any. Avoid assuming that a PDF is a legally sufficient fallback.
Map the fields the ERP must produce
Start with a table that lists the required field, its ERP source, the rule that applies, and the owner who can correct it. Common fields include invoice identifier and issue date, seller and buyer identities and addresses, currency, line quantities and units, price, adjustments, tax categories and totals. Some profiles also require purchase order references, payment terms, or the identifiers of specific receiving endpoints.
Check which amounts use the invoice currency and whether any tax amounts also need an accounting currency. Define who sets any applicable exchange rate and date. Test quantity discounts, document-level allowances, tax breakdowns, and rounding using the recipient's validation rules. Peppol BIS Billing illustrates the types of checks a profile can apply. Confirm the exact formula and code lists for your route.
Clean the source data before you test the connector
Finance, sales, and procurement should review the same real transaction scenarios. Agree the system of record for each value and how a correction to master data reaches billing.
Master data checks before integration testing
- Seller recordsEvery entity has the identifiers, addresses, and sender configuration it is required to use
- Buyer recordsRequired identifiers and receiving endpoints are present or have a documented exception
- AddressesPostal, locality, and regional fields match the required structure
- Units of measureSales units map to accepted codes without changing quantities
- Tax categoriesFinance has checked rates, exemptions, and required reasons
- Transaction rulesEach entity can identify the type, route, and applicable corrections for each scenario
Watch for values that staff can see on a printed invoice but are unavailable in structured fields. If staff type an essential number into a note, fix how it is captured before relying on the integration.
Choose the integration pattern
A supported connector can be appropriate when one ERP creates all invoices and receives the required status messages. An external gateway or middleware can make sense when several systems issue invoices or different entities must use different profiles. A manual portal may suit permitted low-volume use if finance can reconcile what people enter with the ERP.
Which pattern fits the invoicing workflow?
Can one supported connector send, receive, and handle corrections for your exact setup?
- YesTest the standard connector on your real data before adding custom work
- Several systems or profilesConsider a shared integration layer with a separate mapping for each profile
- A small number of permitted manual transactionsKeep manual entries traceable to the accounting record
Our platform readiness guide explains how to verify sending and receiving for your software version. Confirm what your supplier supports in writing and ask for a demonstration with a representative type of transaction.
Receive invoices and manage status messages
Decide how purchase invoices enter accounts payable. Match the seller, legal entity, purchase order, and currency to existing records. Route a missing order or unclear tax code for review. Keep the source file and reference where required. Check that a retry or a duplicate submission does not create a second payable.
Distinguish the ERP's posting status from the technical receipt, validation result, clearance result if applicable, and buyer's acceptance or dispute. Set alerts for invoices that are rejected or remain without an expected response. An operator needs the original invoice, the error, and the next permitted action in one place.
For a timeout, check the receiving system for the original submission before trying again. Use a stable message key or the connector's documented idempotency mechanism when available. Reconcile accepted messages and their totals with the ledger on a schedule finance can operate.
Handle credit notes and corrections
Confirm which fields may change before an invoice is issued and what the applicable rules require after issuance. A credit note or replacement may need to reference the original invoice. Preserve the issued file and the chain of changes. Ask finance to confirm whether each correction should be posted as a new transaction or reversal.
Test partial credits, tax corrections, cancellations, returns, discounts, exports, reverse charges, and transactions in another currency where they apply. For each scenario, show the ERP posting, the transmitted message, the receipt or status, and the accounting outcome. Check what happens when the receiving system rejects the correction.
Test, reconcile and go live
Test outbound and inbound messages with both successful and rejected data. Run a comparison against ordinary invoicing before cutover, without submitting duplicate live invoices. Compare counts, taxable and tax totals by entity and currency, credit notes, and exceptions that still need investigation. Involve actual reviewers so the team knows what to do when a purchase invoice is unmatched or a submission times out.
Agree a date and written conditions for switching production traffic. Keep a contingency plan that conforms to the rules for issuing and reporting invoices. Once a valid document has been sent, switching off a connector does not undo it. Reconcile transactions written during a rollback or service interruption before resuming submissions.
Agree who runs the process
Give finance ownership of classification and accounting rules. Give the integration team ownership of mappings, delivery, monitoring, and recoverable failures. Identify who handles rejected invoices and who communicates with the provider or authority. Confirm record retention and how to retrieve the original file, responses, corrections, and accounting trail.
Use this guide to scope implementation. Confirm legal obligations with the relevant authority or a qualified advisor. If you need to connect several systems or bring invoice statuses back into the ERP, see our API and systems integration work.
Questions buyers ask
Is emailing a PDF invoice the same as e-invoicing?
A PDF can be read by a person, but a structured e-invoice supplies invoice fields under a documented schema so the receiving system can validate and process them. Some formats pair a PDF with structured data. Check whether your buyer or the applicable program accepts that format.
Does every invoicing program use the same network and format?
No. Some use an authority portal or clearance interface. Others use provider networks, direct buyer exchange, or separate reporting. A standard can also have different versions and profiles. Confirm the exact specification, delivery route and legal acceptance conditions before you choose a connector.
Can we use our existing ERP?
Often you can keep the ERP if it can produce the required data, receive the expected responses, and link them to the accounting records. Verify the actual version, legal entities, transaction types, and settlement and correction workflows in a test environment.
What if an accepted invoice contains an error?
Check the applicable rules for correction and keep the original record. Many flows use a linked credit note or replacement invoice. Confirm whether the authority or network expects another message, what references it requires, and how your accounting system should record the correction.