{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "vc001",
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "abc123",
"individual_name": null,
"company_name": "Widgets & Co",
"email": null,
"mobile_phone": null,
"office_phone": null,
"address_string": null,
"notes": null,
"status": "ACTIVE",
"transaction_tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "ExampleTagKey",
"value": "ExampleTagValue",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": null
}
]
},
"sent_at": "2023-11-07T05:31:56Z",
"line_items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ledger_account": {
"id": {
"type": "AccountId",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "Sales",
"stable_name": {
"type": "StableName",
"stable_name": "SALES"
},
"normality": "CREDIT",
"account_type": {
"value": "REVENUE",
"display_name": "Revenue"
},
"account_subtype": {
"value": "SALES",
"display_name": "Sales"
}
},
"amount": 123,
"memo": null
}
],
"allocations": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customer_credit_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 123
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": null,
"transaction_tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "ExampleTagKey",
"value": "ExampleTagValue",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": null
}
],
"metadata": null
}
}