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
| Name | Type | Description |
|---|---|---|
| reference_nbr string required | string | Reference number of the document, from list_invoices or list_bills. |
Request
curl "https://cotlet.dev/api/v1/acumatica/invoice?reference_nbr=reference+nbr" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("acumatica", "get_invoice", {"reference_nbr":"reference nbr"}) const result = await cotlet.call('acumatica', 'get_invoice', {"reference_nbr":"reference nbr"}); cotlet call acumatica get_invoice --data '{"reference_nbr":"reference nbr"}' Example response
{
"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
}