invoices

Get adquirentes (customers) for dropdown filter

Distinct acquirers (Faturas.B) that appear in this company's faturas.

The counterpart to /emitentes. On a sales invoice the emitter is the company itself, so an emitter-only filter shows the dealer their own name and nothing else (#764 follow-up). Returns [{nif, nome}], nome falling back to "NIF: x" when the customer is not a registered Cliente.

Plain def — synchronous DB work must not run on the event loop.

get/api/invoices/adquirentes

Query parameters

yearinteger nullable

Filter by year

Filter by year

Headers

x-api-tokenstring nullable

Response

Successful Response

object[] required

Changes

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