Search sales invoices
nula_search_invoicesFind sales documents by period, customer, type, or exact number; supplying a document number returns the complete document with line items.
Instructions
Find sales documents (фактури, проформи, дебитни/кредитни известия) by period, customer, type or number. Pass number to get one document in full, including its lines. Without document_type, proformas are excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 | |
| limit | No | Max records to return from the page (default 25) | |
| number | No | Exact document number; returns that document in full, with its lines | |
| date_to | No | End of period (YYYY-MM-DD), inclusive | |
| date_from | No | Start of period (YYYY-MM-DD), by date | |
| customer_eik | No | ||
| customer_name | No | ||
| document_type | No | ||
| response_format | No | "concise" (default) returns key fields; "detailed" adds lines and the raw nula.bg record | |
| customer_vat_number | No |