Get invoice

One invoice with buyer, items, VAT, totals and recorded payments.

GET https://cotlet.dev/api/v1/szamlazz-hu/invoices/{invoice_number}

read

Returns one issued invoice: buyer with tax number, line items with quantity, unit net price, VAT rate and gross, totals per VAT rate, the payment method, the delivery and due dates and every payment recorded so far. Use it before cancel_invoice or record_payment so the agent works on the right document.

Parameters

Parameters: get_invoice
NameTypeDescription
invoice_number string required string Invoice number as shown in Outgoing invoices, from list_invoices.

Request

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

Example response

JSON

{
  "invoice_number": "ABC-2026-00142",
  "type": "invoice",
  "buyer": {
    "name": "Blue Fern Studio Kft.",
    "tax_number": "12345678-2-42",
    "email": "billing@bluefern.example"
  },
  "issue_date": "2026-10-09",
  "delivery_date": "2026-10-09",
  "due_date": "2026-10-17",
  "payment_method": "Átutalás",
  "currency": "HUF",
  "items": [
    {
      "name": "Website retainer",
      "quantity": 2,
      "unit": "db",
      "net_unit_price": 50000,
      "vat_rate": "27%",
      "net": 100000,
      "vat": 27000,
      "gross": 127000
    }
  ],
  "totals": {
    "net": 100000,
    "vat": 27000,
    "gross": 127000
  },
  "payments": [],
  "outstanding": 127000
}

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.