Get Invoices
POST
/post-paid/bill-payment/get-invoices/{terminalId}/{operatorId}
postpaid-bill-payment-controller
🧾 Get Pending Invoices – Invoice Lookup
Get Parameters
method.🔍 Description
transaction_code
, which are required for payment📥 Request
key
corresponds to a field name returned in the query
array from Step 1.Example Request
[
{ "key": "card_code", "value": "1234567890" },
{ "key": "installments_to_pay", "value": "2" }
]
📤 Response
additionalData
: Dynamic fields required for the payment step (e.g., transaction_code
)type
: Payment behavior (TOTAL
, DISCRETE
, or OPEN
)pendingInvoices
: Number of invoices foundamountToSendX100
, destinationAmountX100
, serviceFeeX100
, totalAmountX100
: Amounts in centsExample Response
{
"rc": 0,
"message": "Pending invoices retrieved successfully",
"additionalData": [
{
"key": "transaction_code",
"value": "TXN-INV-20250703-A1"
}
],
"pendingInvoices": 2,
"amountToSendX100": 12500,
"destinationAmountX100": 12500,
"serviceFeeX100": 0,
"totalAmountX100": 12500,
"destinationCurrency": "EUR",
"items": [
{
"amountToSendX100": 6500,
"destinationAmountX100": 6500,
"serviceFeeX100": 0,
"totalAmountX100": 6500,
"destinationCurrency": "EUR",
"date": "2025-06-01",
"expirationDate": "2025-07-01",
"invoiceReference": "INV-10004567",
"isElegible": true
},
{
"amountToSendX100": 6000,
"destinationAmountX100": 6000,
"serviceFeeX100": 0,
"totalAmountX100": 6000,
"destinationCurrency": "EUR",
"date": "2025-06-15",
"expirationDate": "2025-07-15",
"invoiceReference": "INV-10004568",
"isElegible": true
}
],
"paymentType": "TOTAL"
}
💡 Payment Type Reference
Type | Description |
---|---|
TOTAL | Only full payment of the total debt is allowed |
DISCRETE | Allows selection of individual invoices to pay |
OPEN | Flexible input: pay less, exact, or more than the amount owed (wallet mode) |
🧠 Usage Notes
transaction_code
included in additionalData
is mandatory for the next step (Execute Payment).5000
= €50.00).type
field defines the payment strategy the client must respect during Step 3.Request
Path Params
terminalId
integer <int32>
required
operatorId
integer <int32>
required
Header Params
U
string
required
Default:
{{U}}
SH
string
required
Default:
{{SH}}
ST
string
required
Default:
{{ST}}
Body Params application/json
Request samples
Responses

Modified at 2025-07-03 19:59:23