AP accept / reject (MLR)
Message Level Response (MLR) is used to acknowledge or reject an incoming invoice at the Peppol network level.
Send MLR (accept or reject)
| Property | Value |
|---|---|
| Endpoint | /peppol/send-mlr |
| Method | POST |
| Authorization | Bearer {token} |
{
"companyId": "uuid",
"invoiceId": "uuid",
"responseCode": "AP",
"description": "Invoice accepted"
}
| Field | Type | Required | Description |
|---|---|---|---|
companyId | UUID | Yes | Receiving company ID |
invoiceId | UUID | Yes | Invoice to respond to |
responseCode | String | Yes | AP = Accepted, RE = Rejected |
description | String | No | Reason |
| Code | Description |
|---|---|
200 | MLR sent successfully |
400 | Invalid request |
500 | Peppol network error |
Search MLR history
| Property | Value |
|---|---|
| Endpoint | /peppol/search-mlr |
| Method | GET |
| Authorization | Bearer {token} |
Query parameters: companyId (required), documentId, invoiceId, fromDate, toDate
Get MLR list for invoice
| Property | Value |
|---|---|
| Endpoint | /peppol/invoice-mls-list |
| Method | GET |
| Authorization | Bearer {token} |
Query parameters: companyId, invoiceId
Get Peppol send details
| Property | Value |
|---|---|
| Endpoint | /peppol/send-details/:invoiceId |
| Method | GET |
| Authorization | Bearer {token} |
Query parameters: companyId