Skip to main content
GET
/
service
/
general-ledger
/
invoices
/
{invoice_id}
curl -X GET https://kube.acho.io/service/general-ledger/invoices/INV-2024-001 \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "invoice_id": "INV-2024-001",
  "customer_id": "a3-customer-xxx",
  "customer_name": "Acme Corp",
  "ar_account_id": "a3-ar-account-xxx",
  "tran_date": "2024-01-15",
  "due_date": "2024-02-15",
  "currency": "USD",
  "status": "Sent",
  "subtotal": 4000,
  "tax_total": 400,
  "total": 4400,
  "amount_paid": 0,
  "amount_due": 4400,
  "is_overdue": false,
  "lines": [
    {
      "line_number": 1,
      "account_id": "a3-revenue-xxx",
      "account_name": "Consulting Revenue",
      "description": "Consulting - January 2024",
      "quantity": 40,
      "rate": 100,
      "amount": 4000,
      "tax_rate": 0.1,
      "tax_amount": 400
    }
  ],
  "payments": [],
  "created_at": "2024-01-15T10:00:00Z"
}

Request

Retrieve details for a specific customer invoice.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN

Path Parameters

invoice_id
string
required
The unique identifier of the invoice
curl -X GET https://kube.acho.io/service/general-ledger/invoices/INV-2024-001 \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "invoice_id": "INV-2024-001",
  "customer_id": "a3-customer-xxx",
  "customer_name": "Acme Corp",
  "ar_account_id": "a3-ar-account-xxx",
  "tran_date": "2024-01-15",
  "due_date": "2024-02-15",
  "currency": "USD",
  "status": "Sent",
  "subtotal": 4000,
  "tax_total": 400,
  "total": 4400,
  "amount_paid": 0,
  "amount_due": 4400,
  "is_overdue": false,
  "lines": [
    {
      "line_number": 1,
      "account_id": "a3-revenue-xxx",
      "account_name": "Consulting Revenue",
      "description": "Consulting - January 2024",
      "quantity": 40,
      "rate": 100,
      "amount": 4000,
      "tax_rate": 0.1,
      "tax_amount": 400
    }
  ],
  "payments": [],
  "created_at": "2024-01-15T10:00:00Z"
}