Retrieve a debit invoice
get_invoiceRetrieve a ProAbono debit invoice by internal ID or full number, including status, amounts, dates, payment method, note, and PDF link. Read-only; flags if the ID points to a credit note.
Instructions
Retrieves one ProAbono debit invoice with all its detail -- status, amounts, dates, payment method, the note printed on it -- and its PDF URL, taken from the document's own Links. Read-only. Identify it by internal identifier or by full number; pass one, not both. A credit note is a different document: use get_credit_note for it. If the identifier turns out to name one, this tool says so rather than returning it as 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": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | No | Internal identifier of the invoice (Id). | |
| full_number | No | Full invoice number as printed, e.g. "S-7.00001673". |