Mark an invoice paid or unpaid
mark_invoice_paidRecord the date an invoice was paid for cash-basis tax reporting, or set it to unpaid by passing null.
Instructions
Record the date an invoice was paid (this matters for cash-basis taxes), or pass null to mark it unpaid again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | Invoice id or invoice number, e.g. INV-2026-004 | |
| paid_date | Yes | YYYY-MM-DD, or null for unpaid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| paidDate | Yes | The paid date, or null when marked unpaid |