Get document
icount_get_documentRetrieve complete details of any iCount document by type and number, with options to include line items, payment breakdown, and PDF link.
Instructions
Fetch full details of a single existing document by type and number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docnum | Yes | The document number as shown in iCount | |
| doctype | Yes | ||
| getItems | No | Include line items (default true) | |
| getPdfLink | No | Include a direct PDF link (default false) | |
| getPayments | No | Include payment breakdown (default true) |