invoices
Read Facets
Changed onYears that have invoices, and how many are in each state.
One call for the whole filter bar. The counts use the same derived state the list does, so a chip reading 3 opens a list of exactly 3.
get/api/invoices/facets
Request
- Base URLhttps://demo.usesecuro.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL/api/auth/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
yearinteger nullable
direction'receivable' | 'payable'
Which side of the ledger to read
Headers
X-Workspace-Idstring nullable
Response
Successful Response
Changes
- info
endpoint added
- info