Codat Get Accounting Invoice Example is an example object payload from Codat, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "get-accounting-invoice",
"method": "GET",
"path": "/companies/{companyId}/data/invoices/{invoiceId}",
"summary": "Get invoice",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"name": "Clear Books",
"example": {
"id": "2518ca08-5e2a-4630-8cee-a6bcd1625660",
"invoiceNumber": "TKj7oD38",
"customerRef": {
"id": "d65ac505-072c-49ec-be3c-3cb74228966d",
"companyName": "Jensen Steuber"
},
"salesOrderRefs": [],
"issueDate": "2022-04-25T13:04:02",
"dueDate": "2022-04-25T13:04:02",
"modifiedDate": "2023-04-26T12:38:17Z",
"sourceModifiedDate": "2023-01-28T14:41:02",
"paidOnDate": "2022-04-25T13:04:02",
"currency": "GBP",
"currencyRate": 1,
"lineItems": [
{
"description": "Heavy Duty Hinged Gully Grating x4.00",
"unitAmount": 402.89,
"quantity": 4,
"subTotal": 1611.56,
"taxAmount": 161.16,
"totalAmount": 1772.72,
"accountRef": {
"id": "dbcaf288-2b39-4b95-8ab3-42202ab15918",
"name": "Business Current Account"
},
"taxRateRef": {
"id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
"name": "Sales Tax (10%)",
"effectiveTaxRate": 10
},
"itemRef": {
"id": "3abf0883-03f7-44c6-bc15-1372522d25e1",
"name": "Heavy Duty Hinged Gully Grating"
},
"trackingCategoryRefs": [
{
"id": "costcode_9",
"name": "PandaConstruction"
}
],
"isDirectIncome": true
}
],
"paymentAllocations": [
{
"payment": {
"id": "9407d5ee-893a-4547-bd89-bc7b795ee774",
"note": "Payment against invoice 2518ca08-5e2a-4630-8cee-a6bcd1625660",
"reference": "2518ca08-5e2a-4630-8cee-a6bcd1625660",
"accountRef": {
"id": "dbcaf288-2b39-4b95-8ab3-42202ab15918",
"name": "Business Current Account"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2022-04-25T13:04:02",
"totalAmount": 1772.72
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"allocatedOnDate": "2022-04-25T13:04:02",
"totalAmount": -1772.72
}
}
],
"withholdingTax": [],
"totalDiscount": 0,
"subTotal": 1611.56,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 161.16,
"totalAmount": 1772.72,
"amountDue": 0,
"discountPercentage": 0,
"status": "Paid",
"metadata": {
"isDeleted": false
}
}
},
{
"status": "200",
"contentType": "application/json",
"name": "Dynamics 365 Business Central",
"example": {
"id": "18c906bf-89d1-ea11-bbaa-000d3a2b9185",
"invoiceNumber": "103001",
"customerRef": {
"id": "b61217b3-89d1-ea11-bbaa-000d3a2b9185",
"companyName": "Trey Researches"
},
"salesOrderRefs": [],
"issueDate": "2019-01-15T00:00:00",
"dueDate": "2019-01-15T00:00:00",
"modifiedDate": "2023-03-27T14:21:25Z",
"sourceModifiedDate": "2022-05-17T16:29:00Z",
"paidOnDate": "2019-01-15T00:00:00",
"currency": "GBP",
"lineItems": [
{
"description": "AMSTERDAM Lamp",
"unitAmount": 35.6,
"quantity": 3,
"discountAmount": 0,
"subTotal": 106.8,
"taxAmount": 21.36,
"totalAmount": 128.16,
"accountRef": {
"id": "181217b3-89d1-ea11-bbaa-000d3a2b9185",
"name": "Income, Product Sales"
},
"discountPercentage": 0,
"taxRateRef": {
"id": "63bc0fb9-89d1-ea11-bbaa-000d3a2b9185",
"name": "Setup for DOMESTIC / STANDARD",
"effectiveTaxRate": 10
},
"itemRef": {
"id": "ITEM-d41217b3-89d1-ea11-bbaa-000d3a2b9185-DOMESTIC-DOMESTIC",
"name": "AMSTERDAM Lamp / General Business Posting Group: 'DOMESTIC' / VAT Business Posting Group: 'DOMESTIC'"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [
{
"payment": {
"id": "e0299ced-89d1-ea11-bbaa-000d3a2b9185",
"note": "Invoice 102001",
"reference": "Document No: 103001",
"accountRef": {
"id": "621217b3-89d1-ea11-bbaa-000d3a2b9185",
"name": "Petty Cash"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2019-01-15T00:00:00",
"totalAmount": 128.16
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"allocatedOnDate": "2019-01-15T00:00:00",
"totalAmount": -128.16
}
}
],
"withholdingTax": [],
"totalDiscount": 0,
"subTotal": 106.8,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 21.36,
"totalAmount": 128.16,
"amountDue": 0,
"discountPercentage": 0,
"status": "Paid",
"note": "",
"metadata": {
"isDeleted": false
}
}
},
{
"status": "200",
"contentType": "application/json",
"name": "Exact (Netherlands)",
"example": {
"id": "91dccc63-b1af-4363-bee0-2aec6bab1bef",
"invoiceNumber": "19700002",
"customerRef": {
"id": "c3bf08a3-4d51-4859-acbb-5075f9484f87",
"companyName": "Mr Abe"
},
"salesOrderRefs": [],
"issueDate": "2019-11-08T00:00:00Z",
"dueDate": "2019-11-29T00:00:00Z",
"modifiedDate": "2022-10-26T13:57:52Z",
"sourceModifiedDate": "2019-11-08T11:56:22Z",
"currency": "EUR",
"currencyRate": 1,
"lineItems": [
{
"description": "Consultancy per uur - Consultancy per uur",
"unitAmount": 75,
"quantity": 8,
"discountAmount": 0,
"subTotal": 600,
"taxAmount": 0,
"totalAmount": 600,
"accountRef": {
"id": "2421e8a0-5355-4ec0-af11-021fe4f39fcd",
"name": "Omzet binnenland hoog tarief"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [],
"withholdingTax": [],
"subTotal": 600,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 0,
"totalAmount": 600,
"amountDue": 599,
"discountPercentage": 0,
"status": "PartiallyPaid"
}
},
{
"status": "200",
"contentType": "application/json",
"name": "Exact (UK)",
"example": {
"id": "a05d1256-f253-46bd-aa13-c6f6a992aa47",
"invoiceNumber": "17700002",
"customerRef": {
"id": "570321bb-8b0c-49f1-a1f5-6fb1d6d94a62",
"companyName": "Some customer"
},
"salesOrderRefs": [],
"issueDate": "2017-08-02T00:00:00Z",
"dueDate": "2017-09-01T00:00:00Z",
"modifiedDate": "2022-10-26T13:39:08Z",
"sourceModifiedDate": "2017-08-02T18:23:43Z",
"currency": "GBP",
"currencyRate": 1,
"lineItems": [
{
"description": "A bunch of stuff - A bunch of stuff",
"unitAmount": 100,
"quantity": 1000,
"discountAmount": 0,
"subTotal": 100000,
"taxAmount": 0,
"totalAmount": 100000,
"accountRef": {
"id": "43acd218-6a95-445f-994c-660273e0ced9",
"name": "Sales"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [],
"withholdingTax": [],
"subTotal": 100000,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 0,
"totalAmount": 100000,
"amountDue": 0,
"discountPercentage": 0,
"status": "Paid"
}
},
{
"status": "200",
"contentType": "application/json",
"name": "FreeAgent",
"example": {
"id": "50541736",
"invoiceNumber": "2348",
"customerRef": {
"id": "10123537",
"companyName": "_Test 1"
},
"salesOrderRefs": [],
"issueDate": "2016-12-30T00:00:00",
"dueDate": "2016-12-30T00:00:00",
"modifiedDate": "2023-04-25T14:19:19Z",
"sourceModifiedDate": "2022-10-20T14:28:00Z",
"paidOnDate": "2020-11-05T00:00:00",
"currency": "GBP",
"currencyRate": 1,
"lineItems": [
{
"description": "3.0 items with VatPercentage of 0.0",
"unitAmount": 25.26,
"quantity": 1,
"discountAmount": 0,
"subTotal": 25.26,
"taxAmount": 0,
"totalAmount": 25.26,
"accountRef": {
"id": "001",
"name": "Sales"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
},
{
"description": "3 service charges with 0.0% vat",
"unitAmount": 8.85,
"quantity": 1,
"discountAmount": 0,
"subTotal": 8.85,
"taxAmount": 0,
"totalAmount": 8.85,
"accountRef": {
"id": "001",
"name": "Sales"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
},
{
"description": "Tax",
"unitAmount": 0,
"quantity": 1,
"discountAmount": 0,
"subTotal": 0,
"taxAmount": 0,
"totalAmount": 0,
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [
{
"payment": {
"id": "262466203",
"note": "E2E Test transaction 2 CREDIT \ufffd250.00 - Invoice receipt against 2348",
"currency": "GBP",
"paidOnDate": "2020-11-05T00:00:00",
"totalAmount": 250
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -34.11
}
}
],
"withholdingTax": [],
"subTotal": 34.11,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 0,
"totalAmount": 34.11,
"amountDue": 0,
"status": "Paid",
"metadata": {
"isDeleted": false
}
}
},
{
"status": "200",
"contentType": "application/json",
"name": "FreshBooks",
"example": {
"id": "2596455",
"invoiceNumber": "test-AL",
"customerRef": {
"id": "602174",
"companyName": "ab1"
},
"salesOrderRefs": [],
"issueDate": "1987-10-01T00:00:00",
"dueDate": "1987-10-01T00:00:00",
"modifiedDate": "2023-03-24T16:07:23Z",
"sourceModifiedDate": "2023-03-03T09:27:42",
"paidOnDate": "2023-03-03T00:00:00",
"currency": "USD",
"lineItems": [
{
"description": "Editing creative writing for a client",
"unitAmount": 222.88,
"quantity": 1,
"discountAmount": 0,
"subTotal": 222.88,
"taxAmount": 0,
"totalAmount": 222.88,
"itemRef": {
"id": "639579",
"name": "Creative Writing Editorial"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
},
{
"description": "",
"unitAmount": 0,
"quantity": 1,
"discountAmount": 0,
"subTotal": 0,
"taxAmount": 0,
"totalAmount": 0,
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [
{
"payment": {
"id": "2570292",
"note": "",
"currency": "USD",
"paidOnDate": "2023-03-03T00:00:00",
"totalAmount": 0.17
},
"allocation": {
"currency": "USD",
"currencyRate": 1,
"totalAmount": -0.17
}
}
],
"withholdingTax": [],
"totalDiscount": 0,
"subTotal": 222.88,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 0,
"totalAmount": 222.88,
"amountDue": 222.71,
"status": "Submitted",
"note": "",
"metadata": {
"isDeleted": false
}
}
},
{
"status": "200",
"contentType": "application/json",
"name": "KashFlow",
"example": {
"id": "143008521",
"invoiceNumber": "40",
"customerRef": {
"id": "86832299",
"companyName": "Mr French Person"
},
"salesOrderRefs": [],
"issueDate": "2005-12-15T00:00:00",
"dueDate": "2006-01-12T00:00:00",
"modifiedDate": "2022-09-30T10:29:15Z",
"currency": "EUR",
"currencyRate": 0.844737287,
"lineItems": [
{
"unitAmount": 0,
"quantity": 0,
"subTotal": 0,
"taxAmount": 0,
"totalAmount": 0,
"accountRef": {
"id": "0"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [],
"withholdingTax": [],
"subTotal": 0,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 0,
"totalAmount": 0,
"amountDue": 0,
"status": "Paid"
}
},
{
"status": "200",
"contentType": "application/json",
"name": "Oracle NetSuite",
"example": {
"id": "416",
"invoiceNumber": "INV01",
"customerRef": {
"id": "417",
"companyName": "10 Breww Ltd"
},
"salesOrderRefs": [],
"issueDate": "2021-04-09T00:00:00",
"dueDate": "2021-04-30T00:00:00",
"modifiedDate": "2022-09-20T08:16:10Z",
"sourceModifiedDate": "2021-08-25T15:55:36",
"paidOnDate": "2021-04-20T00:00:00",
"currency": "GBP",
"currencyRate": 1,
"lineItems": [
{
"description": "Non-Recurring Services - EC",
"unitAmount": 100,
"quantity": 1,
"subTotal": 100,
"totalAmount": 100,
"accountRef": {
"id": "54",
"name": "Sales"
},
"itemRef": {
"id": "28",
"name": "Non-Recurring Services - EC"
},
"trackingCategoryRefs": [
{
"id": "location-1"
}
],
"isDirectIncome": false
}
],
"paymentAllocations": [
{
"payment": {
"id": "428",
"reference": "Payment #PYMT01",
"accountRef": {
"id": "122",
"name": "Undeposited Funds"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2021-04-20T00:00:00",
"totalAmount": 90
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -90
}
},
{
"payment": {
"id": "428",
"reference": "Payment #PYMT01",
"accountRef": {
"id": "122",
"name": "Undeposited Funds"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2021-04-20T00:00:00",
"totalAmount": 90
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -10
}
}
],
"withholdingTax": [],
"totalDiscount": 0,
"subTotal": 100,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 0,
"totalAmount": 100,
"amountDue": 0,
"status": "Paid"
}
},
{
"status": "200",
"contentType": "application/json",
"name": "QuickBooks Desktop",
"example": {
"id": "2453-1071526256",
"invoiceNumber": "975",
"customerRef": {
"id": "420000-1071522044",
"companyName": "Prentice, Adelaide"
},
"salesOrderRefs": [],
"issueDate": "2022-11-28T00:00:00",
"dueDate": "2023-12-28T00:00:00",
"modifiedDate": "2023-04-26T09:08:12Z",
"sourceModifiedDate": "2023-12-16T05:06:11",
"paidOnDate": "2023-01-15T00:00:00",
"currency": "GBP",
"currencyRate": 1,
"lineItems": [
{
"description": "Foundation slab - prep and pouring",
"unitAmount": 167.5,
"quantity": 1,
"subTotal": 167.5,
"taxAmount": 0,
"totalAmount": 167.5,
"taxRateRef": {
"id": "20000-999022286",
"name": "Non-Taxable Sales"
},
"itemRef": {
"id": "320000-1071525597",
"name": "Concrete Slab"
},
"trackingCategoryRefs": [
{
"id": "10000-933272658",
"name": "New Construction"
}
],
"isDirectIncome": false
},
{
"unitAmount": 0,
"quantity": 1,
"subTotal": 0,
"taxAmount": 0,
"totalAmount": 0,
"trackingCategoryRefs": [],
"isDirectIncome": false
},
{
"description": "Rough lumber",
"unitAmount": 48,
"quantity": 1,
"subTotal": 48,
"taxAmount": 0,
"totalAmount": 48,
"taxRateRef": {
"id": "10000-999022286",
"name": "Taxable Sales"
},
"itemRef": {
"id": "1C0000-933272656",
"name": "Lumber:Rough"
},
"trackingCategoryRefs": [
{
"id": "10000-933272658",
"name": "New Construction"
}
],
"isDirectIncome": false
},
{
"description": "Trim lumber",
"unitAmount": 38,
"quantity": 1,
"subTotal": 38,
"taxAmount": 0,
"totalAmount": 38,
"taxRateRef": {
"id": "10000-999022286",
"name": "Taxable Sales"
},
"itemRef": {
"id": "1D0000-933272656",
"name": "Lumber:Trim"
},
"trackingCategoryRefs": [
{
"id": "10000-933272658",
"name": "New Construction"
}
],
"isDirectIncome": false
},
{
"description": "Window",
"unitAmount": 25,
"quantity": 2,
"subTotal": 50,
"taxAmount": 0,
"totalAmount": 50,
"taxRateRef": {
"id": "10000-999022286",
"name": "Taxable Sales"
},
"itemRef": {
"id": "1F0000-933272656",
"name": "Window"
},
"trackingCategoryRefs": [
{
"id": "10000-933272658",
"name": "New Construction"
}
],
"isDirectIncome": false
},
{
"description": "Flooring",
"unitAmount": 50,
"quantity": 1,
"subTotal": 50,
"taxAmount": 0,
"totalAmount": 50,
"taxRateRef": {
"id": "10000-999022286",
"name": "Taxable Sales"
},
"itemRef": {
"id": "310000-1071509547",
"name": "Flooring"
},
"trackingCategoryRefs": [
{
"id": "10000-933272658",
"name": "New Construction"
}
],
"isDirectIncome": false
},
{
"description": "Window",
"unitAmount": 30,
"quantity": 2,
"subTotal": 60,
"taxAmount": 0,
"totalAmount": 60,
"taxRateRef": {
"id": "10000-999022286",
"name": "Taxable Sales"
},
"itemRef": {
"id": "1F0000-933272656",
"name": "Window"
},
"trackingCategoryRefs": [
{
"id": "10000-933272658",
"name": "New Construction"
}
],
"isDirectIncome": false
}
],
"paymentAllocations": [
{
"payment": {
"id": "6973-1197775625",
"note": "Check - 80000-933270541",
"reference": "983409",
"accountRef": {
"id": "80000-933270541",
"name": "Undeposited Funds"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2023-01-15T00:00:00",
"totalAmount": 431.95
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -431.95
}
}
],
"withholdingTax": [],
"totalDiscount": 0,
"subTotal": 413.5,
"additionalTaxAmount": 0,
"additionalTaxPercentage": 0,
"totalTaxAmount": 18.45,
"totalAmount": 431.95,
"amountDue": 0,
"discountPercentage": 0,
"status": "Paid",
"metadata": {
"isDeleted": false
}
}
},
{
"status": "200",
"contentType": "application/json",
"name": "QuickBooks Online",
"example": {
"id": "16",
"invoiceNumber": "1001",
"customerRef": {
"id": "3",
"companyName": "Information Sharing Technology"
},
"salesOrderRefs": [],
"issueDate": "2019-02-18T00:00:00",
"dueDate": "2019-03-20T00:00:00",
"modifiedDate": "2023-01-18T11:03:02Z",
"sourceModifiedDate": "2022-09-20T10:12:08Z",
"paidOnDate": "2020-06-01T00:00:00",
"currency": "GBP",
"currencyRate": 1,
"lineItems": [
{
"description": "Service",
"unitAmount": 500,
"quantity": 10,
"subTotal": 5000,
"taxAmount": 0,
"totalAmount": 5000,
"accountRef": {
"id": "1",
"name": "Sales"
},
"itemRef": {
"id": "1",
"name": "Sales"
},
"trackingCategoryRefs": [],
"isDirectIncome": false
}
],
"paymentAllocations": [
{
"payment": {
"id": "116",
"note": "Payments of type Prepaid",
"reference": "114213",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-10T00:00:00",
"totalAmount": 65.77
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -23.86
}
},
{
"payment": {
"id": "122",
"note": "Payments of type Cash",
"reference": "121197",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-10T00:00:00",
"totalAmount": 771.61
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -16.31
}
},
{
"payment": {
"id": "123",
"note": "Payments of type Prepaid",
"reference": "121293",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-10T00:00:00",
"totalAmount": 34.45
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -34.45
}
},
{
"payment": {
"id": "132",
"note": "Payments of type Prepaid",
"reference": "13022",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-10T00:00:00",
"totalAmount": 47.38
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -42.36
}
},
{
"payment": {
"id": "140",
"note": "Payments of type Cash",
"reference": "139163",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-13T00:00:00",
"totalAmount": 1078.72
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -13.71
}
},
{
"payment": {
"id": "141",
"note": "Payments of type Prepaid",
"reference": "139288",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-13T00:00:00",
"totalAmount": 27.88
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -27.88
}
},
{
"payment": {
"id": "149",
"note": "Payments of type Cash",
"reference": "148151",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-13T00:00:00",
"totalAmount": 643.97
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -22.26
}
},
{
"payment": {
"id": "150",
"note": "Payments of type Prepaid",
"reference": "148217",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-13T00:00:00",
"totalAmount": 11.57
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -11.57
}
},
{
"payment": {
"id": "157",
"note": "Payments of type Prepaid",
"reference": "155266",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-15T00:00:00",
"totalAmount": 14.32
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -4.87
}
},
{
"payment": {
"id": "165",
"note": "Payments of type Cash",
"reference": "164142",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-15T00:00:00",
"totalAmount": 913.09
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -18.99
}
},
{
"payment": {
"id": "166",
"note": "Payments of type Prepaid",
"reference": "164260",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-15T00:00:00",
"totalAmount": 39.98
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -39.98
}
},
{
"payment": {
"id": "173",
"note": "Payments of type Prepaid",
"reference": "171213",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-15T00:00:00",
"totalAmount": 35.36
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -26.29
}
},
{
"payment": {
"id": "181",
"note": "Payments of type Cash",
"reference": "180197",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-17T00:00:00",
"totalAmount": 1087.13
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -10.04
}
},
{
"payment": {
"id": "182",
"note": "Payments of type Prepaid",
"reference": "180274",
"accountRef": {
"id": "60",
"name": "Money (oney)"
},
"currency": "GBP",
"currencyRate": 1,
"paidOnDate": "2020-01-17T00:00:00",
"totalAmount": 47.91
},
"allocation": {
"currency": "GBP",
"currencyRate": 1,
"totalAmount": -47.91
}
},
{
"payment": {
"id": "190",
"note": "Payments of type Cash",
"referen
# --- truncated at 32 KB (120 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/codat/refs/heads/main/examples/codat-get-accounting-invoice-example.json