Gets a invoice by id.
OAuth Grant type use on OpenAPI subscriptions, Private JWT
Client ID header.
Customer unique uuid.
Invoice unique internal id.
Get invoice response.
{
"id": "1dfcb8b2-45e5-47ce-ada2-273d2517cfda",
"multiInvoicePaymentLinkId": "3fa0c58f-4d0d-4e9d-a768-96961009597b",
"invoicePrimaryIdentifier": "ID1",
"invoiceSecondaryIdentifier": "ID2",
"issuerName": "FullNameCIF12345",
"issueDatetime": "2025-07-01",
"dueDatetime": "2025-08-01",
"collectionId": "1dfcb8b2-45e5-47ce-ada2-273d2517cfdb",
"expectedAmount": 1.99,
"expectedCurrencyCode": "EUR",
"collectedAmount": 0,
"selected": true,
"permanentlyPaid": false,
"createdAt": "2026-01-30T10:49:48.259Z",
"updatedAt": "2026-01-30T10:49:48.259Z",
"_links": {
"self": {
"href": "https://onetrade.dev.api.pagonxt.com/em_cs_collections/customers/pagonxt_esESG19966464/invoices/1dfcb8b2-45e5-47ce-ada2-273d2517cfda"
}
}
}Date and time when the entry was created.
Date and time when the entry was updated.
A Universally Unique Identifier (UUID) is a 128-bit label used to uniquely identify information in computer systems without a central registration authority. Standardized by RFC 9562 (formerly RFC 4122), UUIDs are usually represented as 32 hexadecimal digits separated by hyphens into five groups (e.g., 550e8400-e29b-41d4-a716-446655440000). They ensure extremely low collision probability, making them ideal for distributed systems.
Parent payment link which the invoice is associated to.
Unique identifier of the invoice in client application.
Secondary identifier of the invoice in client application.
Invoice issue datetime.
Invoice due datetime.
Collection generated by this invoice.
A 32 bit floating point number.
The ISO4217 currency code of the amount expected for this specific collection.
A 32 bit floating point number. Reflects the incoming payment amount that is reconciled to this specific multi invoice collection.
The ISO4217 currency code of the incoming payment amount that is reconciled to this specific collection.
Selected when attempt to pay.
Invoice is permanently paid.
Invoice issuer name.
Single links response object.
Self links response object.
Self response link href.
Indicates that the server would not process the request due to something the server considered to be a client error.
{
"errors": [
{
"code": "BAD_REQUEST",
"message": "Bad Request",
"level": "FATAL",
"description": "Description of the Bad Request error"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that a request was not successful because it lacks valid authentication credentials for the requested resource.
{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "Unauthorized",
"level": "FATAL",
"description": "Description of the Unauthorized error"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that the server understood the request but refused to process it.
{
"errors": [
{
"code": "FORBIDDEN",
"message": "Forbidden",
"level": "FATAL",
"description": "Description of the Forbidden error"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that the server cannot find the requested resource.
{
"errors": [
{
"code": "NOT_FOUND",
"message": "Not Found",
"level": "FATAL",
"description": "Description of the Not Found error"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Not Acceptable The Accept header does not specifically contain one of the allowable types. Missing Accept header, usually 'application/json'.
{
"errors": [
{
"code": "NOT_ACCEPTABLE",
"message": "Not Acceptable",
"level": "FATAL",
"description": "Description of the Not Acceptable error"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Request Entity Too Large Most web servers have a limit of 8192 bytes (8 KB). The server will close the connection to prevent the client from continuing the request.
{
"errors": [
{
"code": "ENTITY_TOO_LARGE",
"message": "Request Entity Too Large",
"level": "FATAL",
"description": "Description of the Request Entity Too Large error"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that a URI requested by the client was longer than the server is willing to interpret.
{
"errors": [
{
"code": "URI_TOO_LONG",
"level": "FATAL",
"message": "URI Too Long",
"description": "URI Too Long description"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that the server understood the content type of the request content, and the syntax of the request content was correct, but it was unable to process the contained instructions.
{
"errors": [
{
"code": "UNPROCESSABLE_ENTITY",
"level": "FATAL",
"message": "Unprocessable Entity",
"description": "Unprocessable Entity description"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates the client has sent too many requests in a given amount of time.
{
"errors": [
{
"code": "TOO_MANY_REQUESTS",
"level": "ERROR",
"message": "Too Many Requests",
"description": "Too Many Requests description"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"level": "FATAL",
"message": "Internal server error",
"description": "Internal server error description"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that the server is not ready to handle the request.
{
"errors": [
{
"code": "SERVICE_UNAVAILABLE",
"level": "ERROR",
"message": "Service unavailable",
"description": "Service unavailable error description"
}
]
}{
"errors": [
{
"code": "fail",
"level": "ERROR",
"message": "Health check failed",
"description": "Health check failed"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Indicates that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server in order to complete the request.
{
"errors": [
{
"code": "GATEWAY_TIMEOUT",
"level": "ERROR",
"message": "Gateway timeout",
"description": "Gateway timeout error description"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.
Error used by efault.
{
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"level": "FATAL",
"message": "Error message",
"description": "Error description"
}
]
}Data structure containing the details for errors
Array of response errors.
Data structure containing the error details.
Unique alphanumeric human readable error code.
Brief summary of the reported issue.
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING.
Detailed description of the reported issue.