Retrieve a credit note
get_credit_noteRetrieve a credit note's details by internal ID or full number, including type, reason, amounts, and PDF URL. Returns an error if the identifier points to a debit invoice.
Instructions
Retrieves one ProAbono credit note with all its detail: its TypeCredit -- Refund when a paid invoice was given back, Voiding when one was cancelled before payment -- the Reason it was issued for, its amounts 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 an invoice carrying TypeCredit, and the Live API serves both kinds from the same endpoint: if the identifier names a debit invoice, this tool says so rather than returning it as a credit note. Use get_invoice for a debit invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | No | Internal identifier of the credit note (Id). | |
| full_number | No | Full number of the credit note as printed. |