An invoice was deleted
User who initiated the change.
1 { 2 "eventType": "invoice.deleted", 3 "invoice": { 4 "approvalPolicy": [ 5 { 6 "id": "apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c", 7 "trigger": [ 8 { 9 "type": "amount", 10 "amount": 100, 11 "currency": "USD" 12 } 13 ], 14 "rule": { 15 "type": "approver", 16 "identifierList": { 17 "type": "rolesList", 18 "value": [ 19 "Admin", 20 "Controller" 21 ] 22 }, 23 "numApprovers": 2 24 }, 25 "upstreamPolicyId": "root", 26 "createdAt": "2024-01-01T00:00:00Z", 27 "updatedAt": "2024-01-02T00:00:00Z" 28 } 29 ], 30 "approvers": [ 31 { 32 "approvalPolicyId": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c", 33 "approvalSlotId": "inap_9bb311c9-7c15-4c9e-8148-63814e0abec6", 34 "action": "APPROVE", 35 "eligibleRoles": [ 36 "admin" 37 ], 38 "eligibleUserIds": [ 39 "user_e24fc81c-c5ee-47e8-af42-4fe29d895506" 40 ], 41 "date": "2021-01-01T00:00:00Z", 42 "assignedUserId": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506" 43 } 44 ], 45 "createdAt": "2021-01-01T00:00:00Z", 46 "hasDocuments": true, 47 "hasSourceEmail": true, 48 "id": "in_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9", 49 "metadata": { 50 "key1": "value1", 51 "key2": "value2" 52 }, 53 "paymentDestinationConfirmed": true, 54 "status": "PAID", 55 "updatedAt": "2021-01-01T00:00:00Z", 56 "amount": 100, 57 "comments": [ 58 { 59 "id": "ic_b3525b66-da94-4525-9f31-426bcf657128", 60 "text": "This is an approval comment", 61 "createdAt": "2021-01-01T00:00:00Z", 62 "updatedAt": "2021-01-01T00:00:00Z", 63 "user": { 64 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb", 65 "roles": [ 66 "admin", 67 "approver" 68 ], 69 "createdAt": "2024-01-01T00:00:00Z", 70 "updatedAt": "2024-01-01T00:00:00Z", 71 "foreignId": "MY-DB-ID-12345", 72 "email": "john.doe@acme.com", 73 "name": "John Doe" 74 }, 75 "associatedApprovalAction": { 76 "userId": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506", 77 "action": "APPROVE" 78 } 79 } 80 ], 81 "creatorUser": { 82 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb", 83 "roles": [ 84 "admin", 85 "approver" 86 ], 87 "createdAt": "2024-01-01T00:00:00Z", 88 "updatedAt": "2024-01-01T00:00:00Z", 89 "foreignId": "MY-DB-ID-12345", 90 "email": "john.doe@acme.com", 91 "name": "John Doe" 92 }, 93 "currency": "USD", 94 "deductionDate": "2021-01-01T00:00:00Z", 95 "dueDate": "2021-01-31T00:00:00Z", 96 "foreignId": "YOUR-DATABASE-ID", 97 "invoiceDate": "2021-01-01T00:00:00Z", 98 "invoiceNumber": "INV-123", 99 "lineItems": [ 100 { 101 "id": "inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7", 102 "currency": "USD", 103 "category": "EXPENSE", 104 "createdAt": "2021-01-01T00:00:00Z", 105 "updatedAt": "2021-01-01T00:00:00Z", 106 "amount": 100, 107 "description": "Product A", 108 "name": "Product A", 109 "quantity": 1, 110 "unitPrice": 100, 111 "serviceStartDate": "2021-01-01T00:00:00Z", 112 "serviceEndDate": "2021-01-31T00:00:00Z", 113 "metadata": { 114 "key1": "value1", 115 "key2": "value2" 116 }, 117 "glAccountId": "600394" 118 } 119 ], 120 "noteToSelf": "For the month of January", 121 "payer": { 122 "acceptedTos": true, 123 "accountType": "business", 124 "createdAt": "2024-01-01T00:00:00Z", 125 "email": "customer@acme.com", 126 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", 127 "isCustomer": true, 128 "isNetworkPayee": false, 129 "isNetworkPayor": false, 130 "isPayee": false, 131 "isPayor": true, 132 "name": "Acme Inc.", 133 "profile": { 134 "business": { 135 "legalBusinessName": "Acme Inc.", 136 "taxIDProvided": true, 137 "email": "customer@acme.com", 138 "businessType": "llc", 139 "phone": { 140 "countryCode": "1", 141 "number": "4155551234" 142 }, 143 "address": { 144 "addressLine1": "123 Main St", 145 "city": "San Francisco", 146 "stateOrProvince": "CA", 147 "postalCode": "94105", 148 "addressLine2": "Unit 1", 149 "country": "US" 150 }, 151 "ownersProvided": true, 152 "taxId": { 153 "ein": { 154 "number": "12-3456789" 155 } 156 } 157 } 158 }, 159 "status": "verified", 160 "updatedAt": "2024-01-02T00:00:00Z", 161 "accounts": [ 162 { 163 "accountId": "85866843", 164 "postalCode": "94105", 165 "nameOnAccount": "John Doe" 166 } 167 ], 168 "counterpartyType": [ 169 "ENTITY" 170 ], 171 "foreignId": "MY-DB-ID-12345", 172 "paymentMethods": [ 173 { 174 "type": "bankAccount", 175 "accountName": "My Checking Account", 176 "accountNumber": "99988767623", 177 "accountType": "CHECKING", 178 "bankName": "Chase", 179 "createdAt": "2021-01-01T00:00:00Z", 180 "frozen": false, 181 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 182 "isDefaultDestination": true, 183 "isDefaultSource": true, 184 "metadata": {}, 185 "routingNumber": "12345678", 186 "status": "VERIFIED", 187 "supportedCurrencies": [ 188 "USD" 189 ], 190 "updatedAt": "2021-01-01T00:00:00Z" 191 } 192 ] 193 }, 194 "payerId": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", 195 "paymentDestination": { 196 "type": "check", 197 "addressLine1": "123 Main St", 198 "city": "New York", 199 "country": "US", 200 "createdAt": "2021-01-01T00:00:00Z", 201 "frozen": false, 202 "id": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18", 203 "isDefaultDestination": true, 204 "isDefaultSource": false, 205 "metadata": {}, 206 "payToTheOrderOf": "John Doe", 207 "postalCode": "10001", 208 "stateOrProvince": "NY", 209 "supportedCurrencies": [ 210 "USD" 211 ], 212 "updatedAt": "2021-01-01T00:00:00Z", 213 "addressLine2": "Apt 1" 214 }, 215 "paymentDestinationId": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18", 216 "paymentDestinationOptions": { 217 "type": "check", 218 "delivery": "MAIL", 219 "printDescription": true 220 }, 221 "paymentSource": { 222 "type": "bankAccount", 223 "accountName": "My Checking Account", 224 "accountNumber": "99988767623", 225 "accountType": "CHECKING", 226 "bankName": "Chase", 227 "createdAt": "2021-01-01T00:00:00Z", 228 "frozen": false, 229 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 230 "isDefaultDestination": true, 231 "isDefaultSource": true, 232 "metadata": {}, 233 "routingNumber": "12345678", 234 "status": "VERIFIED", 235 "supportedCurrencies": [ 236 "USD" 237 ], 238 "updatedAt": "2021-01-01T00:00:00Z" 239 }, 240 "paymentSourceId": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 241 "processedAt": "2021-01-01T00:00:00Z", 242 "serviceEndDate": "2021-01-31T00:00:00Z", 243 "serviceStartDate": "2021-01-01T00:00:00Z", 244 "settlementDate": "2021-01-03T00:00:00Z", 245 "transactions": [ 246 { 247 "type": "bankAccountToBankAccount", 248 "amount": 10000, 249 "createdAt": "2024-01-01T00:00:00Z", 250 "currency": "USD", 251 "id": "trx_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4", 252 "payer": { 253 "acceptedTos": true, 254 "accountType": "business", 255 "createdAt": "2024-01-01T00:00:00Z", 256 "email": "customer@acme.com", 257 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", 258 "isCustomer": true, 259 "isNetworkPayee": false, 260 "isNetworkPayor": false, 261 "isPayee": false, 262 "isPayor": true, 263 "name": "Acme Inc.", 264 "profile": { 265 "business": { 266 "legalBusinessName": "Acme Inc.", 267 "taxIDProvided": true, 268 "email": "customer@acme.com", 269 "businessType": "llc", 270 "phone": { 271 "countryCode": "1", 272 "number": "4155551234" 273 }, 274 "address": { 275 "addressLine1": "123 Main St", 276 "city": "San Francisco", 277 "stateOrProvince": "CA", 278 "postalCode": "94105", 279 "addressLine2": "Unit 1", 280 "country": "US" 281 }, 282 "ownersProvided": true, 283 "taxId": { 284 "ein": { 285 "number": "12-3456789" 286 } 287 } 288 } 289 }, 290 "status": "verified", 291 "updatedAt": "2024-01-02T00:00:00Z", 292 "accounts": [ 293 { 294 "accountId": "85866843", 295 "postalCode": "94105", 296 "nameOnAccount": "John Doe" 297 } 298 ], 299 "counterpartyType": [ 300 "ENTITY" 301 ], 302 "foreignId": "MY-DB-ID-12345", 303 "paymentMethods": [ 304 { 305 "type": "bankAccount", 306 "accountName": "My Checking Account", 307 "accountNumber": "99988767623", 308 "accountType": "CHECKING", 309 "bankName": "Chase", 310 "createdAt": "2021-01-01T00:00:00Z", 311 "frozen": false, 312 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 313 "isDefaultDestination": true, 314 "isDefaultSource": true, 315 "metadata": {}, 316 "routingNumber": "12345678", 317 "status": "VERIFIED", 318 "supportedCurrencies": [ 319 "USD" 320 ], 321 "updatedAt": "2021-01-01T00:00:00Z" 322 } 323 ] 324 }, 325 "payerId": "ent_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4", 326 "paymentDestination": { 327 "type": "bankAccount", 328 "accountName": "My Checking Account", 329 "accountNumber": "99988767623", 330 "accountType": "CHECKING", 331 "bankName": "Chase", 332 "createdAt": "2021-01-01T00:00:00Z", 333 "frozen": false, 334 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 335 "isDefaultDestination": true, 336 "isDefaultSource": true, 337 "metadata": {}, 338 "routingNumber": "12345678", 339 "status": "VERIFIED", 340 "supportedCurrencies": [ 341 "USD" 342 ], 343 "updatedAt": "2021-01-01T00:00:00Z" 344 }, 345 "paymentDestinationId": "pm_65523ab0-043d-4706-b2b2-0b73fed92269", 346 "paymentSource": { 347 "type": "bankAccount", 348 "accountName": "My Checking Account", 349 "accountNumber": "99988767623", 350 "accountType": "CHECKING", 351 "bankName": "Chase", 352 "createdAt": "2021-01-01T00:00:00Z", 353 "frozen": false, 354 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 355 "isDefaultDestination": true, 356 "isDefaultSource": true, 357 "metadata": {}, 358 "routingNumber": "12345678", 359 "status": "VERIFIED", 360 "supportedCurrencies": [ 361 "USD" 362 ], 363 "updatedAt": "2021-01-01T00:00:00Z" 364 }, 365 "paymentSourceId": "pm_65523ab0-043d-4706-b2b2-0b73fed92269", 366 "status": "COMPLETED", 367 "updatedAt": "2024-01-01T00:00:00Z", 368 "vendor": { 369 "acceptedTos": false, 370 "accountType": "business", 371 "createdAt": "2024-01-01T00:00:00Z", 372 "email": "vendor@bigboxstore.com", 373 "id": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d", 374 "isCustomer": false, 375 "isNetworkPayee": false, 376 "isNetworkPayor": false, 377 "isPayee": true, 378 "isPayor": false, 379 "name": "Big Box Store", 380 "profile": { 381 "business": { 382 "legalBusinessName": "Big Box Store", 383 "taxIDProvided": false, 384 "email": "vendor@bigboxstore.com", 385 "businessType": "publicCorporation", 386 "ownersProvided": false 387 } 388 }, 389 "status": "unverified", 390 "updatedAt": "2024-01-02T00:00:00Z", 391 "counterpartyType": [ 392 "ENTITY" 393 ], 394 "foreignId": "MY-DB-ID-90909", 395 "paymentMethods": [ 396 { 397 "type": "bankAccount", 398 "accountName": "Vendor Checking Account", 399 "accountNumber": "55934059697648", 400 "accountType": "CHECKING", 401 "bankName": "Chase", 402 "createdAt": "2021-01-01T00:00:00Z", 403 "frozen": false, 404 "id": "pm_7610541f-4619-4033-8620-cfccfb811293", 405 "isDefaultDestination": true, 406 "isDefaultSource": true, 407 "metadata": {}, 408 "routingNumber": "66554433", 409 "status": "NEW", 410 "supportedCurrencies": [ 411 "USD" 412 ], 413 "updatedAt": "2021-01-01T00:00:00Z" 414 } 415 ] 416 }, 417 "vendorId": "ent_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4" 418 } 419 ], 420 "vendor": { 421 "acceptedTos": false, 422 "accountType": "business", 423 "createdAt": "2024-01-01T00:00:00Z", 424 "email": "vendor@bigboxstore.com", 425 "id": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d", 426 "isCustomer": false, 427 "isNetworkPayee": false, 428 "isNetworkPayor": false, 429 "isPayee": true, 430 "isPayor": false, 431 "name": "Big Box Store", 432 "profile": { 433 "business": { 434 "legalBusinessName": "Big Box Store", 435 "taxIDProvided": false, 436 "email": "vendor@bigboxstore.com", 437 "businessType": "publicCorporation", 438 "ownersProvided": false 439 } 440 }, 441 "status": "unverified", 442 "updatedAt": "2024-01-02T00:00:00Z", 443 "counterpartyType": [ 444 "ENTITY" 445 ], 446 "foreignId": "MY-DB-ID-90909", 447 "paymentMethods": [ 448 { 449 "type": "bankAccount", 450 "accountName": "Vendor Checking Account", 451 "accountNumber": "55934059697648", 452 "accountType": "CHECKING", 453 "bankName": "Chase", 454 "createdAt": "2021-01-01T00:00:00Z", 455 "frozen": false, 456 "id": "pm_7610541f-4619-4033-8620-cfccfb811293", 457 "isDefaultDestination": true, 458 "isDefaultSource": true, 459 "metadata": {}, 460 "routingNumber": "66554433", 461 "status": "NEW", 462 "supportedCurrencies": [ 463 "USD" 464 ], 465 "updatedAt": "2021-01-01T00:00:00Z" 466 } 467 ] 468 }, 469 "vendorId": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d" 470 }, 471 "user": { 472 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb", 473 "roles": [ 474 "admin", 475 "approver" 476 ], 477 "createdAt": "2024-01-01T00:00:00Z", 478 "updatedAt": "2024-01-01T00:00:00Z", 479 "foreignId": "MY-DB-ID-12345", 480 "email": "john.doe@acme.com", 481 "name": "John Doe" 482 } 483 }
1 { 2 "eventType": "invoice.deleted", 3 "invoice": { 4 "approvalPolicy": [ 5 { 6 "id": "apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c", 7 "trigger": [ 8 { 9 "type": "amount", 10 "amount": 100, 11 "currency": "USD" 12 } 13 ], 14 "rule": { 15 "type": "approver", 16 "identifierList": { 17 "type": "rolesList", 18 "value": [ 19 "Admin", 20 "Controller" 21 ] 22 }, 23 "numApprovers": 2 24 }, 25 "upstreamPolicyId": "root", 26 "createdAt": "2024-01-01T00:00:00Z", 27 "updatedAt": "2024-01-02T00:00:00Z" 28 } 29 ], 30 "approvers": [ 31 { 32 "approvalPolicyId": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c", 33 "approvalSlotId": "inap_9bb311c9-7c15-4c9e-8148-63814e0abec6", 34 "action": "APPROVE", 35 "eligibleRoles": [ 36 "admin" 37 ], 38 "eligibleUserIds": [ 39 "user_e24fc81c-c5ee-47e8-af42-4fe29d895506" 40 ], 41 "date": "2021-01-01T00:00:00Z", 42 "assignedUserId": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506" 43 } 44 ], 45 "createdAt": "2021-01-01T00:00:00Z", 46 "hasDocuments": true, 47 "hasSourceEmail": true, 48 "id": "in_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9", 49 "metadata": { 50 "key1": "value1", 51 "key2": "value2" 52 }, 53 "paymentDestinationConfirmed": true, 54 "status": "PAID", 55 "updatedAt": "2021-01-01T00:00:00Z", 56 "amount": 100, 57 "comments": [ 58 { 59 "id": "ic_b3525b66-da94-4525-9f31-426bcf657128", 60 "text": "This is an approval comment", 61 "createdAt": "2021-01-01T00:00:00Z", 62 "updatedAt": "2021-01-01T00:00:00Z", 63 "user": { 64 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb", 65 "roles": [ 66 "admin", 67 "approver" 68 ], 69 "createdAt": "2024-01-01T00:00:00Z", 70 "updatedAt": "2024-01-01T00:00:00Z", 71 "foreignId": "MY-DB-ID-12345", 72 "email": "john.doe@acme.com", 73 "name": "John Doe" 74 }, 75 "associatedApprovalAction": { 76 "userId": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506", 77 "action": "APPROVE" 78 } 79 } 80 ], 81 "creatorUser": { 82 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb", 83 "roles": [ 84 "admin", 85 "approver" 86 ], 87 "createdAt": "2024-01-01T00:00:00Z", 88 "updatedAt": "2024-01-01T00:00:00Z", 89 "foreignId": "MY-DB-ID-12345", 90 "email": "john.doe@acme.com", 91 "name": "John Doe" 92 }, 93 "currency": "USD", 94 "deductionDate": "2021-01-01T00:00:00Z", 95 "dueDate": "2021-01-31T00:00:00Z", 96 "foreignId": "YOUR-DATABASE-ID", 97 "invoiceDate": "2021-01-01T00:00:00Z", 98 "invoiceNumber": "INV-123", 99 "lineItems": [ 100 { 101 "id": "inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7", 102 "currency": "USD", 103 "category": "EXPENSE", 104 "createdAt": "2021-01-01T00:00:00Z", 105 "updatedAt": "2021-01-01T00:00:00Z", 106 "amount": 100, 107 "description": "Product A", 108 "name": "Product A", 109 "quantity": 1, 110 "unitPrice": 100, 111 "serviceStartDate": "2021-01-01T00:00:00Z", 112 "serviceEndDate": "2021-01-31T00:00:00Z", 113 "metadata": { 114 "key1": "value1", 115 "key2": "value2" 116 }, 117 "glAccountId": "600394" 118 } 119 ], 120 "noteToSelf": "For the month of January", 121 "payer": { 122 "acceptedTos": true, 123 "accountType": "business", 124 "createdAt": "2024-01-01T00:00:00Z", 125 "email": "customer@acme.com", 126 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", 127 "isCustomer": true, 128 "isNetworkPayee": false, 129 "isNetworkPayor": false, 130 "isPayee": false, 131 "isPayor": true, 132 "name": "Acme Inc.", 133 "profile": { 134 "business": { 135 "legalBusinessName": "Acme Inc.", 136 "taxIDProvided": true, 137 "email": "customer@acme.com", 138 "businessType": "llc", 139 "phone": { 140 "countryCode": "1", 141 "number": "4155551234" 142 }, 143 "address": { 144 "addressLine1": "123 Main St", 145 "city": "San Francisco", 146 "stateOrProvince": "CA", 147 "postalCode": "94105", 148 "addressLine2": "Unit 1", 149 "country": "US" 150 }, 151 "ownersProvided": true, 152 "taxId": { 153 "ein": { 154 "number": "12-3456789" 155 } 156 } 157 } 158 }, 159 "status": "verified", 160 "updatedAt": "2024-01-02T00:00:00Z", 161 "accounts": [ 162 { 163 "accountId": "85866843", 164 "postalCode": "94105", 165 "nameOnAccount": "John Doe" 166 } 167 ], 168 "counterpartyType": [ 169 "ENTITY" 170 ], 171 "foreignId": "MY-DB-ID-12345", 172 "paymentMethods": [ 173 { 174 "type": "bankAccount", 175 "accountName": "My Checking Account", 176 "accountNumber": "99988767623", 177 "accountType": "CHECKING", 178 "bankName": "Chase", 179 "createdAt": "2021-01-01T00:00:00Z", 180 "frozen": false, 181 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 182 "isDefaultDestination": true, 183 "isDefaultSource": true, 184 "metadata": {}, 185 "routingNumber": "12345678", 186 "status": "VERIFIED", 187 "supportedCurrencies": [ 188 "USD" 189 ], 190 "updatedAt": "2021-01-01T00:00:00Z" 191 } 192 ] 193 }, 194 "payerId": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", 195 "paymentDestination": { 196 "type": "check", 197 "addressLine1": "123 Main St", 198 "city": "New York", 199 "country": "US", 200 "createdAt": "2021-01-01T00:00:00Z", 201 "frozen": false, 202 "id": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18", 203 "isDefaultDestination": true, 204 "isDefaultSource": false, 205 "metadata": {}, 206 "payToTheOrderOf": "John Doe", 207 "postalCode": "10001", 208 "stateOrProvince": "NY", 209 "supportedCurrencies": [ 210 "USD" 211 ], 212 "updatedAt": "2021-01-01T00:00:00Z", 213 "addressLine2": "Apt 1" 214 }, 215 "paymentDestinationId": "pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18", 216 "paymentDestinationOptions": { 217 "type": "check", 218 "delivery": "MAIL", 219 "printDescription": true 220 }, 221 "paymentSource": { 222 "type": "bankAccount", 223 "accountName": "My Checking Account", 224 "accountNumber": "99988767623", 225 "accountType": "CHECKING", 226 "bankName": "Chase", 227 "createdAt": "2021-01-01T00:00:00Z", 228 "frozen": false, 229 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 230 "isDefaultDestination": true, 231 "isDefaultSource": true, 232 "metadata": {}, 233 "routingNumber": "12345678", 234 "status": "VERIFIED", 235 "supportedCurrencies": [ 236 "USD" 237 ], 238 "updatedAt": "2021-01-01T00:00:00Z" 239 }, 240 "paymentSourceId": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 241 "processedAt": "2021-01-01T00:00:00Z", 242 "serviceEndDate": "2021-01-31T00:00:00Z", 243 "serviceStartDate": "2021-01-01T00:00:00Z", 244 "settlementDate": "2021-01-03T00:00:00Z", 245 "transactions": [ 246 { 247 "type": "bankAccountToBankAccount", 248 "amount": 10000, 249 "createdAt": "2024-01-01T00:00:00Z", 250 "currency": "USD", 251 "id": "trx_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4", 252 "payer": { 253 "acceptedTos": true, 254 "accountType": "business", 255 "createdAt": "2024-01-01T00:00:00Z", 256 "email": "customer@acme.com", 257 "id": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", 258 "isCustomer": true, 259 "isNetworkPayee": false, 260 "isNetworkPayor": false, 261 "isPayee": false, 262 "isPayor": true, 263 "name": "Acme Inc.", 264 "profile": { 265 "business": { 266 "legalBusinessName": "Acme Inc.", 267 "taxIDProvided": true, 268 "email": "customer@acme.com", 269 "businessType": "llc", 270 "phone": { 271 "countryCode": "1", 272 "number": "4155551234" 273 }, 274 "address": { 275 "addressLine1": "123 Main St", 276 "city": "San Francisco", 277 "stateOrProvince": "CA", 278 "postalCode": "94105", 279 "addressLine2": "Unit 1", 280 "country": "US" 281 }, 282 "ownersProvided": true, 283 "taxId": { 284 "ein": { 285 "number": "12-3456789" 286 } 287 } 288 } 289 }, 290 "status": "verified", 291 "updatedAt": "2024-01-02T00:00:00Z", 292 "accounts": [ 293 { 294 "accountId": "85866843", 295 "postalCode": "94105", 296 "nameOnAccount": "John Doe" 297 } 298 ], 299 "counterpartyType": [ 300 "ENTITY" 301 ], 302 "foreignId": "MY-DB-ID-12345", 303 "paymentMethods": [ 304 { 305 "type": "bankAccount", 306 "accountName": "My Checking Account", 307 "accountNumber": "99988767623", 308 "accountType": "CHECKING", 309 "bankName": "Chase", 310 "createdAt": "2021-01-01T00:00:00Z", 311 "frozen": false, 312 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 313 "isDefaultDestination": true, 314 "isDefaultSource": true, 315 "metadata": {}, 316 "routingNumber": "12345678", 317 "status": "VERIFIED", 318 "supportedCurrencies": [ 319 "USD" 320 ], 321 "updatedAt": "2021-01-01T00:00:00Z" 322 } 323 ] 324 }, 325 "payerId": "ent_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4", 326 "paymentDestination": { 327 "type": "bankAccount", 328 "accountName": "My Checking Account", 329 "accountNumber": "99988767623", 330 "accountType": "CHECKING", 331 "bankName": "Chase", 332 "createdAt": "2021-01-01T00:00:00Z", 333 "frozen": false, 334 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 335 "isDefaultDestination": true, 336 "isDefaultSource": true, 337 "metadata": {}, 338 "routingNumber": "12345678", 339 "status": "VERIFIED", 340 "supportedCurrencies": [ 341 "USD" 342 ], 343 "updatedAt": "2021-01-01T00:00:00Z" 344 }, 345 "paymentDestinationId": "pm_65523ab0-043d-4706-b2b2-0b73fed92269", 346 "paymentSource": { 347 "type": "bankAccount", 348 "accountName": "My Checking Account", 349 "accountNumber": "99988767623", 350 "accountType": "CHECKING", 351 "bankName": "Chase", 352 "createdAt": "2021-01-01T00:00:00Z", 353 "frozen": false, 354 "id": "pm_4794d597-70dc-4fec-b6ec-c5988e759769", 355 "isDefaultDestination": true, 356 "isDefaultSource": true, 357 "metadata": {}, 358 "routingNumber": "12345678", 359 "status": "VERIFIED", 360 "supportedCurrencies": [ 361 "USD" 362 ], 363 "updatedAt": "2021-01-01T00:00:00Z" 364 }, 365 "paymentSourceId": "pm_65523ab0-043d-4706-b2b2-0b73fed92269", 366 "status": "COMPLETED", 367 "updatedAt": "2024-01-01T00:00:00Z", 368 "vendor": { 369 "acceptedTos": false, 370 "accountType": "business", 371 "createdAt": "2024-01-01T00:00:00Z", 372 "email": "vendor@bigboxstore.com", 373 "id": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d", 374 "isCustomer": false, 375 "isNetworkPayee": false, 376 "isNetworkPayor": false, 377 "isPayee": true, 378 "isPayor": false, 379 "name": "Big Box Store", 380 "profile": { 381 "business": { 382 "legalBusinessName": "Big Box Store", 383 "taxIDProvided": false, 384 "email": "vendor@bigboxstore.com", 385 "businessType": "publicCorporation", 386 "ownersProvided": false 387 } 388 }, 389 "status": "unverified", 390 "updatedAt": "2024-01-02T00:00:00Z", 391 "counterpartyType": [ 392 "ENTITY" 393 ], 394 "foreignId": "MY-DB-ID-90909", 395 "paymentMethods": [ 396 { 397 "type": "bankAccount", 398 "accountName": "Vendor Checking Account", 399 "accountNumber": "55934059697648", 400 "accountType": "CHECKING", 401 "bankName": "Chase", 402 "createdAt": "2021-01-01T00:00:00Z", 403 "frozen": false, 404 "id": "pm_7610541f-4619-4033-8620-cfccfb811293", 405 "isDefaultDestination": true, 406 "isDefaultSource": true, 407 "metadata": {}, 408 "routingNumber": "66554433", 409 "status": "NEW", 410 "supportedCurrencies": [ 411 "USD" 412 ], 413 "updatedAt": "2021-01-01T00:00:00Z" 414 } 415 ] 416 }, 417 "vendorId": "ent_bb08e72f-19f8-45f3-bcf9-46fdc46cb2f4" 418 } 419 ], 420 "vendor": { 421 "acceptedTos": false, 422 "accountType": "business", 423 "createdAt": "2024-01-01T00:00:00Z", 424 "email": "vendor@bigboxstore.com", 425 "id": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d", 426 "isCustomer": false, 427 "isNetworkPayee": false, 428 "isNetworkPayor": false, 429 "isPayee": true, 430 "isPayor": false, 431 "name": "Big Box Store", 432 "profile": { 433 "business": { 434 "legalBusinessName": "Big Box Store", 435 "taxIDProvided": false, 436 "email": "vendor@bigboxstore.com", 437 "businessType": "publicCorporation", 438 "ownersProvided": false 439 } 440 }, 441 "status": "unverified", 442 "updatedAt": "2024-01-02T00:00:00Z", 443 "counterpartyType": [ 444 "ENTITY" 445 ], 446 "foreignId": "MY-DB-ID-90909", 447 "paymentMethods": [ 448 { 449 "type": "bankAccount", 450 "accountName": "Vendor Checking Account", 451 "accountNumber": "55934059697648", 452 "accountType": "CHECKING", 453 "bankName": "Chase", 454 "createdAt": "2021-01-01T00:00:00Z", 455 "frozen": false, 456 "id": "pm_7610541f-4619-4033-8620-cfccfb811293", 457 "isDefaultDestination": true, 458 "isDefaultSource": true, 459 "metadata": {}, 460 "routingNumber": "66554433", 461 "status": "NEW", 462 "supportedCurrencies": [ 463 "USD" 464 ], 465 "updatedAt": "2021-01-01T00:00:00Z" 466 } 467 ] 468 }, 469 "vendorId": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d" 470 }, 471 "user": { 472 "id": "user_ec3aafc8-ea86-408a-a6c1-545497badbbb", 473 "roles": [ 474 "admin", 475 "approver" 476 ], 477 "createdAt": "2024-01-01T00:00:00Z", 478 "updatedAt": "2024-01-01T00:00:00Z", 479 "foreignId": "MY-DB-ID-12345", 480 "email": "john.doe@acme.com", 481 "name": "John Doe" 482 } 483 }