Invoice Status Draft

An invoice's status was changed to draft

Payload

The payload of this webhook request is an object.
eventType
stringRequired
invoice
objectRequired
user
objectOptional
User who initiated the change.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "eventType": "invoice.status.draft",
3 "invoice": {
4 "id": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9",
5 "status": "DRAFT",
6 "paymentDestinationConfirmed": true,
7 "hasDocuments": true,
8 "hasSourceEmail": true,
9 "approvers": [],
10 "approvalPolicy": [],
11 "metadata": {},
12 "createdAt": "2021-01-01T00:00:00Z",
13 "updatedAt": "2021-01-01T00:00:00Z",
14 "payerId": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
15 "payer": {
16 "acceptedTos": true,
17 "accountType": "business",
18 "createdAt": "2024-01-01T00:00:00Z",
19 "email": "customer@acme.com",
20 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
21 "isCustomer": true,
22 "isNetworkPayee": false,
23 "isNetworkPayor": false,
24 "isPayee": false,
25 "isPayor": true,
26 "name": "Acme Inc.",
27 "profile": {
28 "business": {
29 "legalBusinessName": "Acme Inc.",
30 "taxIDProvided": true,
31 "email": "customer@acme.com",
32 "businessType": "llc",
33 "phone": {
34 "countryCode": "1",
35 "number": "4155551234"
36 },
37 "address": {
38 "addressLine1": "123 Main St",
39 "city": "San Francisco",
40 "stateOrProvince": "CA",
41 "postalCode": "94105",
42 "addressLine2": "Unit 1",
43 "country": "US"
44 },
45 "ownersProvided": true
46 }
47 },
48 "status": "verified",
49 "updatedAt": "2024-01-02T00:00:00Z",
50 "counterpartyType": [
51 "ENTITY"
52 ],
53 "foreignId": "MY-DB-ID-12345",
54 "paymentMethods": [
55 {
56 "type": "bankAccount",
57 "accountName": "My Checking Account",
58 "accountNumber": "99988767623",
59 "accountType": "CHECKING",
60 "bankName": "Chase",
61 "createdAt": "2021-01-01T00:00:00Z",
62 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
63 "isDefaultDestination": true,
64 "isDefaultSource": true,
65 "routingNumber": "12345678",
66 "status": "VERIFIED",
67 "supportedCurrencies": [
68 "USD"
69 ],
70 "updatedAt": "2021-01-01T00:00:00Z"
71 }
72 ]
73 }
74 },
75 "user": {
76 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb",
77 "roles": [
78 "admin",
79 "approver"
80 ],
81 "createdAt": "2024-01-01T00:00:00Z",
82 "updatedAt": "2024-01-01T00:00:00Z",
83 "foreignId": "MY-DB-ID-12345",
84 "email": "john.doe@acme.com",
85 "name": "John Doe"
86 }
87}