List invoices (receivables and payables)
feegow_list_invoicesFinancial invoices (contas) in a date range: receivables (C) or payables (D), with value, description, payer/payee, invoice number and payment details. Optionally one unit, invoice or appointment. Financial data. GET /financial/list-invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | A date, yyyy-mm-dd. | |
| unit_id | No | Unit (branch) id. 0 = the main clinic (matriz). Omit for all units where the endpoint allows it. See feegow_list_units. | |
| date_from | Yes | A date, yyyy-mm-dd. | |
| direction | Yes | receivable = contas a receber (C), payable = contas a pagar (D). | |
| invoice_id | No | ||
| appointment_id | No |