Get invoice

One AR invoice with its lines, total, balance and status.

GET https://cotlet.dev/api/v1/acumatica/invoice

read

Returns one AR invoice with every line (description, quantity, unit price, amount), the total and the status. Use it to check an invoice you just created before releasing it. The total is the sum of the lines.

Parameters

Parameters: get_invoice
NameTypeDescription
reference_nbr string required string Reference number of the document, from list_invoices or list_bills.

Request

cURL
curl "https://cotlet.dev/api/v1/acumatica/invoice?reference_nbr=reference+nbr" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("acumatica", "get_invoice", {"reference_nbr":"reference nbr"})
Node.js
const result = await cotlet.call('acumatica', 'get_invoice', {"reference_nbr":"reference nbr"});
CLI
cotlet call acumatica get_invoice --data '{"reference_nbr":"reference nbr"}'

Example response

JSON

{
  "reference_nbr": "002214",
  "customer_id": "C000045",
  "status": "Balanced",
  "date": "2026-10-31",
  "lines": [
    {
      "description": "Hosting, October",
      "quantity": 1,
      "unit_price": 2400,
      "amount": 2400
    },
    {
      "description": "Support hours",
      "quantity": 5,
      "unit_price": 150,
      "amount": 750
    }
  ],
  "total": 3150
}

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.