Invoice Status Draft

An invoice’s status was changed to draft

Payload

The payload of this webhook request is an object.
eventTypestringRequired
invoiceobjectRequired
userobjectOptional

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