List other purchase documents
bukku_list_purchase_documentsList purchase orders, goods received notes, supplier credit notes, supplier payments or refunds (bills have their own tool, bukku_list_purchase_bills). payment_status applies to credit notes, payments and refunds only. GET /purchases/{orders|goods_received_notes|credit_notes|payments|refunds}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 (default 1). Pass the previous reply's next_page. | |
| type | Yes | Which purchase document to list. | |
| search | No | ||
| status | No | Only transactions with this status. Without it every status except void is returned. | |
| date_to | No | A date, yyyy-mm-dd. | |
| sort_dir | No | Sort direction. | |
| date_from | No | A date, yyyy-mm-dd. | |
| page_size | No | Results per page, 1-100 (default 30). | |
| contact_id | No | Only documents of this supplier. | |
| payment_status | No | Credit notes (PAID, OUTSTANDING, OVERDUE), payments and refunds (PAID, OUTSTANDING). Not for the other types. |