invoice.status is the invoice’s status as it appears in Salesbricks at the moment the webhook is sent. Each payment in invoice.payments has its own status, which describes that payment only. See Payment statuses.
Invoice statuses
An invoice has exactly one status. When more than one could apply, the first match in this table wins. For example, an invoice that is partly paid and past its due date isPARTIALLY_PAID.
To mark an invoice as settled in another system, treat
PAID, CREDITED and ADJUSTED as
settled, and VOIDED as cancelled. remaining_amount is 0 for every settled invoice, and is
the only way to tell whether a MUTED invoice has been paid.Example
JSON