kiotviet_list_invoices
Read sales invoices by transaction date, branch, customer, or status to review revenue and payments; paginate full periods and account for cancellations, returns, and discounts.
Instructions
Read sales invoices by transaction date, branch/customer/status. For revenue, paginate the whole period and account for cancelled invoices, returns and discounts; totalPayment is money received, not revenue.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kiotviet_list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Use the status values returned by this resource; order and invoice statuses differ. | |
| toDate | No | Modified-to time; for invoice revenue use fromPurchaseDate/toPurchaseDate instead. | |
| orderBy | No | ||
| orderId | No | ||
| pageSize | No | ||
| branchIds | No | ||
| createdDate | No | ISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed. | |
| currentItem | No | Zero-based record offset, not page number. | |
| customerIds | No | ||
| customerCode | No | ||
| includePayment | No | ||
| orderDirection | No | ||
| toPurchaseDate | No | ISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed. | |
| fromPurchaseDate | No | ISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed. | |
| lastModifiedFrom | No | ISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed. | |
| IncludeSaleChannel | No | ||
| includeInvoiceDelivery | No |