Invoice Status Pending

An invoice’s status was changed to pending

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.pending",
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": "PENDING",
13 "updatedAt": "2021-01-01T00:00:00Z",
14 "amount": 100,
15 "currency": "USD",
16 "deductionDate": "2021-01-29T00:00:00Z",
17 "dueDate": "2021-01-31T00:00:00Z",
18 "invoiceDate": "2021-01-01T00:00:00Z",
19 "invoiceNumber": "INV-123",
20 "payer": {
21 "acceptedTos": true,
22 "accountType": "business",
23 "createdAt": "2024-01-01T00:00:00Z",
24 "email": "customer@acme.com",
25 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
26 "isCustomer": true,
27 "isNetworkPayee": false,
28 "isNetworkPayor": false,
29 "isPayee": false,
30 "isPayor": true,
31 "name": "Acme Inc.",
32 "profile": {
33 "business": {
34 "legalBusinessName": "Acme Inc.",
35 "taxIDProvided": true,
36 "email": "customer@acme.com",
37 "businessType": "llc",
38 "phone": {
39 "countryCode": "1",
40 "number": "4155551234"
41 },
42 "address": {
43 "addressLine1": "123 Main St",
44 "city": "San Francisco",
45 "stateOrProvince": "CA",
46 "postalCode": "94105",
47 "addressLine2": "Unit 1",
48 "country": "US"
49 },
50 "ownersProvided": true,
51 "taxId": {
52 "ein": {
53 "number": "12-3456789"
54 }
55 }
56 }
57 },
58 "status": "verified",
59 "updatedAt": "2024-01-02T00:00:00Z",
60 "accounts": [
61 {
62 "accountId": "85866843",
63 "postalCode": "94105",
64 "nameOnAccount": "John Doe"
65 }
66 ],
67 "counterpartyType": [
68 "ENTITY"
69 ],
70 "foreignId": "MY-DB-ID-12345",
71 "paymentMethods": [
72 {
73 "type": "bankAccount",
74 "accountName": "My Checking Account",
75 "accountNumber": "99988767623",
76 "accountType": "CHECKING",
77 "bankName": "Chase",
78 "createdAt": "2021-01-01T00:00:00Z",
79 "frozen": false,
80 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
81 "isDefaultDestination": true,
82 "isDefaultSource": true,
83 "metadata": {},
84 "routingNumber": "12345678",
85 "status": "VERIFIED",
86 "supportedCurrencies": [
87 "USD"
88 ],
89 "updatedAt": "2021-01-01T00:00:00Z"
90 }
91 ]
92 },
93 "payerId": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c",
94 "paymentDestination": {
95 "type": "check",
96 "addressLine1": "123 Main St",
97 "city": "New York",
98 "country": "US",
99 "createdAt": "2021-01-01T00:00:00Z",
100 "frozen": false,
101 "id": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18",
102 "isDefaultDestination": true,
103 "isDefaultSource": false,
104 "metadata": {},
105 "payToTheOrderOf": "John Doe",
106 "postalCode": "10001",
107 "stateOrProvince": "NY",
108 "supportedCurrencies": [
109 "USD"
110 ],
111 "updatedAt": "2021-01-01T00:00:00Z",
112 "addressLine2": "Apt 1"
113 },
114 "paymentDestinationId": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18",
115 "paymentSource": {
116 "type": "bankAccount",
117 "accountName": "My Checking Account",
118 "accountNumber": "99988767623",
119 "accountType": "CHECKING",
120 "bankName": "Chase",
121 "createdAt": "2021-01-01T00:00:00Z",
122 "frozen": false,
123 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
124 "isDefaultDestination": true,
125 "isDefaultSource": true,
126 "metadata": {},
127 "routingNumber": "12345678",
128 "status": "VERIFIED",
129 "supportedCurrencies": [
130 "USD"
131 ],
132 "updatedAt": "2021-01-01T00:00:00Z"
133 },
134 "paymentSourceId": "pm_4794d597-70dc-4fec-b6ec-c5988e759769",
135 "transactions": [
136 {
137 "type": "bankAccountToBankAccount",
138 "createdAt": "2024-01-01T00:00:00Z",
139 "id": "trx_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4",
140 "status": "PENDING",
141 "updatedAt": "2024-01-01T00:00:00Z"
142 }
143 ],
144 "vendor": {
145 "acceptedTos": false,
146 "accountType": "business",
147 "createdAt": "2024-01-01T00:00:00Z",
148 "email": "vendor@bigboxstore.com",
149 "id": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d",
150 "isCustomer": false,
151 "isNetworkPayee": false,
152 "isNetworkPayor": false,
153 "isPayee": true,
154 "isPayor": false,
155 "name": "Big Box Store",
156 "profile": {
157 "business": {
158 "legalBusinessName": "Big Box Store",
159 "taxIDProvided": false,
160 "email": "vendor@bigboxstore.com",
161 "businessType": "publicCorporation",
162 "ownersProvided": false
163 }
164 },
165 "status": "unverified",
166 "updatedAt": "2024-01-02T00:00:00Z",
167 "counterpartyType": [
168 "ENTITY"
169 ],
170 "foreignId": "MY-DB-ID-90909",
171 "paymentMethods": [
172 {
173 "type": "bankAccount",
174 "accountName": "Vendor Checking Account",
175 "accountNumber": "55934059697648",
176 "accountType": "CHECKING",
177 "bankName": "Chase",
178 "createdAt": "2021-01-01T00:00:00Z",
179 "frozen": false,
180 "id": "pm_7610541f-4619-4033-8620-cfccfb811293",
181 "isDefaultDestination": true,
182 "isDefaultSource": true,
183 "metadata": {},
184 "routingNumber": "66554433",
185 "status": "NEW",
186 "supportedCurrencies": [
187 "USD"
188 ],
189 "updatedAt": "2021-01-01T00:00:00Z"
190 }
191 ]
192 },
193 "vendorId": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d"
194 },
195 "user": {
196 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb",
197 "roles": [
198 "admin",
199 "approver"
200 ],
201 "createdAt": "2024-01-01T00:00:00Z",
202 "updatedAt": "2024-01-01T00:00:00Z",
203 "foreignId": "MY-DB-ID-12345",
204 "email": "john.doe@acme.com",
205 "name": "John Doe"
206 }
207}