Get invoice
One invoice with its line items, buyer, payments and KSeF fields.
GET https://cotlet.dev/api/v1/fakturownia/invoices/{invoice_id}
read
Returns one invoice with its positions, buyer and seller data, status and the payments linked to it. When KSeF is on for the account, it also returns gov_status and the KSeF number.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id integer required | integer | Invoice ID from list_invoices. |
Request
curl https://cotlet.dev/api/v1/fakturownia/invoices/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("fakturownia", "get_invoice", {"invoice_id":1}) const result = await cotlet.call('fakturownia', 'get_invoice', {"invoice_id":1}); cotlet call fakturownia get_invoice --data '{"invoice_id":1}' Example response
{
"id": 5120,
"number": "14/10/2026/1",
"kind": "vat",
"status": "issued",
"buyer_name": "Blue Fern Studio",
"client_id": 4817,
"positions": [
{
"name": "Website retainer",
"quantity": 2,
"tax": "23",
"total_price_gross": "1230.00"
}
],
"price_net": "1000.00",
"price_tax": "230.00",
"price_gross": "1230.00",
"currency": "PLN",
"payment_to": "2026-10-28",
"paid": "0.00",
"gov_status": null
}