Get invoice details
GET https://pos.paysera.com/epapi/v1/invoices/{uuid}
Retrieve detailed information about a specific invoice by its UUID.
The response includes all invoice line items, customer information, payment terms, and totals.
Authorization​
This endpoint requires MAC (Message Authentication Code) authentication.
Authorization Header Format:
Authorization: MAC id="CLIENT_ID", ts="TIMESTAMP", nonce="RANDOM_STRING", mac="MAC_HASH", ext="body_hash=BODY_HASH"
Example:
Authorization: MAC id="a9b8c7d6e5f4g3h2", ts="1234567890", nonce="xyz123abc456def", mac="dGhpcyBpcyBhIHJhbmRvbSBtYWMgaGFzaCB2YWx1ZQ==", ext="body_hash=cmFuZG9tQm9keUhhc2hWYWx1ZQ%3D%3D"
For more details, see the Authentication section.
Parameters​
Path Parameters​
| Name | Type | Required | Description |
|---|---|---|---|
uuid | string | ✓ | Invoice UUID |
Example​
Request​
GET https://pos.paysera.com/epapi/v1/invoices/{uuid}
Authorization: MAC id="CLIENT_ID", ts="TIMESTAMP", nonce="RANDOM_STRING", mac="MAC_HASH"
Response​
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"number": "001",
"prefix": "INV",
"fullNumber": "INV-001",
"totalAmount": 5499,
"vatAmount": 952,
"currency": "EUR",
"status": "paid",
"createdAt": "2024-11-04T10:15:30Z",
"updatedAt": "2024-11-04T10:20:45Z",
"dueDate": "2024-11-14T23:59:59Z",
"customer": {
"name": "Jane Smith",
"email": "customer@example.com",
"phone": "+37060012345",
"address": "Main Street 123, Vilnius, Lithuania"
},
"lineItems": [
{
"description": "Wireless Mouse",
"quantity": 1,
"unitPrice": 2999,
"totalPrice": 2999,
"vatRate": 21,
"vatAmount": 519
},
{
"description": "USB Cable",
"quantity": 2,
"unitPrice": 1500,
"totalPrice": 3000,
"vatRate": 21,
"vatAmount": 519
}
]
}
AUTHORIZATION: HTTP
REQUEST
Base URL
https://pos.paysera.com
RESPONSE
Invoice details retrieved successfully
{
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"number": "001",
"prefix": "INV",
"fullNumber": "INV-001",
"totalAmount": 5499,
"vatAmount": 952,
"currency": "EUR",
"status": "paid",
"createdAt": "2024-11-04T10:15:30Z",
"updatedAt": "2024-11-04T10:20:45Z",
"dueDate": "2024-11-14T23:59:59Z",
"customer": {
"name": "Jane Smith",
"email": "customer@example.com",
"phone": "+37060012345",
"address": "Main Street 123, Vilnius, Lithuania"
},
"lineItems": [
{
"description": "Wireless Mouse",
"quantity": 1,
"unitPrice": 2999,
"totalPrice": 2999,
"vatRate": 21,
"vatAmount": 519
},
{
"description": "USB Cable",
"quantity": 2,
"unitPrice": 1500,
"totalPrice": 3000,
"vatRate": 21,
"vatAmount": 519
}
]
}