Get invoice

One invoice with its lines, totals, sent state and payments.

GET https://cotlet.dev/api/v1/fiken/invoices/{invoice_id}

read

Returns one invoice with every line, net, VAT and gross, the balance still open, whether and how it was sent, the payments registered so far and any credit notes. Read it before register_invoice_payment so a short payment is registered as partial, and before create_reminder so a paid invoice is not chased.

Parameters

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

Request

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

Example response

JSON

{
  "invoice_id": 5120288,
  "invoice_number": 10031,
  "customer_id": 4020977,
  "customer": "Havbris Maritim AS",
  "issue_date": "2026-09-16",
  "due_date": "2026-09-30",
  "lines": [
    {
      "description": "Harbour survey, September",
      "quantity": 5,
      "unit_price": 1400,
      "vat_type": "HIGH",
      "net": 7000
    }
  ],
  "net": 7000,
  "vat": 1750,
  "gross": 8750,
  "balance": 8750,
  "sent": true,
  "payments": [],
  "credit_notes": [],
  "currency": "NOK"
}

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.