Invoice Corrected
This webhook is triggered when a new invoice or credit note PDF was corrected and sent/archived.
Typical Scenario
You want to listen to this hook to fetch a corrected invoice.
HTTP/1.1
POST /billwerk-hook
Host: example.com
Content-Type: application/json
{
"Event" : "InvoiceCorrected",
"OldInvoiceId" : "51d97067cb596a1239fff423", //Deprecated. Do not use this anymore
"NewInvoiceId" : "51d97067cb596a1239fff424", //Deprecated. Do not use this anymore
"OldInvoiceDraftId" : "51d97067cb596a1239fff423",
"NewInvoiceDraftId" : "51d97067cb596a1239fff424"
}