List document blocks
billingo_list_document_blocksList document blocks to retrieve invoice number ranges and block IDs required for creating invoices. Use paging to find the block that matches your document numbering.
Instructions
Lists document blocks (invoice number ranges). Every document belongs to a block; you need a block id to create an invoice.
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": "billingo_list_document_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| per_page | No | Results per page (1-100, default 25). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| total | No | ||
| per_page | No | ||
| last_page | No | ||
| current_page | No | ||
| next_page_url | No | ||
| prev_page_url | No |