Get sales invoice

One sales invoice with all its lines.

GET https://cotlet.dev/api/v1/exact-online/invoices/{invoice_id}/sales-invoice

read

Returns one sales invoice by invoice ID with its header and every line: description, quantity, unit price and VAT code. Use it to check a draft before send_sales_invoice.

Parameters

Parameters: get_sales_invoice
NameTypeDescription
division integer integer Division (company) code from list_divisions. Default: the account's current division.
invoice_id string required string Invoice ID from list_sales_invoices or create_sales_invoice.

Request

cURL
curl https://cotlet.dev/api/v1/exact-online/invoices/invoice_8c41d2/sales-invoice \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("exact-online", "get_sales_invoice", {"invoice_id":"invoice_8c41d2"})
Node.js
const result = await cotlet.call('exact-online', 'get_sales_invoice', {"invoice_id":"invoice_8c41d2"});
CLI
cotlet call exact-online get_sales_invoice --data '{"invoice_id":"invoice_8c41d2"}'

Example response

JSON

{
  "invoice_id": "b21e9d77-5a0c-4f1e-8d13-0c6a77e45002",
  "invoice_number": 20260412,
  "customer": "Northwind Studio",
  "invoice_date": "2026-10-14",
  "lines": [
    {
      "description": "Consulting, October",
      "quantity": 12,
      "unit_price": 95,
      "vat_code": "2",
      "amount": 1140
    }
  ],
  "amount_excl_vat": 1140,
  "currency": "EUR"
}

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.