saldeo_get_documents_by_ids
Get full documents of one company by id, per type (use the groups from saldeo_list_document_ids; at most 200 ids per call). Saldeo: POST /api/xml/3.1/document/listbyid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Entries per list in the reply, 1-1000 (default 50). The reply's "paging" says how many exist and the next offset. | |
| offset | No | Skip this many entries of each list (default 0); use paging.next_offset from the previous reply. | |
| orders | No | ORDER ids. | |
| writings | No | WRITING ids. | |
| contracts | No | CONTRACT ids. | |
| invoices_cost | No | INVOICE_COST ids (cost invoices). | |
| invoices_sale | No | INVOICE_SALE ids (sales invoices). | |
| other_documents | No | OTHER_DOCUMENT ids. | |
| invoices_internal | No | INVOICE_INTERNAL ids. | |
| invoices_material | No | INVOICE_MATERIAL ids. | |
| company_program_id | Yes | The company's COMPANY_PROGRAM_ID, as returned by saldeo_list_companies. |