Get invoice
One invoice with its lines, VAT per line and totals.
GET https://cotlet.dev/api/v1/e-boekhouden/invoices/{invoice_id}
read
Returns the header and lines of one invoice: relation, date, payment term, reference, and for each line description, quantity, price, VAT code and ledger. Use it to check what an invoice contains before you book a payment on it.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id integer required | integer | Invoice ID from list_invoices. |
Request
curl https://cotlet.dev/api/v1/e-boekhouden/invoices/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("e-boekhouden", "get_invoice", {"invoice_id":1}) const result = await cotlet.call('e-boekhouden', 'get_invoice', {"invoice_id":1}); cotlet call e-boekhouden get_invoice --data '{"invoice_id":1}' Example response
{
"invoice_id": 9021,
"invoice_number": "2026-0143",
"date": "2026-10-12",
"relation_id": 1042,
"term_of_payment": 14,
"items": [
{
"description": "Consulting October 2026",
"quantity": 10,
"price_per_unit": 85,
"vat_code": "HOOG_VERK_21",
"ledger_id": 8000
}
],
"total_excl_vat": 850,
"vat": 178.5,
"total_incl_vat": 1028.5
}