Get an invoice, or search them
eurodns_invoice_getRetrieve invoice details and line items by ID, or search invoices using filters for creation date, type, status, related order, or billing profile.
Instructions
Returns one invoice with its lines by id, or searches invoices when id is omitted — by createdAfter and createdBefore, invoiceType, invoiceStatuses, orderIds or the invoice profile cipId — paged with page and size. Use it for what was billed and whether it is paid; the filters are ignored when id is given. The order behind a line is in eurodns_order_get and the billing identity in eurodns_invoice_profile_get, not here.
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": "eurodns_invoice_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric id of the invoice to return with its lines. Omit it to search invoices with the filters below. | |
| page | No | 1-based page number. There is no page meaning everything: walk pages until a short one comes back. | |
| size | No | Results per page, 1 to 500. A wide page is truncated by the character limit, so prefer a filter to a large size. | |
| cipId | No | Numeric id of the customer invoice profile, from the list eurodns_invoice_profile_get returns when called without an id. | |
| orderIds | No | The identifier of orders related to the invoices. | |
| sortField | No | Result field to sort on, spelled as in the response items. Unsorted when omitted. | |
| sortOrder | No | ASC or DESC; only read with sortField. | |
| invoiceIds | No | The list of unique invoice identifiers. | |
| invoiceType | No | Keep only invoices of this type: INVOICE, CREDIT_NOTE, CORRECTIVE_INVOICE or EDITED_INVOICE. | |
| createdAfter | No | The invoice creation date start range. | |
| createdBefore | No | The invoice creation date end range. | |
| invoiceNumbers | No | The list of invoice numbers. | |
| invoiceStatuses | No | Keep only invoices in these statuses, e.g. TO_PAY, PAID or CANCELLED. | |
| relatedInvoiceId | No | The related invoice identifier. Edited invoices, credit notes and corrective invoices are created based on this invoice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |