Invoice Responses
A Peppol Invoice Response (a UBL ApplicationResponse, OpenPeppol BIS Invoice Response
3.0) is how a buyer tells a supplier what happened to an invoice: received, accepted,
rejected with a reason, queried, or paid. It travels over the Peppol network in the opposite
direction to the invoice.
There are two directions, and GoRoute supports one of them:
| Direction | Supported |
|---|---|
| Receiving your buyers' Invoice Responses about invoices you send | Yes |
| Sending an Invoice Response about an invoice you received | Not yet: see What to do instead |
Receiving Invoice Responses on invoices you sendโ
1. Publish the document typeโ
A buyer's access point can only send you an Invoice Response if your Peppol registration says you accept one. It is not published by default. Add it with the register call, naming every document type you want published (the list replaces what is there):
curl -X POST "https://app.goroute.ai/peppol-api/api/v1/participants/{participant_id}/register" \
-H "X-API-Key: your_api_key" -H "Content-Type: application/json" \
-d '{"document_types": [
"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:peppol:pint:billing-1@aunz-1::2.1",
"urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:peppol:pint:billing-1@aunz-1::2.1",
"urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2::ApplicationResponse##urn:fdc:peppol.eu:poacc:trns:invoice_response:3::2.1"
]}'
GET /peppol/doc-types lists the document types available for your country. The
Invoice Response is "Peppol BIS Invoice Response 3.0". Or ask us and we publish it for you.
2. What happens when one arrivesโ
Each Invoice Response is stored as a received transaction (it is not an invoice to pay,
so it does not appear in /api/v1/inbound-documents), and GoRoute joins it to the invoice
it answers: the invoice you sent with the referenced invoice number (and issue date, when
the response gives one), preferring the one you sent to that buyer. An invoice from another
organisation is never matched.
On GET /api/v1/transactions/{transaction_id} for your invoice, invoice_response
holds the buyer's latest answer and the full history:
"invoice_response": {
"response_code": "RE",
"status": "rejected",
"meaning": "Rejected",
"reason_code": "PRI",
"reason": "Unit price on line 1 does not match the purchase order.",
"statuses": [
{"kind": "reason", "code": "PRI", "meaning": "Prices incorrect", "text": "Unit price on line 1 does not match the purchase order.", "conditions": null},
{"kind": "action", "code": "NIN", "meaning": "Issue new invoice", "text": "Issue new invoice", "conditions": null}
],
"response_id": "IR-INV-1001-2",
"responder": "0088:9429037784669",
"received_at": "2026-10-30T01:00:02+00:00",
"response_transaction_id": "8f0cโฆ",
"history": [ { "response_code": "AB", "status": "acknowledged", โฆ }, { "response_code": "RE", โฆ } ]
}
On the received response itself, invoice_response shows what it says and
answers_transaction_id, the invoice it answers. A response that answers nothing you sent
carries answers_transaction_id: null and unlinked_reason (unmatched, ambiguous,
no_reference or unreadable). invoice_response is left out of the answer when there is
none.
The codes are OpenPeppol's:
response_code | status | Meaning |
|---|---|---|
AB | acknowledged | The buyer's system received the invoice |
IP | in_process | Being processed |
UQ | under_query | The buyer has a question |
CA | conditionally_accepted | Accepted with conditions |
RE | rejected | Rejected: read reason_code, reason and statuses |
AP | accepted | Accepted |
PD | paid | Paid |
statuses[].kind is reason (OpenPeppol Status Clarification Reason: REF, LEG,
PRI, QTY, ITM, PAY, โฆ) or action (Status Clarification Action: NIN issue a new
invoice, CNF credit fully, CNP credit partially, PIN provide information, โฆ).
3. The webhooksโ
When a response is joined to your invoice you get invoice_response.received, then the
response.* event for its code (response.accepted, response.rejected,
response.in_process, response.conditionally_accepted, response.under_query,
response.paid, or response.received for AB), both naming your invoice in
data.transaction_id, with data.kind = invoice_response. The received response also
raises transaction.received, like any document that arrives. See
Response Events.
4. Test it in the sandboxโ
Send an invoice to 9999:test-invoice-response-accepted or
9999:test-invoice-response-rejected. A few seconds after delivery the sandbox buyer
answers: a Message Level Status AP, then AB, then AP or a rejection with a reason. See
Test Identifiers.
Message Level Statusโ
A Message Level Status (MLS) is also a UBL ApplicationResponse, but it is a different
thing from an Invoice Response: it is sent by the receiving access point and says whether
the message was received and passed its checks, not what the buyer decided about the
invoice.
Where GoRoute records the MLS, it does so on the transaction of the document you sent:
mls_status is its code (AP received and accepted, AB received, RE rejected), mls
gives the detail (mls_id, description, received_at), and the mls.received webhook is
sent beside the matching response.* event.
An access point that does not send an MLS leaves both empty.
Read the answer from those fields and that webhook, not from the MLS document:
- An MLS that comes back over the Peppol network is addressed to GoRoute's service-provider identity, and GoRoute files the document under its own organisation.
GET /api/v1/transactions/{transaction_id}/mls?leg=receivedlooks the document up inside your organisation, so it cannot return it. Before an answer arrives it answers 404MLS_NOT_AVAILABLE; once one has arrived it answers 404DOCUMENT_NOT_STORED.- What the answer says is on the transaction:
mls_status, themlsdetail, and themls.receivedwebhook.
On the test service, the sandbox buyers in step 4 file their MLS under your organisation, so the same call returns the document for them. That is a property of the sandbox only: do not build on it for real buyers. The same warning is in Tracking Status.
GoRoute asks for and records the MLS on any document you send, whatever the country, on the
test service (app-test.goroute.ai) and on production (app.goroute.ai). Every send asks the
receiving access point for an MLS whatever the outcome, so you see AP as well as RE. An
access point that has not implemented MLS yet sends none, and the transaction keeps its
delivery status.
Documents you receive are checked against the Peppol rules before they are handed to you, and the sending access point gets an MLS for each one: see What the Peppol MLS means for your invoice. The sandbox responders in step 4 run on the test service.
Oman keeps its own MLS flow, described below.
In the Oman flowโ
In Oman the MLS is part of the tax-reporting flow, and there are more legs:
| The MLS you want | The call |
|---|---|
| The one GoRoute sent on your behalf, acknowledging a document that arrived for you | GET /api/v1/transactions/{transaction_id}/mls?leg=sent |
| The buyer's accept or reject of an invoice you sent | GET /api/v1/oman/transactions/{transaction_id}/mls?leg=received |
| The Oman Tax Authority's answer on your invoice's Tax Data Document | GET /api/v1/oman/transactions/{transaction_id}/mls?leg=authority |
All return the UBL ApplicationResponse XML and need an API key with the
transactions:read permission.
leg=received does not mean nobody answeredFor any invoice you send, GET /api/v1/transactions/{transaction_id}/mls?leg=received
cannot return the buyer's answer when it comes over the Peppol network: the answer is
addressed to GoRoute's service-provider identity and filed under GoRoute's organisation, so
the call answers 404, whether the buyer has answered or not. Read the answer from
mls_status and the mls.received webhook (above).
For an invoice in the Oman flow, use the Oman call for received and authority.
The full account of the Oman calls is in
Fetching an MLS document in the Oman
guide. Ask GET /api/v1/transactions/{transaction_id}/reporting first to see which legs
exist.
Status events for invoices you sentโ
In the Oman flow, the buyer's access point addresses its MLS to GoRoute's Service Provider
identity (0242:000991), not to you. GoRoute matches it to your invoice by the message ID it
quotes and sends the events to the organisation that owns the invoice, naming your
invoice: mls.received, and beside it the response.* event for the MLS code
(response.accepted for AP, response.rejected for RE, response.received for any other
code). On an Omani invoice, mls_status shows the buyer's answer; the mls detail object is
not filled in.
A buyer's MLS is not the Tax Authority's verdict on your invoice's tax report: that arrives as
tdd.cleared or tdd.rejected. See Response Events
for the payloads, and subscribe the same way as to any other event: see
Webhook Setup. These are things you are told about,
not things you can send.
Sending an Invoice Responseโ
GoRoute does not currently offer an API for sending an Invoice Response about an invoice you received. If you want to tell a supplier that you have accepted, rejected or queried its invoice, there is no GoRoute endpoint that sends that message over the Peppol network for you today.
Earlier revisions published a call for sending an Invoice Response, with a request format and a set of status codes to send. None of it was ever built, and any integration written against it will fail.
What to do insteadโ
If you need to accept, reject or query an invoice you have received, handle it outside the Peppol network for now:
- Record the decision in your own system. Your accounts payable workflow is the source of truth for whether an invoice is approved, queried or paid. See Processing Documents for the pipeline.
- Contact the supplier directly โ email or your existing supplier portal โ when you need to reject an invoice or ask about it. Give the invoice number and the specific reason, so the supplier can issue a credit note or a corrected invoice.
- Ask the supplier for a credit note where an invoice is wrong. A credit note is a real Peppol document, it travels the network normally, and GoRoute both sends and receives it. That is the supported way to correct an invoice that has already been exchanged.
If you need thisโ
Sending Invoice Responses is not published on a roadmap, and this page does not promise it. If sending Invoice Responses over Peppol is a requirement for you โ particularly if it is a regulatory requirement in a market you operate in โ tell us, through Support, and say which market and which profile you need. That is the useful signal, and it is more use to us than a guess.
Next Stepsโ
- Accounts Payable โ received invoices as draft bills in Odoo
- Processing Documents
- Webhook Setup
- Best Practices