Get invoice payment status
get_invoice_payment_statusRetrieve payment status of an invoice: see total, paid, and unpaid amounts, plus paid flag. Use to confirm payments or check client balances.
Instructions
Answer whether an invoice has been paid, and how much of it. Returns invoiceTotalAmount, paidAmount, unpaidAmount and a paid flag. Read-only — this reports on collections, it does not record one.
Use it for questions like 'has invoice FF 120 been paid?' or 'how much does this client still owe on it?', and to confirm the effect after calling create_payment. To record money received, use create_payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Invoice number, without the series prefix. | |
| seriesName | No | Invoice series. Falls back to the configured default. | |
| companyVatCode | No | Issuing company CIF. Falls back to SMARTBILL_VAT_CODE. |