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

Parameters: get_invoice
NameTypeDescription
invoice_id integer required integer Invoice ID from list_invoices.

Request

cURL
curl https://cotlet.dev/api/v1/e-boekhouden/invoices/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("e-boekhouden", "get_invoice", {"invoice_id":1})
Node.js
const result = await cotlet.call('e-boekhouden', 'get_invoice', {"invoice_id":1});
CLI
cotlet call e-boekhouden get_invoice --data '{"invoice_id":1}'

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.