Indicates that a dataType has been successfully created, updated, deleted, or had an attachment uploaded in the accounting software.
Codat now refers to push operations as write requests.
For example, to subscribe to events where a bill is written into the accounting software, use the bills.write.successful webhook.
Supported data types and write types
| dataType | Create | Update | Delete | UploadAttachment |
|---|---|---|---|---|
| bankAccounts | ✅ | ✅ | - | - |
| bankTransactions | ✅ | - | - | - |
| billCreditNotes | ✅ | ✅ | - | ✅ |
| billPayments | ✅ | - | ✅ | - |
| bills | ✅ | ✅ | ✅ | ✅ |
| chartOfAccounts | ✅ | - | - | - |
| creditNotes | ✅ | ✅ | - | - |
| customers | ✅ | ✅ | - | - |
| directCosts | ✅ | - | ✅ | ✅ |
| directIncomes | ✅ | - | - | ✅ |
| invoices | ✅ | ✅ | ✅ | ✅ |
| items | ✅ | - | - | - |
| journalEntries | ✅ | - | ✅ | - |
| journals | ✅ | - | - | - |
| payments | ✅ | - | - | - |
| purchaseOrders | ✅ | ✅ | - | - |
| suppliers | ✅ | ✅ | - | - |
| transfers | ✅ | - | - | ✅ |
postWebhook{dataType}.write.successful
Payload
Response
Return a 200 status to indicate that the webhook was received.