saldeo_search_documents
Find documents of one company by field (at least one of document_id, number, nip, guid; several are combined with AND). Returns the matching documents. Saldeo: POST /api/xml/3.1/document/search (policy BY_FIELDS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nip | No | The contractor's VAT number (NIP). | |
| guid | No | The document GUID. | |
| limit | No | Entries per list in the reply, 1-1000 (default 50). The reply's "paging" says how many exist and the next offset. | |
| number | No | The document number, e.g. FV/101/2016. | |
| offset | No | Skip this many entries of each list (default 0); use paging.next_offset from the previous reply. | |
| document_id | No | The Saldeo DOCUMENT_ID. | |
| company_program_id | Yes | The company's COMPANY_PROGRAM_ID, as returned by saldeo_list_companies. |