Get Many
AI-generatedOverview
This node interacts with the KiotViet API to retrieve a list of invoices. It supports fetching all invoices or a limited number based on user-defined filters such as page size, current page, branch ID, date range, and invoice status. This operation is useful for scenarios where users need to manage or analyze multiple invoices from KiotViet, such as generating reports or syncing invoice data with other systems.
Use Case Examples
- Retrieve all invoices from a specific branch within a date range.
- Fetch a limited number of invoices with a specific status for review.
Properties
| Name | Meaning |
|---|---|
| Trả Về Tất Cả | Whether to return all results or only up to a given limit |
| Giới Hạn | Maximum number of results to return when not returning all |
| Bộ Lọc | Filters to narrow down the invoice list, including page size, current page, branch ID, date range, and status |
Output
JSON
data- Array of invoice objects returned from KiotViet APItotal- Total number of invoices matching the filterspageSize- Number of invoices per page as requestedcurrentPage- Current page number of the results
Dependencies
- KiotViet API with authentication credentials
Troubleshooting
- Ensure the KiotViet API credentials are correctly configured and valid.
- If the node returns an empty list, verify the filter parameters such as date range and branch ID are correct.
- If the API rate limits are exceeded, consider reducing the number of requests or enabling 'returnAll' to minimize pagination calls.
Links
- KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding available endpoints and parameters.