Invoices, receivables (AR, default), payables (AP) or both

Invoices, receivables (AR, default), payables (AP) or both. By default the OPEN ones with their aging per currency (not due, 1-30, 31-60, 61-90, over 90 days) and the counterparties with the most overdue. With status paid or all, or a date range (by issue or due date), it lists every matching invoice with totals per currency (amount and still open). Filter by entity, counterparty or invoice number (the number gives that invoice’s detail). Use for "who owes me money", "what is overdue", "what did customer X pay this year", "invoices issued in March", "show invoice 1042".

post/api/v1/open_invoices

Request

  • Base URL: https://k-phi.com (the document declares no server; this is the origin it was published from)
  • URL: https://k-phi.com/api/v1/open_invoices
  • Auth: HTTP bearer

Request body

direction'AR' | 'AP' | 'both'
status'open' | 'paid' | 'all'

Default open

overdue_onlyboolean
fromstring

YYYY-MM-DD

tostring

YYYY-MM-DD

date_field'issue' | 'due'

Which date from / to apply to; default issue

entitystring

Entity code

counterpartystring

Customer or supplier name (part of it) or code

numberstring

An invoice number: that invoice only

limitnumber

1 to 100, default 25

Response

OK

dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.