Codat · Example Payload

Codat List Accounting Bills Example

Unified_API

Codat List Accounting Bills 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

Raw ↑
{
  "operationId": "list-accounting-bills",
  "method": "GET",
  "path": "/companies/{companyId}/data/bills",
  "summary": "List bills",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Clear Books",
      "example": {
        "results": [
          {
            "id": "81539597-e681-40c9-a4dd-ec2fffcde572",
            "reference": "b465a2c9-3212-4620-889b-6328ba148215",
            "supplierRef": {
              "id": "8GeHBdBZiZ",
              "supplierName": "DuBuque, Goyette and Franecki"
            },
            "purchaseOrderRefs": [],
            "issueDate": "2022-04-29T00:00:00",
            "dueDate": "2022-05-06T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Grease Trap",
                "unitAmount": 2781.94,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 13909.7,
                "taxAmount": 1390.97,
                "totalAmount": 15300.67,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "22aee6bd-4767-48c4-8a13-fdf85b91fc80",
                  "name": "600 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 1371.39,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 6856.95,
                "taxAmount": 685.7,
                "totalAmount": 7542.65,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "9409d23d-1011-432e-98a4-591fcd8d5404",
                  "name": "300 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 1371.39,
                "quantity": 6,
                "discountAmount": 0,
                "subTotal": 8228.34,
                "taxAmount": 822.83,
                "totalAmount": 9051.17,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "9409d23d-1011-432e-98a4-591fcd8d5404",
                  "name": "300 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 2781.94,
                "quantity": 3,
                "discountAmount": 0,
                "subTotal": 8345.82,
                "taxAmount": 834.58,
                "totalAmount": 9180.4,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "22aee6bd-4767-48c4-8a13-fdf85b91fc80",
                  "name": "600 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Underground - Trapped Road Gully 450mm x 450mm",
                "unitAmount": 402.89,
                "quantity": 8,
                "discountAmount": 0,
                "subTotal": 3223.12,
                "taxAmount": 322.31,
                "totalAmount": 3545.43,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "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": [],
                "isDirectCost": false
              },
              {
                "description": "Underground - Drain Bottle Gullies 90 degree Rectangular",
                "unitAmount": 95.08,
                "quantity": 7,
                "discountAmount": 0,
                "subTotal": 665.56,
                "taxAmount": 66.56,
                "totalAmount": 732.12,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "6",
                  "name": "Back Inlet Roddable Gully 90\ufffd Outlet Rectangular Grid"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Underground - Drain Bottle Gullies 90 degree Rectangular",
                "unitAmount": 95.08,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 95.08,
                "taxAmount": 9.51,
                "totalAmount": 104.59,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "6",
                  "name": "Back Inlet Roddable Gully 90\ufffd Outlet Rectangular Grid"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 1371.39,
                "quantity": 2,
                "discountAmount": 0,
                "subTotal": 2742.78,
                "taxAmount": 274.28,
                "totalAmount": 3017.06,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "9409d23d-1011-432e-98a4-591fcd8d5404",
                  "name": "300 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 2781.94,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 2781.94,
                "taxAmount": 278.19,
                "totalAmount": 3060.13,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "22aee6bd-4767-48c4-8a13-fdf85b91fc80",
                  "name": "600 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Underground - Drain Bottle Gullies 90 degree Rectangular",
                "unitAmount": 95.08,
                "quantity": 7,
                "discountAmount": 0,
                "subTotal": 665.56,
                "taxAmount": 66.56,
                "totalAmount": 732.12,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "6",
                  "name": "Back Inlet Roddable Gully 90\ufffd Outlet Rectangular Grid"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 1251.89,
                "quantity": 4,
                "discountAmount": 0,
                "subTotal": 5007.56,
                "taxAmount": 500.76,
                "totalAmount": 5508.32,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "51077072-d5c3-463b-9cb4-7da2e11886f9",
                  "name": "150 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              },
              {
                "description": "Grease Trap",
                "unitAmount": 1371.39,
                "quantity": 9,
                "discountAmount": 0,
                "subTotal": 12342.51,
                "taxAmount": 1234.25,
                "totalAmount": 13576.76,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "9409d23d-1011-432e-98a4-591fcd8d5404",
                  "name": "300 Litre Grease Trap"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Paid",
            "subTotal": 64864.92,
            "taxAmount": 6486.5,
            "totalAmount": 71351.42,
            "amountDue": 0,
            "modifiedDate": "2023-04-26T12:38:16Z",
            "sourceModifiedDate": "2023-02-14T17:09:02",
            "note": "Bill with 12 line items, totaling 71351.42",
            "paymentAllocations": [
              {
                "payment": {
                  "id": "dcb18480-8b69-44d8-aa26-268b6a80d170",
                  "note": "Bill Payment against bill 81539597-e681-40c9-a4dd-ec2fffcde572",
                  "accountRef": {
                    "id": "dbcaf288-2b39-4b95-8ab3-42202ab15918",
                    "name": "Business Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-05-06T00:00:00",
                  "totalAmount": 71351.42
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "allocatedOnDate": "2022-05-06T00:00:00",
                  "totalAmount": -71351.42
                }
              }
            ],
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "acc1dc9d-a21a-41b8-953e-73da4afab6e6",
            "reference": "d88e83b8-a5cc-4578-815d-afa263df4beb",
            "supplierRef": {
              "id": "7GObELDcsE",
              "supplierName": "Lakin, Schmeler and Kihn"
            },
            "purchaseOrderRefs": [
              {
                "id": "7f07b584-bebe-450f-aa9e-1d7aed630b66",
                "purchaseOrderNumber": "ee9b8e00-49a2-4d83-bc33-e2eee59a1c36"
              }
            ],
            "issueDate": "2022-04-30T00:00:00",
            "dueDate": "2022-05-15T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Underground - Drain Bottle Gullies 90 degree Rectangular",
                "unitAmount": 95.08,
                "quantity": 4,
                "discountAmount": 0,
                "subTotal": 380.32,
                "taxAmount": 38.03,
                "totalAmount": 418.35,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "72df89d2-512b-4455-af51-a6b563733842",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "6c88aff3-7cb9-4980-a3d3-443e72e02498",
                  "name": "Sales Tax (10%)",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "6",
                  "name": "Back Inlet Roddable Gully 90\ufffd Outlet Rectangular Grid"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Paid",
            "subTotal": 380.32,
            "taxAmount": 38.03,
            "totalAmount": 418.35,
            "amountDue": 0,
            "modifiedDate": "2023-04-26T12:38:16Z",
            "sourceModifiedDate": "2023-04-14T01:56:02",
            "note": "Bill for purchase order ee9b8e00-49a2-4d83-bc33-e2eee59a1c36",
            "paymentAllocations": [
              {
                "payment": {
                  "id": "a4fa017a-3911-4eb0-aaf9-b002c446c8c3",
                  "note": "Bill Payment against bill acc1dc9d-a21a-41b8-953e-73da4afab6e6",
                  "accountRef": {
                    "id": "dbcaf288-2b39-4b95-8ab3-42202ab15918",
                    "name": "Business Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-05-15T00:00:00",
                  "totalAmount": 418.35
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "allocatedOnDate": "2022-05-15T00:00:00",
                  "totalAmount": -418.35
                }
              }
            ],
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 183,
        "_links": {
          "current": {
            "href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/data/bills?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/data/bills"
          },
          "next": {
            "href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/data/bills?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Dynamics 365 Business Central",
      "example": {
        "results": [
          {
            "id": "4019ee2b-d05a-ed11-8c34-000d3a0d28a2-108276",
            "reference": "108276",
            "supplierRef": {
              "id": "c01217b3-89d1-ea11-bbaa-000d3a2b9185",
              "supplierName": "First Up Consultants"
            },
            "purchaseOrderRefs": [],
            "issueDate": "2019-01-01T00:00:00",
            "dueDate": "2019-01-01T00:00:00",
            "currency": "GBP",
            "lineItems": [
              {
                "description": "ATHENS Desk",
                "unitAmount": 506.6,
                "quantity": 4,
                "discountAmount": 202.64,
                "subTotal": 1823.76,
                "taxAmount": 364.75,
                "totalAmount": 2188.51,
                "discountPercentage": 10,
                "accountRef": {
                  "id": "6a1217b3-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Inventory"
                },
                "taxRateRef": {
                  "id": "63bc0fb9-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Setup for DOMESTIC / STANDARD",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "ITEM-c81217b3-89d1-ea11-bbaa-000d3a2b9185-DOMESTIC-DOMESTIC",
                  "name": "ATHENS Desk / General Business Posting Group: 'DOMESTIC' / VAT Business Posting Group: 'DOMESTIC'"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Open",
            "subTotal": 1823.76,
            "taxAmount": 364.75,
            "totalAmount": 2188.51,
            "amountDue": 2188.51,
            "modifiedDate": "2023-03-27T14:21:25Z",
            "sourceModifiedDate": "2022-11-02T17:02:48Z",
            "note": "129148",
            "paymentAllocations": [],
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "b9cb06bf-89d1-ea11-bbaa-000d3a2b9185-108001",
            "reference": "108001",
            "supplierRef": {
              "id": "c01217b3-89d1-ea11-bbaa-000d3a2b9185",
              "supplierName": "First Up Consultants"
            },
            "purchaseOrderRefs": [],
            "issueDate": "2019-01-01T00:00:00",
            "dueDate": "2019-01-01T00:00:00",
            "currency": "GBP",
            "lineItems": [
              {
                "description": "ATHENS Desk",
                "unitAmount": 506.6,
                "quantity": 4,
                "discountAmount": 0,
                "subTotal": 2026.4,
                "taxAmount": 405.28,
                "totalAmount": 2431.68,
                "discountPercentage": 0,
                "accountRef": {
                  "id": "6a1217b3-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Inventory"
                },
                "taxRateRef": {
                  "id": "63bc0fb9-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Setup for DOMESTIC / STANDARD",
                  "effectiveTaxRate": 10
                },
                "itemRef": {
                  "id": "ITEM-c81217b3-89d1-ea11-bbaa-000d3a2b9185-DOMESTIC-DOMESTIC",
                  "name": "ATHENS Desk / General Business Posting Group: 'DOMESTIC' / VAT Business Posting Group: 'DOMESTIC'"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Paid",
            "subTotal": 2026.4,
            "taxAmount": 405.28,
            "totalAmount": 2431.68,
            "amountDue": 0,
            "modifiedDate": "2023-03-27T14:21:25Z",
            "sourceModifiedDate": "2022-05-17T16:29:02Z",
            "note": "107001",
            "paymentAllocations": [
              {
                "payment": {
                  "id": "57377f05-8ad1-ea11-bbaa-000d3a2b9185",
                  "note": "Invoice 107001",
                  "reference": "108001",
                  "accountRef": {
                    "id": "621217b3-89d1-ea11-bbaa-000d3a2b9185",
                    "name": "Petty Cash"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2019-01-01T00:00:00",
                  "totalAmount": 2431.68
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "allocatedOnDate": "2019-01-01T00:00:00",
                  "totalAmount": -2431.68
                }
              }
            ],
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 294,
        "_links": {
          "current": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/bills?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/bills"
          },
          "next": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/bills?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Exact (Netherlands)",
      "example": {
        "results": [
          {
            "id": "1c55118b-793e-4437-9c13-4f554b9ca989",
            "reference": "19600006",
            "supplierRef": {
              "id": "5e6f49b9-6489-4b82-83e7-291d308919bb",
              "supplierName": "Mickey Mouse"
            },
            "purchaseOrderRefs": [],
            "issueDate": "2019-12-16T00:00:00Z",
            "dueDate": "2019-11-09T00:00:00Z",
            "currency": "EUR",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Cheesecake",
                "unitAmount": 10,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 10,
                "taxAmount": 2.1,
                "totalAmount": 12.1,
                "accountRef": {
                  "id": "5f139759-b554-4314-862e-b9d88e5b2e1b",
                  "name": "Af te dragen loonheffing"
                },
                "taxRateRef": {
                  "id": "84277189-ad16-456c-b501-ca31f0a483cc",
                  "name": "BTW prive gebruik",
                  "effectiveTaxRate": 21
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Paid",
            "subTotal": 10,
            "taxAmount": 2.1,
            "totalAmount": 12.1,
            "amountDue": 0,
            "modifiedDate": "2022-10-26T13:32:18Z",
            "sourceModifiedDate": "2020-01-03T15:06:02Z",
            "paymentAllocations": [
              {
                "payment": {
                  "id": "d9a2980b-2a43-46f2-9c7f-413d925b3cdd",
                  "reference": "20200032",
                  "accountRef": {
                    "id": "d79d65bd-1d7d-4f55-95d3-76b3a7b7b823",
                    "name": "Bank 1"
                  },
                  "currency": "EUR",
                  "currencyRate": 1,
                  "paidOnDate": "2021-03-22T00:00:00",
                  "totalAmount": 12.1
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": -12.1
                }
              }
            ]
          },
          {
            "id": "ec0c61a1-deb6-4496-b9ee-feb29b16019c",
            "reference": "19600008",
            "supplierRef": {
              "id": "fc189bfa-f083-438c-bf09-379a0631d4a1",
              "supplierName": "Mickey Mouse"
            },
            "purchaseOrderRefs": [],
            "issueDate": "2019-12-16T00:00:00Z",
            "dueDate": "2019-11-09T00:00:00Z",
            "currency": "EUR",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Cheesecake",
                "unitAmount": 10,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 10,
                "taxAmount": 2.1,
                "totalAmount": 12.1,
                "accountRef": {
                  "id": "5f139759-b554-4314-862e-b9d88e5b2e1b",
                  "name": "Af te dragen loonheffing"
                },
                "taxRateRef": {
                  "id": "84277189-ad16-456c-b501-ca31f0a483cc",
                  "name": "BTW prive gebruik",
                  "effectiveTaxRate": 21
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Open",
            "subTotal": 10,
            "taxAmount": 2.1,
            "totalAmount": 12.1,
            "amountDue": 12.1,
            "modifiedDate": "2022-10-26T13:32:18Z",
            "sourceModifiedDate": "2020-01-03T15:06:39Z",
            "paymentAllocations": [
              {
                "payment": {
                  "id": "ef5d140b-16da-4fd2-a0c8-d5bfb89a13ee",
                  "reference": "19900056",
                  "accountRef": {
                    "id": "a2d51b6f-677d-4bbf-ad0c-b45fd6231546",
                    "name": "Activa herwaarderingen"
                  },
                  "currency": "EUR",
                  "currencyRate": 1,
                  "paidOnDate": "2019-11-07T00:00:00",
                  "totalAmount": 0.21
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": -0.21
                }
              },
              {
                "payment": {
                  "id": "b69e7ad4-2b90-4a5f-a8a0-67418ac95531",
                  "reference": "19900053",
                  "accountRef": {
                    "id": "a2d51b6f-677d-4bbf-ad0c-b45fd6231546",
                    "name": "Activa herwaarderingen"
                  },
                  "currency": "EUR",
                  "currencyRate": 1,
                  "paidOnDate": "2019-11-07T00:00:00",
                  "totalAmount": 0.2
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": -0.2
                }
              },
              {
                "payment": {
                  "id": "6ccd1256-6073-4bfc-8d88-700417685e72",
                  "reference": "21200028",
                  "accountRef": {
                    "id": "d79d65bd-1d7d-4f55-95d3-76b3a7b7b823",
                    "name": "Bank 1"
                  },
                  "currency": "EUR",
                  "currencyRate": 1,
                  "paidOnDate": "2021-10-05T00:00:00",
                  "totalAmount": 12.1
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": -12.1
                }
              },
              {
                "payment": {
                  "id": "69a8533b-3e59-4d2d-9bca-bc37bc0f7984",
                  "reference": "19900055",
                  "accountRef": {
                    "id": "a2d51b6f-677d-4bbf-ad0c-b45fd6231546",
                    "name": "Activa herwaarderingen"
                  },
                  "currency": "EUR",
                  "currencyRate": 1,
                  "paidOnDate": "2019-11-07T00:00:00",
                  "totalAmount": 0.21
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": -0.21
                }
              },
              {
                "payment": {
                  "id": "2dae3548-ff11-4ad8-886c-eb5cb7965024",
                  "reference": "19900054",
                  "accountRef": {
                    "id": "a2d51b6f-677d-4bbf-ad0c-b45fd6231546",
                    "name": "Activa herwaarderingen"
                  },
                  "currency": "EUR",
                  "currencyRate": 1,
                  "paidOnDate": "2019-11-07T00:00:00",
                  "totalAmount": 0.21
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": -0.21
                }
              }
            ]
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 80,
        "_links": {
          "current": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/bills?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/bills"
          },
          "next": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/bills?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Exact (UK)",
      "example": {
        "results": [
          {
            "id": "e7a45898-2db3-424c-acb9-a51647740f26",
            "reference": "17600002",
            "supplierRef": {
              "id": "a7cad20d-44db-442b-ac1f-90475802d6fb",
              "supplierName": "Pencils Pencils Pencils"
            },
            "purchaseOrderRefs": [],
            "issueDate": "2017-09-26T00:00:00Z",
            "dueDate": "2017-10-26T00:00:00Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Stationery",
                "unitAmount": 400,
                "quantity": 2,
                "discountAmount": 0,
                "subTotal": 800,
                "taxAmount": 160,
                "totalAmount": 960,
                "accountRef": {
                  "id": "e5e9e994-0f14-4614-b162-7b5593b21276",
                  "name": "Finished Goods Stock"
                },
                "taxRateRef": {
                  "id": "63cd143a-66ab-4320-8a6d-ab6be85ed048",
                  "name": "UK purchases standard rate \ufffd Excluding",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "001"
                },
                "trackingCategoryRefs": [],
                "isDirectCost": false
              }
            ],
            "withholdingTax": [],
            "status": "Paid",
            "subTotal": 800,
            "taxAmount": 160,
            "totalAmount": 960,
            "amountDue": 0,
            "modifiedDate": "2022-10-26T13:33:20Z",
            "sourceModifiedDate": "2019-01-11T14:18:17Z",
            "paymentAllocations": [
              {
                "payment": {
                  "id": "7a5f621b-739f-4ed8-b738-2aae3ef886ac",
                  "reference": "17200006",
                  "accountRef": {
                    "id": "4a4e34b5-7f62-4b64-a44a-073398b14b41",
                    "name": "Bank"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2017-10-11T00:00:00",
                  "totalAmount": 123
                },
                "allocation": {
    

# --- truncated at 32 KB (103 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/codat/refs/heads/main/examples/codat-list-accounting-bills-example.json