The invoice API provides notifications through webhooks when the invoice request has changed its status.
Possible events sent through webhooks define each status of the invoice request:
- invoice.received
- invoice.in_process
- invoice.created
- invoice.failed
- invoice.cancel_process
- invoice.canceled
- invoice.pending (For Inbound invoices)
- invoice.approved (For Inbound invoices)
- invoice.rejected (For Inbound invoices)
Each webhook will present the invoice_id, so you can retrieve all the invoice information (and the invoice itself if the status is completed) using the Get an invoice section.