Get invoice

One invoice or credit note with its lines, taxes, totals, series, folio and UUID.

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

read

Returns the full document: receiver, lines, tax per line, totals, series, folio and the UUID the SAT stamp assigned, plus its status. Fails with a not-found error when the ID does not exist. Use it before a credit note or a cancellation to see what you are changing.

Parameters

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

Request

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

Example response

JSON

{
  "invoice_id": "Y61TLX-Ls_ZJFqzjanPN1w2",
  "series": "FAC",
  "folio": "101",
  "uuid": "6f1c2a90-3b7e-4d55-9a1e-0c52b8e4d7a1",
  "cfdi_type": "ingreso",
  "status": "issued",
  "issued_at": "2026-10-14T10:32:00-06:00",
  "client": {
    "client_id": "cl_4821",
    "rfc": "XAXX010101000",
    "name": "Estudio Norte SA de CV"
  },
  "items": [
    {
      "description": "Design review hour",
      "quantity": 2,
      "unit_price": 500,
      "subtotal": 1000,
      "tax_rate": 0.16,
      "tax": 160,
      "total": 1160
    }
  ],
  "subtotal": 1000,
  "tax_total": 160,
  "total": 1160,
  "currency": "MXN"
}

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.