Get invoice

One invoice with its rows, totals, booked state and payments.

GET https://cotlet.dev/api/v1/fortnox/invoices/{invoice_number}

read

Returns one invoice with every row, net, VAT and total, whether it is saved or booked, whether it was sent, and the payments registered so far. Read it before register_payment so a short payment is registered as partial.

Parameters

Parameters: get_invoice
NameTypeDescription
invoice_number string required string Invoice number from list_invoices or create_invoice.

Request

cURL
curl https://cotlet.dev/api/v1/fortnox/invoices/invoice%20number \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fortnox", "get_invoice", {"invoice_number":"invoice number"})
Node.js
const result = await cotlet.call('fortnox', 'get_invoice', {"invoice_number":"invoice number"});
CLI
cotlet call fortnox get_invoice --data '{"invoice_number":"invoice number"}'

Example response

JSON

{
  "invoice_number": "2377",
  "customer_number": "1042",
  "customer": "Nordlys Design AB",
  "state": "booked",
  "sent": true,
  "invoice_date": "2026-09-13",
  "due_date": "2026-10-13",
  "rows": [
    {
      "description": "Consulting, September",
      "quantity": 10,
      "unit_price": 1200,
      "net": 12000
    }
  ],
  "net": 12000,
  "vat": 3000,
  "total": 15000,
  "balance": 15000,
  "payments": [],
  "currency": "SEK"
}

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.