Actions35
- Payment Actions
- Customer Actions
- Invoice Actions
- Product Actions
- Price Actions
- Subscription Actions
- Payout Actions
- Balance Actions
Invoice → Finalize an Invoice
AI-generatedSummary
Finalize an existing invoice by specifying its invoice ID, changing its state via the SouthPay API.
Inputs
- Invoice (required) — Select the invoice to finalize either by searching in a list or by directly entering its ID.
Output shape
a single JSON object representing the finalized invoice's updated data
The node sends a POST request to the /billing/invoices/{invoiceId}/finalize endpoint and outputs the invoice data returned by SouthPay after finalization. Errors on individual items can be optionally handled per the node's continueOnFail setting.
Examples
Example 1: Finalize an invoice after creation or modification
Set Resource to 'Invoice', Operation to 'Finalize an Invoice', and provide the Invoice ID to finalize.