SouthPay icon

SouthPay

Work with SouthPay payments, invoices, customers, payouts and more

Invoice → Finalize an Invoice

AI-generated

Summary

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.

Links

Discussion