Invoice Payments

List unpaid invoices for specific client account

List unpaid invoices for specific client account

get/accounts/{client_account_id}/unpaid-invoices

Path parameters

client_account_idinteger required

Query parameters

organization_idstring

Search Invoices by organization id

sort[asc]'balance_due' | 'invoice_date' | 'invoice_number' | 'payment_made' | 'total'

Sort invoices in ascending order

sort[desc]'balance_due' | 'invoice_date' | 'invoice_number' | 'payment_made' | 'total'

Sort invoices in descending order

pageinteger

The particular page to return

per_pageinteger

The number of items to return per page Default: 50 Limit: 200

Response

Successful operation

messagestring

Example response

{
  "message": "success.",
  "invoices": [
    {
      "id": 358,
      "invoice_header_id": 358,
      "voucher_header_id": 1464,
      "account": {
        "id": 403,
        "name": "Lexzur KSA",
        "organization_id": "0005",
        "account_label": "Lexzur KSA (SAR)",
        "currency_id": 194,
        "currency": "SAR",
        "model_name": "Person",
        "member_id": 55
      },
      "invoice_number": "INV-0000124",
      "prefix_type": 1,
      "prefix": "INV",
      "purchase_order": "PO 1243",
      "bill_to": "Lexzur KSA",
      "invoice_date": "2025-12-17",
      "due_on": "2026-01-08",
      "paid_status": "open",
      "approval_status": "approved",
      "display_tax": 1,
      "display_discount": "both_item_before_level",
      "display_item_quantity": 1,
      "term_id": 2,
      "terms": "30 Days",
      "term_days_nb": 30,
      "lines_total_subtotal": 2000,
      "lines_total_tax": 150,
      "lines_totals": 2000,
      "total": 2150,
      "balance_due": 2150,
      "exchange_rate": 0.00001,
      "discount_value_type": "percentage",
      "display_adjust": "no",
      "created_on": "2024-11-13 16:28:47",
      "created_by_name": "System Administrator",
      "modified_on": "2024-11-13 16:28:47",
      "modified_by_name": "System Administrator",
      "status": "overdue",
      "voucher_type": "INV",
      "invoice_template_id": 1
    }
  ],
  "page_context": {
    "page": 1,
    "per_page": 50,
    "total": 16,
    "count": 16
  }
}