{
  "operationId": "list-accounting-invoices",
  "method": "GET",
  "path": "/companies/{companyId}/data/invoices",
  "summary": "List invoices",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Clear Books",
      "example": {
        "results": [
          {
            "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
            }
          },
          {
            "id": "ac3ac4dd-defe-4f9c-b7bb-2c3fe726a9d1",
            "invoiceNumber": "4F6ONfFP",
            "customerRef": {
              "id": "a82042f1-a005-4ca5-bfd3-5bc237123aa5",
              "companyName": "Keara Leffler"
            },
            "salesOrderRefs": [],
            "issueDate": "2022-04-25T13:04:02",
            "dueDate": "2022-04-25T13:04:02",
            "modifiedDate": "2023-04-26T12:38:17Z",
            "sourceModifiedDate": "2022-08-22T07:43:02",
            "paidOnDate": "2022-04-25T13:04:02",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Heavy Duty Hinged Gully Grating x8.28",
                "unitAmount": 402.89,
                "quantity": 8.28,
                "subTotal": 3335.93,
                "taxAmount": 333.59,
                "totalAmount": 3669.52,
                "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": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "7ba4fc1b-e248-49ba-8bf8-0813d7f203a8",
                  "note": "Payment against invoice ac3ac4dd-defe-4f9c-b7bb-2c3fe726a9d1",
                  "reference": "ac3ac4dd-defe-4f9c-b7bb-2c3fe726a9d1",
                  "accountRef": {
                    "id": "dbcaf288-2b39-4b95-8ab3-42202ab15918",
                    "name": "Business Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-04-25T13:04:02",
                  "totalAmount": 3669.52
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "allocatedOnDate": "2022-04-25T13:04:02",
                  "totalAmount": -3669.52
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 3335.93,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 333.59,
            "totalAmount": 3669.52,
            "amountDue": 0,
            "discountPercentage": 0,
            "status": "Paid",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 142,
        "_links": {
          "current": {
            "href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/data/invoices"
          },
          "next": {
            "href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Dynamics 365 Business Central",
      "example": {
        "results": [
          {
            "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
            }
          },
          {
            "id": "31e97827-bb18-ed11-90eb-000d3a8747a0",
            "invoiceNumber": "102287",
            "customerRef": {
              "id": "0ef95175-48c4-eb11-9f0a-0022481b4343",
              "companyName": ""
            },
            "salesOrderRefs": [],
            "issueDate": "2019-01-15T00:00:00",
            "dueDate": "2019-01-15T00:00:00",
            "modifiedDate": "2023-03-27T14:21:25Z",
            "sourceModifiedDate": "2022-08-10T14:46:08Z",
            "currency": "USD",
            "lineItems": [],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 0,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 0,
            "amountDue": 0,
            "discountPercentage": 0,
            "status": "Draft",
            "note": "",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 368,
        "_links": {
          "current": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/invoices"
          },
          "next": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Exact (Netherlands)",
      "example": {
        "results": [
          {
            "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"
          },
          {
            "id": "0078bc15-10a4-433d-86fa-b1bb235fc0ab",
            "invoiceNumber": "19700004",
            "customerRef": {
              "id": "46951dc4-a170-42ce-bb38-9a80b776404f",
              "companyName": "Cust 03"
            },
            "salesOrderRefs": [],
            "issueDate": "2019-11-13T00:00:00Z",
            "dueDate": "2019-12-04T00:00:00Z",
            "modifiedDate": "2022-10-26T13:57:52Z",
            "sourceModifiedDate": "2019-11-13T11:47:51Z",
            "currency": "EUR",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Standaard artikel - Standaard artikel",
                "unitAmount": 25,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 25,
                "taxAmount": 5.25,
                "totalAmount": 30.25,
                "accountRef": {
                  "id": "2421e8a0-5355-4ec0-af11-021fe4f39fcd",
                  "name": "Omzet binnenland hoog tarief"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "subTotal": 25,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 5.25,
            "totalAmount": 30.25,
            "amountDue": 30.25,
            "discountPercentage": 0,
            "status": "Submitted"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 5844,
        "_links": {
          "current": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/invoices"
          },
          "next": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Exact (UK)",
      "example": {
        "results": [
          {
            "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"
          },
          {
            "id": "0981b5d1-a817-40be-a101-4848f7b1a258",
            "invoiceNumber": "17700004",
            "customerRef": {
              "id": "570321bb-8b0c-49f1-a1f5-6fb1d6d94a62",
              "companyName": "Some customer"
            },
            "salesOrderRefs": [],
            "issueDate": "2017-08-03T00:00:00Z",
            "dueDate": "2017-09-02T00:00:00Z",
            "modifiedDate": "2022-10-26T13:39:08Z",
            "sourceModifiedDate": "2017-08-03T12:22:27Z",
            "paidOnDate": "2017-08-03T00:00:00Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "A bunch of stuff - A bunch of stuff",
                "unitAmount": 100,
                "quantity": 150,
                "discountAmount": 0,
                "subTotal": 15000,
                "taxAmount": 0,
                "totalAmount": 15000,
                "accountRef": {
                  "id": "43acd218-6a95-445f-994c-660273e0ced9",
                  "name": "Sales"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "subTotal": 15000,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 15000,
            "amountDue": 0,
            "discountPercentage": 0,
            "status": "Paid"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 4214,
        "_links": {
          "current": {
            "href": "/companies/d95030cd-22b2-482b-9c7b-2980dcc2b1ce/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/d95030cd-22b2-482b-9c7b-2980dcc2b1ce/data/invoices"
          },
          "next": {
            "href": "/companies/d95030cd-22b2-482b-9c7b-2980dcc2b1ce/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "FreeAgent",
      "example": {
        "results": [
          {
            "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
            }
          },
          {
            "id": "21974783",
            "invoiceNumber": "023",
            "customerRef": {
              "id": "6162023",
              "companyName": "Alderley plc"
            },
            "salesOrderRefs": [],
            "issueDate": "2017-01-09T00:00:00",
            "dueDate": "2017-02-08T00:00:00",
            "modifiedDate": "2023-04-25T14:19:19Z",
            "sourceModifiedDate": "2023-02-06T15:31:38Z",
            "paidOnDate": "2023-02-06T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Laptop",
                "unitAmount": 500,
                "quantity": 22,
                "discountAmount": 0,
                "subTotal": 11000,
                "taxAmount": 0,
                "totalAmount": 11000,
                "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": "154350605",
                  "note": "Test Push Transaction OTHER \ufffd123.46 - Invoice receipt against 023 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2018-08-26T00:00:00",
                  "totalAmount": 123.46
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -2
                }
              },
              {
                "payment": {
                  "id": "154350605",
                  "note": "Test Push Transaction OTHER \ufffd123.46 - Invoice receipt against 023 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2018-08-26T00:00:00",
                  "totalAmount": 123.46
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -5
                }
              },
              {
                "payment": {
                  "id": "214509356",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214338075",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214327399",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214327371",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214672049",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-22T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214671769",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-22T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214671495",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-22T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214671482",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-22T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "214671308",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-22T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216167014",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "215687795",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216167064",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-12-02T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256992092",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256991833",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256991177",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256987893",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256987069",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256983353",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256982947",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256955690",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "256953648",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216464177",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216453277",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216453273",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216168092",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "216168080",
                  "note": "\ufffd0.01 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2019-11-18T00:00:00",
                  "totalAmount": 0.01
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "260537850",
                  "note": "E2E Test transaction 19 DEBIT \ufffd250.00 - E2 E Test Transaction 19 - E2 E Test Transaction 19 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2020-10-23T00:00:00",
                  "totalAmount": 235
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -225
                }
              },
              {
                "payment": {
                  "id": "413909805",
                  "note": "\ufffd1.00 - Invoice receipt against 023",
                  "currency": "GBP",
                  "paidOnDate": "2023-02-06T00:00:00",
                  "totalAmount": 1
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -1
                }
              }
            ],
            "withholdingTax": [],
            "subTotal": 11000,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 11000,
            "amountDue": 10766.74,
            "status": "PartiallyPaid",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 1449,
        "_links": {
          "current": {
            "href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/data/invoices"
          },
          "next": {
            "href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "FreshBooks",
      "example": {
        "results": [
          {
            "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
            }
          },
          {
            "id": "2396753",
            "invoiceNumber": "0000062",
            "customerRef": {
              "id": "512927",
              "companyName": "Wood Turnerss"
            },
            "salesOrderRefs": [],
            "issueDate": "2016-04-04T00:00:00",
            "dueDate": "2016-04-04T00:00:00",
            "modifiedDate": "2023-03-24T16:07:23Z",
            "sourceModifiedDate": "2021-02-24T07:34:31",
            "currency": "GBP",
            "lineItems": [],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 0,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 0,
            "amountDue": 0,
            "status": "Submitted",
            "note": "",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 172,
        "_links": {
          "current": {
            "href": "/companies/3691c49e-0db4-4172-b3ab-e4084c365013/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/3691c49e-0db4-4172-b3ab-e4084c365013/data/invoices"
          },
          "next": {
            "href": "/companies/3691c49e-0db4-4172-b3ab-e4084c365013/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "KashFlow",
      "example": {
        "results": [
          {
            "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"
          },
          {
            "id": "143008597",
            "invoiceNumber": "41",
            "customerRef": {
              "id": "86832299",
              "companyName": "Mr French Person"
            },
            "salesOrderRefs": [],
            "issueDate": "2010-01-01T00:00:00",
            "dueDate": "2010-01-29T00:00:00",
            "modifiedDate": "2022-09-30T10:29:15Z",
            "paidOnDate": "2020-11-03T00:00:00",
            "currency": "EUR",
            "currencyRate": 0.844737287,
            "lineItems": [
              {
                "unitAmount": 0,
                "quantity": 0,
                "subTotal": 0,
                "taxAmount": 0,
                "totalAmount": 0,
                "accountRef": {
                  "id": "0"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "146438947",
                  "note": "",
                  "currency": "EUR",
                  "paidOnDate": "2020-11-03T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "EUR",
                  "currencyRate": 1,
                  "totalAmount": 0
                }
              }
            ],
            "withholdingTax": [],
            "subTotal": 0,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 0,
            "amountDue": 0,
            "status": "Paid"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 37,
        "_links": {
          "current": {
            "href": "/companies/3a707a99-89da-4b16-a5d6-595333a16352/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/3a707a99-89da-4b16-a5d6-595333a16352/data/invoices"
          },
          "next": {
            "href": "/companies/3a707a99-89da-4b16-a5d6-595333a16352/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Oracle NetSuite",
      "example": {
        "results": [
          {
            "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": -10
                }
              },
              {
                "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
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 100,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 100,
            "amountDue": 0,
            "status": "Paid"
          },
          {
            "id": "8529",
            "invoiceNumber": "INV63",
            "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": "2022-02-24T13:51:58",
            "paidOnDate": "2022-09-12T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Andy Test Item",
                "unitAmount": 2,
                "quantity": 3,
                "subTotal": 6,
                "totalAmount": 6,
                "accountRef": {
                  "id": "54",
                  "name": "Sales"
                },
                "itemRef": {
                  "id": "143",
                  "name": "Andy Test Item"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "classification-2"
                  },
                  {
                    "id": "department-1"
                  },
                  {
                    "id": "location-1"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Non-Recurring Services - EC",
                "unitAmount": 4,
                "quantity": 5,
                "subTotal": 20,
                "totalAmount": 20,
                "accountRef": {
                  "id": "54",
                  "name": "Sales"
                },
                "itemRef": {
                  "id": "28",
                  "name": "Non-Recurring Services - EC"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "classification-2"
                  },
                  {
                    "id": "department-1"
                  },
                  {
                    "id": "location-1"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "17588",
                  "note": "Payment Example - Invoice allocation",
                  "reference": "Payment #PYMT90",
                  "accountRef": {
                    "id": "1",
                    "name": "Cheque Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-06-01T00:00:00",
                  "totalAmount": 10
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "17589",
                  "note": "Example - Payment of an invoice",
                  "reference": "Payment #PYMT91",
                  "accountRef": {
                    "id": "1",
                    "name": "Cheque Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-06-01T00:00:00",
                  "totalAmount": 20
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "24558",
                  "note": "Test Push Payments - 1 test",
                  "reference": "Payment #PYMT109",
                  "accountRef": {
                    "id": "1",
                    "name": "Cheque Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-09-12T00:00:00",
                  "totalAmount": 0.1
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.1
                }
              },
              {
                "payment": {
                  "id": "24659",
                  "note": "Test Push Payments - 1 test",
                  "reference": "Payment #PYMT111",
                  "accountRef": {
                    "id": "1",
                    "name": "Cheque Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-09-12T00:00:00",
                  "totalAmount": 0.1
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.1
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 26,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 26,
            "amountDue": 5.8,
            "status": "PartiallyPaid"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 107,
        "_links": {
          "current": {
            "href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/data/invoices"
          },
          "next": {
            "href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "QuickBooks Desktop",
      "example": {
        "results": [
          {
            "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
            }
          },
          {
            "id": "469E-1071530054",
            "invoiceNumber": "978",
            "customerRef": {
              "id": "220000-933272658",
              "companyName": "Melton, Johnny"
            },
            "salesOrderRefs": [],
            "issueDate": "2022-11-30T00:00:00",
            "dueDate": "2023-12-30T00:00:00",
            "modifiedDate": "2023-04-26T09:08:12Z",
            "sourceModifiedDate": "2023-12-16T05:06:09",
            "paidOnDate": "2023-01-10T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "See attached specification for details on work below.",
                "unitAmount": 0,
                "quantity": 1,
                "subTotal": 0,
                "taxAmount": 0,
                "totalAmount": 0,
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "unitAmount": 0,
                "quantity": 1,
                "subTotal": 0,
                "taxAmount": 0,
                "totalAmount": 0,
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Installation labor",
                "unitAmount": 45.5,
                "quantity": 1,
                "subTotal": 45.5,
                "taxAmount": 0,
                "totalAmount": 45.5,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "20000-933272655",
                  "name": "Installation"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Install drywall",
                "unitAmount": 1320,
                "quantity": 1,
                "subTotal": 1320,
                "taxAmount": 0,
                "totalAmount": 1320,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "70000-933272656",
                  "name": "Subs:Drywall"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Electrical work",
                "unitAmount": 1650,
                "quantity": 1,
                "subTotal": 1650,
                "taxAmount": 0,
                "totalAmount": 1650,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "80000-933272656",
                  "name": "Subs:Electrical"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Metal Work",
                "unitAmount": 660,
                "quantity": 1,
                "subTotal": 660,
                "taxAmount": 0,
                "totalAmount": 660,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "A0000-933272656",
                  "name": "Subs:Metal Wrk"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Install insulation",
                "unitAmount": 1100,
                "quantity": 1,
                "subTotal": 1100,
                "taxAmount": 0,
                "totalAmount": 1100,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "90000-933272656",
                  "name": "Subs:Insulating"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Plumbing",
                "unitAmount": 1650,
                "quantity": 1,
                "subTotal": 1650,
                "taxAmount": 0,
                "totalAmount": 1650,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "C0000-933272656",
                  "name": "Subs:Plumbing"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Painting",
                "unitAmount": 2420,
                "quantity": 1,
                "subTotal": 2420,
                "taxAmount": 0,
                "totalAmount": 2420,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "B0000-933272656",
                  "name": "Subs:Painting"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Install carpeting",
                "unitAmount": 3300,
                "quantity": 1,
                "subTotal": 3300,
                "taxAmount": 0,
                "totalAmount": 3300,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "60000-933272656",
                  "name": "Subs:Carpet"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Custom Bay Window",
                "unitAmount": 1925,
                "quantity": 1,
                "subTotal": 1925,
                "taxAmount": 0,
                "totalAmount": 1925,
                "taxRateRef": {
                  "id": "10000-999022286",
                  "name": "Taxable Sales"
                },
                "itemRef": {
                  "id": "1F0000-933272656",
                  "name": "Window"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Window",
                "unitAmount": 115.5,
                "quantity": 1,
                "subTotal": 115.5,
                "taxAmount": 0,
                "totalAmount": 115.5,
                "taxRateRef": {
                  "id": "10000-999022286",
                  "name": "Taxable Sales"
                },
                "itemRef": {
                  "id": "1F0000-933272656",
                  "name": "Window"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Equipment Rental",
                "unitAmount": 700,
                "quantity": 1,
                "subTotal": 700,
                "taxAmount": 0,
                "totalAmount": 700,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "230000-933272656",
                  "name": "Equip Rental"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "10% retainage to be billed after job is complete and approved.",
                "unitAmount": -555.5,
                "quantity": 1,
                "subTotal": -555.5,
                "taxAmount": 0,
                "totalAmount": -555.5,
                "taxRateRef": {
                  "id": "20000-999022286",
                  "name": "Non-Taxable Sales"
                },
                "itemRef": {
                  "id": "260000-933272656",
                  "name": "Retainage 1"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "40000-933272658",
                    "name": "Remodel"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "6915-1197775450",
                  "note": "Check - 80000-933270541",
                  "reference": "19650",
                  "accountRef": {
                    "id": "80000-933270541",
                    "name": "Undeposited Funds"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2023-01-10T00:00:00",
                  "totalAmount": 14488.64
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -14488.64
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 14330.5,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 158.14,
            "totalAmount": 14488.64,
            "amountDue": 0,
            "discountPercentage": 0,
            "status": "Paid",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 113,
        "_links": {
          "current": {
            "href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/data/invoices"
          },
          "next": {
            "href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "QuickBooks Online",
      "example": {
        "results": [
          {
            "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": "500",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "498254",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-20T00:00:00",
                  "totalAmount": 37.77
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -37.77
                }
              },
              {
                "payment": {
                  "id": "507",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "505288",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-20T00:00:00",
                  "totalAmount": 62.82
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -54.62
                }
              },
              {
                "payment": {
                  "id": "499",
                  "note": "Payments of type Cash",
                  "reference": "498147",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-20T00:00:00",
                  "totalAmount": 1017
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -5.08
                }
              },
              {
                "payment": {
                  "id": "491",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "489239",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-18T00:00:00",
                  "totalAmount": 48.74
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -48.74
                }
              },
              {
                "payment": {
                  "id": "490",
                  "note": "Payments of type Cash",
                  "reference": "489120",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-18T00:00:00",
                  "totalAmount": 1112.76
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -7.74
                }
              },
              {
                "payment": {
                  "id": "482",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "480242",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-17T00:00:00",
                  "totalAmount": 33.9
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -33.9
                }
              },
              {
                "payment": {
                  "id": "481",
                  "note": "Payments of type Cash",
                  "reference": "480129",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-17T00:00:00",
                  "totalAmount": 965.85
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10.21
                }
              },
              {
                "payment": {
                  "id": "470",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "468248",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-13T00:00:00",
                  "totalAmount": 67.83
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -41.38
                }
              },
              {
                "payment": {
                  "id": "463",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "461243",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-13T00:00:00",
                  "totalAmount": 7.47
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -7.47
                }
              },
              {
                "payment": {
                  "id": "462",
                  "note": "Payments of type Cash",
                  "reference": "461144",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-13T00:00:00",
                  "totalAmount": 914.05
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -34.76
                }
              },
              {
                "payment": {
                  "id": "456",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "454252",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-11T00:00:00",
                  "totalAmount": 70.44
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -33.72
                }
              },
              {
                "payment": {
                  "id": "447",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "445278",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-11T00:00:00",
                  "totalAmount": 24.95
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -24.95
                }
              },
              {
                "payment": {
                  "id": "446",
                  "note": "Payments of type Cash",
                  "reference": "44518",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-11T00:00:00",
                  "totalAmount": 904.82
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -17.96
                }
              },
              {
                "payment": {
                  "id": "438",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "436234",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-10T00:00:00",
                  "totalAmount": 6.03
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -6.03
                }
              },
              {
                "payment": {
                  "id": "437",
                  "note": "Payments of type Cash",
                  "reference": "436168",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-10T00:00:00",
                  "totalAmount": 760.05
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -31.48
                }
              },
              {
                "payment": {
                  "id": "647",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "645263",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-03-20T00:00:00",
                  "totalAmount": 40.43
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "429",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "427270",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-09T00:00:00",
                  "totalAmount": 56.75
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -28.75
                }
              },
              {
                "payment": {
                  "id": "420",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "418258",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-08T00:00:00",
                  "totalAmount": 8.92
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -8.92
                }
              },
              {
                "payment": {
                  "id": "419",
                  "note": "Payments of type Cash",
                  "reference": "418157",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-08T00:00:00",
                  "totalAmount": 407.2
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -2.55
                }
              },
              {
                "payment": {
                  "id": "705",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "703246",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-04-03T00:00:00",
                  "totalAmount": 25
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -25
                }
              },
              {
                "payment": {
                  "id": "411",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "409292",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-07T00:00:00",
                  "totalAmount": 6.22
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -6.22
                }
              },
              {
                "payment": {
                  "id": "410",
                  "note": "Payments of type Cash",
                  "reference": "409145",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-07T00:00:00",
                  "totalAmount": 725.48
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -33.79
                }
              },
              {
                "payment": {
                  "id": "772",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "770263",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-04-24T00:00:00",
                  "totalAmount": 10.35
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "779",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "777217",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-04-24T00:00:00",
                  "totalAmount": 39.55
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "792",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "790262",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-04-29T00:00:00",
                  "totalAmount": 12.46
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "402",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "400275",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-06T00:00:00",
                  "totalAmount": 32.88
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -29.29
                }
              },
              {
                "payment": {
                  "id": "393",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "391247",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-05T00:00:00",
                  "totalAmount": 16.73
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -16.73
                }
              },
              {
                "payment": {
                  "id": "392",
                  "note": "Payments of type Cash",
                  "reference": "391115",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-05T00:00:00",
                  "totalAmount": 1094.8
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -47.35
                }
              },
              {
                "payment": {
                  "id": "386",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "384213",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-04T00:00:00",
                  "totalAmount": 9.99
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -9.99
                }
              },
              {
                "payment": {
                  "id": "385",
                  "note": "Payments of type Cash",
                  "reference": "38418",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-04T00:00:00",
                  "totalAmount": 858.41
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -13.4
                }
              },
              {
                "payment": {
                  "id": "377",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "375298",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-03T00:00:00",
                  "totalAmount": 39.06
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -39.06
                }
              },
              {
                "payment": {
                  "id": "376",
                  "note": "Payments of type Cash",
                  "reference": "375123",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-03T00:00:00",
                  "totalAmount": 802.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -11.54
                }
              },
              {
                "payment": {
                  "id": "368",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "366288",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-02T00:00:00",
                  "totalAmount": 12.15
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -12.15
                }
              },
              {
                "payment": {
                  "id": "367",
                  "note": "Payments of type Cash",
                  "reference": "366195",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-02T00:00:00",
                  "totalAmount": 827.2
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -25.4
                }
              },
              {
                "payment": {
                  "id": "361",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "359220",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-01T00:00:00",
                  "totalAmount": 54.12
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -40.61
                }
              },
              {
                "payment": {
                  "id": "349",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "347216",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-31T00:00:00",
                  "totalAmount": 25.32
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -25.32
                }
              },
              {
                "payment": {
                  "id": "348",
                  "note": "Payments of type Cash",
                  "reference": "34710",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-31T00:00:00",
                  "totalAmount": 949.74
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -7.07
                }
              },
              {
                "payment": {
                  "id": "342",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "340292",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-30T00:00:00",
                  "totalAmount": 26.59
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -26.59
                }
              },
              {
                "payment": {
                  "id": "341",
                  "note": "Payments of type Cash",
                  "reference": "340128",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-30T00:00:00",
                  "totalAmount": 859.44
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -29.21
                }
              },
              {
                "payment": {
                  "id": "333",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "331236",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-30T00:00:00",
                  "totalAmount": 17.94
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -17.58
                }
              },
              {
                "payment": {
                  "id": "322",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "320256",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-29T00:00:00",
                  "totalAmount": 14.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -14.33
                }
              },
              {
                "payment": {
                  "id": "321",
                  "note": "Payments of type Cash",
                  "reference": "320186",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-29T00:00:00",
                  "totalAmount": 798.79
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -27.08
                }
              },
              {
                "payment": {
                  "id": "313",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "311211",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-29T00:00:00",
                  "totalAmount": 45.06
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -41.47
                }
              },
              {
                "payment": {
                  "id": "304",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "302284",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-28T00:00:00",
                  "totalAmount": 17.04
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -17.04
                }
              },
              {
                "payment": {
                  "id": "303",
                  "note": "Payments of type Cash",
                  "reference": "302128",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-28T00:00:00",
                  "totalAmount": 837.68
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -6.66
                }
              },
              {
                "payment": {
                  "id": "297",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "295264",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-27T00:00:00",
                  "totalAmount": 14.92
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -14.92
                }
              },
              {
                "payment": {
                  "id": "296",
                  "note": "Payments of type Cash",
                  "reference": "295176",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-27T00:00:00",
                  "totalAmount": 687.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -4.18
                }
              },
              {
                "payment": {
                  "id": "288",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "286250",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-26T00:00:00",
                  "totalAmount": 12.73
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -12.73
                }
              },
              {
                "payment": {
                  "id": "287",
                  "note": "Payments of type Cash",
                  "reference": "286188",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-26T00:00:00",
                  "totalAmount": 539.55
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -6.97
                }
              },
              {
                "payment": {
                  "id": "279",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "277281",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-25T00:00:00",
                  "totalAmount": 30.58
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -30.58
                }
              },
              {
                "payment": {
                  "id": "278",
                  "note": "Payments of type Cash",
                  "reference": "277153",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-25T00:00:00",
                  "totalAmount": 1063.48
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -37.08
                }
              },
              {
                "payment": {
                  "id": "270",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "268269",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-24T00:00:00",
                  "totalAmount": 11.69
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -11.69
                }
              },
              {
                "payment": {
                  "id": "269",
                  "note": "Payments of type Cash",
                  "reference": "268154",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-24T00:00:00",
                  "totalAmount": 968.21
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -48.58
                }
              },
              {
                "payment": {
                  "id": "263",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "261215",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-24T00:00:00",
                  "totalAmount": 7.24
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -7.24
                }
              },
              {
                "payment": {
                  "id": "262",
                  "note": "Payments of type Cash",
                  "reference": "261162",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-24T00:00:00",
                  "totalAmount": 425.69
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -15.02
                }
              },
              {
                "payment": {
                  "id": "256",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "254258",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-23T00:00:00",
                  "totalAmount": 37.68
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -16.6
                }
              },
              {
                "payment": {
                  "id": "249",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "247245",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-23T00:00:00",
                  "totalAmount": 22.03
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10.84
                }
              },
              {
                "payment": {
                  "id": "240",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "238213",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-23T00:00:00",
                  "totalAmount": 47.7
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -31.98
                }
              },
              {
                "payment": {
                  "id": "231",
                  "note": "Payments of type Prepaid",
                  "reference": "229276",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-23T00:00:00",
                  "totalAmount": 38.7
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -30.52
                }
              },
              {
                "payment": {
                  "id": "218",
                  "note": "Payments of type Prepaid",
                  "reference": "216237",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-22T00:00:00",
                  "totalAmount": 19.67
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -19.67
                }
              },
              {
                "payment": {
                  "id": "217",
                  "note": "Payments of type Cash",
                  "reference": "216161",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-22T00:00:00",
                  "totalAmount": 565.24
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -1.66
                }
              },
              {
                "payment": {
                  "id": "209",
                  "note": "Payments of type Prepaid",
                  "reference": "207254",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-21T00:00:00",
                  "totalAmount": 27.62
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -27.62
                }
              },
              {
                "payment": {
                  "id": "208",
                  "note": "Payments of type Cash",
                  "reference": "207189",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-21T00:00:00",
                  "totalAmount": 914.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -7.86
                }
              },
              {
                "payment": {
                  "id": "200",
                  "note": "Payments of type Prepaid",
                  "reference": "198234",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-20T00:00:00",
                  "totalAmount": 18.35
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -18.35
                }
              },
              {
                "payment": {
                  "id": "199",
                  "note": "Payments of type Cash",
                  "reference": "198128",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-20T00:00:00",
                  "totalAmount": 1209.15
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -20.22
                }
              },
              {
                "payment": {
                  "id": "191",
                  "note": "Payments of type Prepaid",
                  "reference": "18922",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-17T00:00:00",
                  "totalAmount": 16.44
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -16.44
                }
              },
              {
                "payment": {
                  "id": "190",
                  "note": "Payments of type Cash",
                  "reference": "189174",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-01-17T00:00:00",
                  "totalAmount": 607.48
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -13.34
                }
              },
              {
                "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "521",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "519243",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-20T00:00:00",
                  "totalAmount": 14.74
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "843",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "841264",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-05-07T00:00:00",
                  "totalAmount": 25.64
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "850",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "848254",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-05-14T00:00:00",
                  "totalAmount": 53.68
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              },
              {
                "payment": {
                  "id": "877",
                  "note": "Payments of type PrepaidPayment",
                  "reference": "875210",
                  "accountRef": {
                    "id": "60",
                    "name": "Money (oney)"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-06-01T00:00:00",
                  "totalAmount": 12.7
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -0.01
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 5000,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 5000,
            "amountDue": 3296.44,
            "status": "PartiallyPaid",
            "note": "Invoice for service"
          },
          {
            "id": "17",
            "invoiceNumber": "1002",
            "customerRef": {
              "id": "2",
              "companyName": "Software Coperation"
            },
            "salesOrderRefs": [],
            "issueDate": "2019-02-18T00:00:00",
            "dueDate": "2019-03-20T00:00:00",
            "modifiedDate": "2023-01-18T11:03:02Z",
            "sourceModifiedDate": "2019-02-21T17:51:49Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "IT Support",
                "unitAmount": 80,
                "quantity": 40,
                "subTotal": 3200,
                "taxAmount": 0,
                "totalAmount": 3200,
                "accountRef": {
                  "id": "1",
                  "name": "Sales"
                },
                "itemRef": {
                  "id": "2",
                  "name": "Hours"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 3200,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 3200,
            "amountDue": 3200,
            "status": "Submitted"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 1326,
        "_links": {
          "current": {
            "href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/data/invoices"
          },
          "next": {
            "href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "QuickBooks Online Sandbox",
      "example": {
        "results": [
          {
            "id": "30",
            "invoiceNumber": "1002",
            "customerRef": {
              "id": "59",
              "companyName": "Ecker Holiday event"
            },
            "salesOrderRefs": [],
            "issueDate": "2016-01-06T00:00:00",
            "dueDate": "2016-02-05T00:00:00",
            "modifiedDate": "2023-04-26T09:36:12Z",
            "sourceModifiedDate": "2023-01-25T13:49:52Z",
            "paidOnDate": "2016-02-12T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Holiday party - gold level test v1",
                "unitAmount": 2000,
                "quantity": 1,
                "subTotal": 2000,
                "taxAmount": 400,
                "totalAmount": 2400,
                "accountRef": {
                  "id": "44",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "3_Invoices",
                  "name": "20.0% S Invoices",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "7",
                  "name": "Gold party"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              },
              {
                "description": "Venue rental",
                "unitAmount": 10000,
                "quantity": 1,
                "subTotal": 10000,
                "taxAmount": 2000,
                "totalAmount": 12000,
                "accountRef": {
                  "id": "68",
                  "name": "Billable Expenses Income"
                },
                "taxRateRef": {
                  "id": "3_Invoices",
                  "name": "20.0% S Invoices",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "20",
                  "name": "Venue Rental"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              },
              {
                "description": "promotional items -- misc engraved items",
                "unitAmount": 13.5,
                "quantity": 75,
                "subTotal": 1012.5,
                "taxAmount": 202.5,
                "totalAmount": 1215,
                "accountRef": {
                  "id": "68",
                  "name": "Billable Expenses Income"
                },
                "taxRateRef": {
                  "id": "3_Invoices",
                  "name": "20.0% S Invoices",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "12",
                  "name": "Misc"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "31",
                  "note": "",
                  "accountRef": {
                    "id": "81",
                    "name": "Current"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2016-02-12T00:00:00",
                  "totalAmount": 15615
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -15615
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 13012.5,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 2602.5,
            "totalAmount": 15615,
            "amountDue": 0,
            "status": "Paid",
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "3793",
            "invoiceNumber": "276e29c1",
            "customerRef": {
              "id": "59",
              "companyName": "Ecker Holiday event"
            },
            "salesOrderRefs": [],
            "issueDate": "2016-01-06T00:00:00",
            "dueDate": "2016-02-05T00:00:00",
            "modifiedDate": "2023-04-26T09:36:12Z",
            "sourceModifiedDate": "2022-08-22T13:04:50Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Holiday party - gold level test v1",
                "unitAmount": 2000,
                "quantity": 1,
                "subTotal": 2000,
                "taxAmount": 400,
                "totalAmount": 2400,
                "accountRef": {
                  "id": "44",
                  "name": "Sales"
                },
                "taxRateRef": {
                  "id": "3_Invoices",
                  "name": "20.0% S Invoices",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "7",
                  "name": "Gold party"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              },
              {
                "description": "Venue rental",
                "unitAmount": 10000,
                "quantity": 1,
                "subTotal": 10000,
                "taxAmount": 2000,
                "totalAmount": 12000,
                "accountRef": {
                  "id": "68",
                  "name": "Billable Expenses Income"
                },
                "taxRateRef": {
                  "id": "3_Invoices",
                  "name": "20.0% S Invoices",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "20",
                  "name": "Venue Rental"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              },
              {
                "description": "promotional items -- misc engraved items",
                "unitAmount": 13.5,
                "quantity": 75,
                "subTotal": 1012.5,
                "taxAmount": 202.5,
                "totalAmount": 1215,
                "accountRef": {
                  "id": "68",
                  "name": "Billable Expenses Income"
                },
                "taxRateRef": {
                  "id": "3_Invoices",
                  "name": "20.0% S Invoices",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "12",
                  "name": "Misc"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 13012.5,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 2602.5,
            "totalAmount": 15615,
            "amountDue": 15615,
            "status": "Submitted",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 1077,
        "_links": {
          "current": {
            "href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/data/invoices"
          },
          "next": {
            "href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Sage 200cloud",
      "example": {
        "results": [
          {
            "id": "82322",
            "invoiceNumber": "0000000110",
            "customerRef": {
              "id": "A1D001",
              "companyName": "A1 Design Services"
            },
            "salesOrderRefs": [],
            "issueDate": "2020-07-13T00:00:00Z",
            "dueDate": "2020-08-12T00:00:00Z",
            "modifiedDate": "2022-10-14T09:36:12Z",
            "sourceModifiedDate": "2020-07-13T11:06:40Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Tax Summary - Standard rate",
                "unitAmount": 0,
                "quantity": 0,
                "discountAmount": 0.22,
                "subTotal": 0,
                "taxAmount": 8.67,
                "totalAmount": 8.67,
                "taxRateRef": {
                  "id": "1729",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              },
              {
                "description": "Goods Summary",
                "unitAmount": 0,
                "quantity": 0,
                "discountAmount": 1.08,
                "subTotal": 43.34,
                "taxAmount": 0,
                "totalAmount": 43.34,
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 1.3,
            "subTotal": 43.34,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 8.67,
            "totalAmount": 52.01,
            "amountDue": 52.01,
            "discountPercentage": 2.49,
            "status": "Submitted",
            "note": "0000000114"
          },
          {
            "id": "83515",
            "invoiceNumber": "0000000111",
            "customerRef": {
              "id": "BRO001",
              "companyName": "Bronson Inc"
            },
            "salesOrderRefs": [],
            "issueDate": "2020-07-15T00:00:00Z",
            "dueDate": "2020-08-29T00:00:00Z",
            "modifiedDate": "2022-10-14T09:36:12Z",
            "sourceModifiedDate": "2020-07-15T10:45:56Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Tax Summary - Zero rated",
                "unitAmount": 0,
                "quantity": 0,
                "discountAmount": 0,
                "subTotal": 0,
                "taxAmount": 0,
                "totalAmount": 0,
                "taxRateRef": {
                  "id": "1728",
                  "name": "Zero rated",
                  "effectiveTaxRate": 0
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              },
              {
                "description": "Goods Summary",
                "unitAmount": 0,
                "quantity": 0,
                "discountAmount": 3.13,
                "subTotal": 125,
                "taxAmount": 0,
                "totalAmount": 125,
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 3.13,
            "subTotal": 125,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 125,
            "amountDue": 125,
            "discountPercentage": 2.5,
            "status": "Submitted",
            "note": "0000000111"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 409,
        "_links": {
          "current": {
            "href": "/companies/93c21e2d-049c-4d24-b41b-57e61c30b69e/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/93c21e2d-049c-4d24-b41b-57e61c30b69e/data/invoices"
          },
          "next": {
            "href": "/companies/93c21e2d-049c-4d24-b41b-57e61c30b69e/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Sage 50 (UK)",
      "example": {
        "results": [
          {
            "id": "INV-1",
            "invoiceNumber": "1",
            "customerRef": {
              "id": "A1D001",
              "companyName": "A1 Design Services"
            },
            "salesOrderRefs": [],
            "issueDate": "2021-01-02T00:00:00",
            "modifiedDate": "2023-03-30T14:42:42Z",
            "sourceModifiedDate": "2022-11-25T09:43:54",
            "paidOnDate": "2022-01-29T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "AT Mini Tower Case",
                "unitAmount": 14.25,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 14.25,
                "taxAmount": 2.43,
                "totalAmount": 16.68,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Whiteboard - Drywipe (900 x 1200)",
                "unitAmount": 19,
                "quantity": 4,
                "discountAmount": 0,
                "subTotal": 76,
                "taxAmount": 12.97,
                "totalAmount": 88.97,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "A4 Ledger Book - 5 Column",
                "unitAmount": 7.59,
                "quantity": 8,
                "discountAmount": 0,
                "subTotal": 60.72,
                "taxAmount": 10.36,
                "totalAmount": 71.08,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Shorthand Notebook - 80 Sheets",
                "unitAmount": 4.27,
                "quantity": 20,
                "discountAmount": 0,
                "subTotal": 85.4,
                "taxAmount": 14.57,
                "totalAmount": 99.97,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Calculator - Desktop",
                "unitAmount": 9.5,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 9.5,
                "taxAmount": 1.62,
                "totalAmount": 11.12,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Calculator - Desktop (Printing)",
                "unitAmount": 16.15,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 16.15,
                "taxAmount": 2.76,
                "totalAmount": 18.91,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Calculator - Printing Rolls",
                "unitAmount": 5.7,
                "quantity": 15,
                "discountAmount": 0,
                "subTotal": 85.5,
                "taxAmount": 14.59,
                "totalAmount": 100.09,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Correction Fluid - White",
                "unitAmount": 2.37,
                "quantity": 7,
                "discountAmount": 0,
                "subTotal": 16.59,
                "taxAmount": 2.83,
                "totalAmount": 19.42,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Envelope - White (110 x 220) Plain",
                "unitAmount": 8.54,
                "quantity": 20,
                "discountAmount": 0,
                "subTotal": 170.8,
                "taxAmount": 29.14,
                "totalAmount": 199.94,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Flip Chart - A1 Pad",
                "unitAmount": 15.2,
                "quantity": 10,
                "discountAmount": 0,
                "subTotal": 152,
                "taxAmount": 25.94,
                "totalAmount": 177.94,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Laminator Pouches - A4",
                "unitAmount": 11.4,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 57,
                "taxAmount": 9.73,
                "totalAmount": 66.73,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Mouse Mat - (241 x 203) Blue",
                "unitAmount": 1.42,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 7.1,
                "taxAmount": 1.21,
                "totalAmount": 8.31,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Copy Paper - Economy Grade",
                "unitAmount": 2.46,
                "quantity": 80,
                "discountAmount": 0,
                "subTotal": 196.8,
                "taxAmount": 33.58,
                "totalAmount": 230.38,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Coloured Paper - Pastel Blue",
                "unitAmount": 3.61,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 18.05,
                "taxAmount": 3.08,
                "totalAmount": 21.13,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Ball Point Pen - Black",
                "unitAmount": 1.9,
                "quantity": 8,
                "discountAmount": 0,
                "subTotal": 15.2,
                "taxAmount": 2.59,
                "totalAmount": 17.79,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Pencil - HB",
                "unitAmount": 2.37,
                "quantity": 3,
                "discountAmount": 0,
                "subTotal": 7.11,
                "taxAmount": 1.21,
                "totalAmount": 8.32,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Remember-Me Sticky Notes (Recycled)",
                "unitAmount": 3.32,
                "quantity": 6,
                "discountAmount": 0,
                "subTotal": 19.92,
                "taxAmount": 3.4,
                "totalAmount": 23.32,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Scissors - Economy",
                "unitAmount": 2.85,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 2.85,
                "taxAmount": 0.49,
                "totalAmount": 3.34,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Adhesive Tape - Brown (50mm x 66m)",
                "unitAmount": 2.66,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 13.3,
                "taxAmount": 2.27,
                "totalAmount": 15.57,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "JP010 Jet Printer Cartridge",
                "unitAmount": 17.1,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 85.5,
                "taxAmount": 14.59,
                "totalAmount": 100.09,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Letter Trays - 3 pack (Red)",
                "unitAmount": 6.65,
                "quantity": 2,
                "discountAmount": 0,
                "subTotal": 13.3,
                "taxAmount": 2.27,
                "totalAmount": 15.57,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -100.09
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -66.73
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -117.5
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -177.94
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -230.38
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -17.79
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -71.08
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -88.97
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -15.57
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -3.34
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -199.94
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -100.09
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -16.68
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -18.91
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -23.32
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -99.97
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -21.13
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -15.57
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -19.42
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -8.31
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -11.12
                }
              },
              {
                "payment": {
                  "id": "265",
                  "note": "Sales receipt 265 linked to sales invoice inv-1.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 1432.17
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -8.32
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 1223.04,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 209.13,
            "totalAmount": 1432.17,
            "amountDue": 0,
            "status": "Paid",
            "note": "",
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "INV-9",
            "invoiceNumber": "9",
            "customerRef": {
              "id": "KIN001",
              "companyName": "Kinghorn & French"
            },
            "salesOrderRefs": [],
            "issueDate": "2021-01-04T00:00:00",
            "modifiedDate": "2023-03-30T14:42:42Z",
            "sourceModifiedDate": "2022-11-25T09:43:54",
            "paidOnDate": "2022-01-29T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "PC Combo Pack 4",
                "unitAmount": 765,
                "quantity": 5,
                "discountAmount": 765,
                "subTotal": 3060,
                "taxAmount": 522.11,
                "totalAmount": 3582.11,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 20,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "PC Combo Pack 5",
                "unitAmount": 1080,
                "quantity": 4,
                "discountAmount": 864,
                "subTotal": 3456,
                "taxAmount": 589.68,
                "totalAmount": 4045.68,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 20,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "PC Combo Pack 6",
                "unitAmount": 1350,
                "quantity": 2,
                "discountAmount": 540,
                "subTotal": 2160,
                "taxAmount": 368.55,
                "totalAmount": 2528.55,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 20,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "FX030 Multifunctional Fax",
                "unitAmount": 414,
                "quantity": 2,
                "discountAmount": 165.6,
                "subTotal": 662.4,
                "taxAmount": 113.02,
                "totalAmount": 775.42,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 20,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              },
              {
                "description": "Copy Paper - Premium Grade",
                "unitAmount": 3.06,
                "quantity": 100,
                "discountAmount": 61.2,
                "subTotal": 244.8,
                "taxAmount": 41.77,
                "totalAmount": 286.57,
                "accountRef": {
                  "id": "4000",
                  "name": "Sales North"
                },
                "discountPercentage": 20,
                "taxRateRef": {
                  "id": "1",
                  "name": "Standard rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department_1",
                    "name": "Sales"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "271",
                  "note": "Sales receipt 271 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 11123.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -276.57
                }
              },
              {
                "payment": {
                  "id": "271",
                  "note": "Sales receipt 271 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 11123.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -765.42
                }
              },
              {
                "payment": {
                  "id": "271",
                  "note": "Sales receipt 271 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 11123.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -4035.68
                }
              },
              {
                "payment": {
                  "id": "271",
                  "note": "Sales receipt 271 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 11123.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -2518.55
                }
              },
              {
                "payment": {
                  "id": "271",
                  "note": "Sales receipt 271 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": "1200",
                    "name": "Bank Current Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 11123.33
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -3527.11
                }
              },
              {
                "payment": {
                  "id": "272",
                  "note": "Sales discount 272 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": ""
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "272",
                  "note": "Sales discount 272 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": ""
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "272",
                  "note": "Sales discount 272 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": ""
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "272",
                  "note": "Sales discount 272 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": ""
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "272",
                  "note": "Sales discount 272 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": ""
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-01-29T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -10
                }
              },
              {
                "payment": {
                  "id": "9",
                  "note": "Sales credit tx-9 linked to sales invoice inv-9.",
                  "accountRef": {
                    "id": ""
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2021-12-31T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -45
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 2395.8,
            "subTotal": 9583.2,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 1635.13,
            "totalAmount": 11218.33,
            "amountDue": 0,
            "status": "Paid",
            "note": "",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 86,
        "_links": {
          "current": {
            "href": "/companies/cf5f2a47-2990-4221-bae6-0c19c86ac304/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/cf5f2a47-2990-4221-bae6-0c19c86ac304/data/invoices"
          },
          "next": {
            "href": "/companies/cf5f2a47-2990-4221-bae6-0c19c86ac304/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Sage Business Cloud Accounting",
      "example": {
        "results": [
          {
            "id": "b039b0a733de11e797950a57719b2edb",
            "invoiceNumber": "SI-1",
            "customerRef": {
              "id": "f4ff85ba33dd11e797950a57719b2edb",
              "companyName": "Widgets Limited"
            },
            "salesOrderRefs": [],
            "issueDate": "2017-05-08T00:00:00",
            "dueDate": "2017-06-07T00:00:00",
            "modifiedDate": "2022-10-24T15:03:37Z",
            "sourceModifiedDate": "2021-07-23T13:42:59Z",
            "paidOnDate": "2021-07-23T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Consulting services",
                "unitAmount": 900,
                "quantity": 8,
                "discountAmount": 0,
                "subTotal": 7200,
                "taxAmount": 1440,
                "totalAmount": 8640,
                "accountRef": {
                  "id": "9a994b92267a11e797950a57719b2edb",
                  "name": "Sales Type A"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "GB_STANDARD",
                  "name": "Standard 20.00%",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "a87b922b33de11e797950a57719b2edb",
                  "name": "Consulting services"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "e1c2bd659a6111e8bad90617b3da4b8a",
                  "note": "Sales credit note",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2018-08-07T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -1000
                }
              },
              {
                "payment": {
                  "id": "e1c2bd659a6111e8bad90617b3da4b8a",
                  "note": "Sales credit note",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2018-08-07T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -1000
                }
              },
              {
                "payment": {
                  "id": "579388a0215911e8b45c025132dab352",
                  "note": "Customer receipt using credit/debit card",
                  "accountRef": {
                    "id": "9a25937b267a11e797950a57719b2edb",
                    "name": "Current"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2018-01-02T00:00:00",
                  "totalAmount": 1400
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -1400
                }
              },
              {
                "payment": {
                  "id": "52237e4e215911e8b45c025132dab352",
                  "note": "Customer receipt using credit/debit card",
                  "accountRef": {
                    "id": "9a25937b267a11e797950a57719b2edb",
                    "name": "Current"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2018-01-02T00:00:00",
                  "totalAmount": 4000
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -4000
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 7200,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 1440,
            "totalAmount": 8640,
            "amountDue": 1240,
            "status": "PartiallyPaid"
          },
          {
            "id": "6420b3f8209611e8b45c025132dab352",
            "invoiceNumber": "SI-2",
            "customerRef": {
              "id": "f4ff85ba33dd11e797950a57719b2edb",
              "companyName": "Widgets Limited"
            },
            "salesOrderRefs": [],
            "issueDate": "2018-03-05T00:00:00",
            "dueDate": "2018-04-04T00:00:00",
            "modifiedDate": "2022-10-24T15:03:37Z",
            "sourceModifiedDate": "2018-03-05T16:58:39Z",
            "paidOnDate": "2018-03-05T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Consulting services",
                "unitAmount": 900,
                "quantity": 5,
                "discountAmount": 0,
                "subTotal": 4500,
                "taxAmount": 900,
                "totalAmount": 5400,
                "accountRef": {
                  "id": "9a994b92267a11e797950a57719b2edb",
                  "name": "Sales Type A"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "GB_STANDARD",
                  "name": "Standard 20.00%",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "a87b922b33de11e797950a57719b2edb",
                  "name": "Consulting services"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "73a0490d209611e8b45c025132dab352",
                  "note": "Customer receipt using cash - PAYMENT-CASH-001",
                  "accountRef": {
                    "id": "9a25937b267a11e797950a57719b2edb",
                    "name": "Current"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2018-03-05T00:00:00",
                  "totalAmount": 5400
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -5400
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 4500,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 900,
            "totalAmount": 5400,
            "amountDue": 0,
            "status": "Paid"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 10759,
        "_links": {
          "current": {
            "href": "/companies/390083e2-351b-407c-a3be-55081c36c182/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/390083e2-351b-407c-a3be-55081c36c182/data/invoices"
          },
          "next": {
            "href": "/companies/390083e2-351b-407c-a3be-55081c36c182/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Sage Intacct",
      "example": {
        "results": [
          {
            "id": "2916",
            "invoiceNumber": "IN0480",
            "customerRef": {
              "id": "12",
              "companyName": "MK Manufacturing"
            },
            "salesOrderRefs": [],
            "issueDate": "2021-04-22T00:00:00",
            "dueDate": "2021-05-22T00:00:00",
            "modifiedDate": "2023-04-04T16:31:54Z",
            "sourceModifiedDate": "2021-04-22T11:01:11Z",
            "paidOnDate": "2021-04-22T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "unitAmount": 100,
                "quantity": 1,
                "subTotal": 100,
                "taxAmount": 20,
                "totalAmount": 120,
                "accountRef": {
                  "id": "176",
                  "name": "Revenue - Services"
                },
                "taxRateRef": {
                  "id": "105",
                  "name": "UK Sale Services Standard Rate",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [
                  {
                    "id": "CUSTOMER-12",
                    "name": "MK Manufacturing"
                  },
                  {
                    "id": "DEPARTMENT-2",
                    "name": "Services"
                  },
                  {
                    "id": "LOCATION-11",
                    "name": "Codat Test Entity"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "2918",
                  "note": "",
                  "accountRef": {
                    "id": "353",
                    "name": "Current Account"
                  },
                  "currency": "GBP",
                  "paidOnDate": "2021-04-22T00:00:00",
                  "totalAmount": 120
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -120
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 100,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 20,
            "totalAmount": 120,
            "amountDue": 0,
            "status": "Paid",
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "18827",
            "invoiceNumber": "IN1515",
            "customerRef": {
              "id": "6",
              "companyName": "AG Insurance"
            },
            "salesOrderRefs": [],
            "issueDate": "2022-09-28T00:00:00",
            "dueDate": "2022-10-28T00:00:00",
            "modifiedDate": "2023-04-04T16:31:54Z",
            "sourceModifiedDate": "2022-10-05T11:02:22Z",
            "currency": "USD",
            "currencyRate": 0.9294,
            "lineItems": [
              {
                "description": "test desc Test05102022-1",
                "unitAmount": 180,
                "quantity": 1,
                "subTotal": 180,
                "taxAmount": 0,
                "totalAmount": 180,
                "accountRef": {
                  "id": "2",
                  "name": "Accounts Receivable"
                },
                "taxRateRef": {
                  "id": "58",
                  "name": "EC Sale Goods Standard Rate",
                  "effectiveTaxRate": 0
                },
                "trackingCategoryRefs": [
                  {
                    "id": "CUSTOMER-6",
                    "name": "AG Insurance"
                  },
                  {
                    "id": "DEPARTMENT-1",
                    "name": "Sales"
                  },
                  {
                    "id": "LOCATION-11",
                    "name": "Codat Test Entity"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 180,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 180,
            "amountDue": 180,
            "status": "Submitted",
            "note": "test desc Test05102022-1",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 2,
        "_links": {
          "current": {
            "href": "/companies/df02b289-cb16-4964-ac4d-9fd60b04538e/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/df02b289-cb16-4964-ac4d-9fd60b04538e/data/invoices"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Wave",
      "example": {
        "results": [
          {
            "id": "QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2O0ludm9pY2U6NzgyNDQ4OTg1Nzc1MzE5MTYw",
            "invoiceNumber": "1",
            "customerRef": {
              "id": "QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2O0N1c3RvbWVyOjMyMzkzNTA4",
              "companyName": "ABC Textiles"
            },
            "salesOrderRefs": [],
            "issueDate": "2019-10-17T00:00:00",
            "dueDate": "2019-10-17T00:00:00",
            "modifiedDate": "2022-11-16T18:15:23Z",
            "sourceModifiedDate": "2019-12-05T23:20:36Z",
            "paidOnDate": "2019-12-05T23:20:36Z",
            "currency": "USD",
            "currencyRate": 0.784736781,
            "lineItems": [
              {
                "description": "",
                "unitAmount": 10,
                "quantity": 5,
                "subTotal": 50,
                "taxAmount": 2.5,
                "totalAmount": 52.5,
                "accountRef": {
                  "id": "QWNjb3VudDo3OTE3NTA2MDA0MjQ0NTExMTU7QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2",
                  "name": "Sales"
                },
                "itemRef": {
                  "id": "QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2O1Byb2R1Y3Q6MzU2NjcyNTI=",
                  "name": "Golf balls"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "subTotal": 50,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 2.5,
            "totalAmount": 52.5,
            "amountDue": 0,
            "status": "Paid"
          },
          {
            "id": "QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2O0ludm9pY2U6ODgzOTc4MDA2NDIxMzUwODIx",
            "invoiceNumber": "2",
            "customerRef": {
              "id": "QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2O0N1c3RvbWVyOjM2OTkxOTYw",
              "companyName": "NIC Cookies"
            },
            "salesOrderRefs": [],
            "issueDate": "2020-03-05T00:00:00",
            "dueDate": "2020-03-05T00:00:00",
            "modifiedDate": "2022-11-16T18:15:23Z",
            "sourceModifiedDate": "2020-03-30T14:10:21Z",
            "paidOnDate": "2020-03-30T14:10:21Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Decorated cookies",
                "unitAmount": 4,
                "quantity": 50,
                "subTotal": 200,
                "taxAmount": 40,
                "totalAmount": 240,
                "accountRef": {
                  "id": "QWNjb3VudDo3OTE3NTA2MDA0MjQ0NTExMTU7QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2",
                  "name": "Sales"
                },
                "itemRef": {
                  "id": "QnVzaW5lc3M6ZTI0OGQyZDctMWE5Ni00YTk4LWFkOTEtMDdlMGYyMmNhNmE2O1Byb2R1Y3Q6NDEzNzEwOTU=",
                  "name": "Cookies"
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [],
            "withholdingTax": [],
            "subTotal": 200,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 40,
            "totalAmount": 240,
            "amountDue": 0,
            "status": "Paid"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 19,
        "_links": {
          "current": {
            "href": "/companies/0b22b59d-b4e5-4c35-b03f-88bbbcb41256/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/0b22b59d-b4e5-4c35-b03f-88bbbcb41256/data/invoices"
          },
          "next": {
            "href": "/companies/0b22b59d-b4e5-4c35-b03f-88bbbcb41256/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Xero",
      "example": {
        "results": [
          {
            "id": "321bfed3-2da2-4969-9358-4de97821181b",
            "invoiceNumber": "INV-001-0",
            "customerRef": {
              "id": "afd4093b-c655-4847-8ee2-10a4f2c3eae3",
              "companyName": "Maddox Publishing Group"
            },
            "salesOrderRefs": [],
            "issueDate": "2021-12-20T00:00:00",
            "dueDate": "2022-01-17T00:00:00",
            "modifiedDate": "2023-03-15T20:38:11Z",
            "sourceModifiedDate": "2021-01-02T20:34:51",
            "paidOnDate": "2022-02-17T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Project management - onsite daily rate - your CRM integration project",
                "unitAmount": 583.3333333333,
                "quantity": 6,
                "discountAmount": 0,
                "subTotal": 3500,
                "taxAmount": 700,
                "totalAmount": 4200,
                "accountRef": {
                  "id": "a969500a-377c-4cea-8f2b-a4e385607fd0",
                  "name": "Other Revenue"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "OUTPUT2",
                  "name": "20% (VAT on Income)",
                  "effectiveTaxRate": 20
                },
                "itemRef": {
                  "id": "aa1c5f84-4453-42fa-9c92-69d4085607c9",
                  "name": "Project management - daily rate"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "34b9b859-07a9-451a-b4d3-effc9946634a",
                    "name": "North"
                  }
                ],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "65b746c8-9a5d-4a95-8096-d2316fcff592",
                  "accountRef": {
                    "id": "bd9e85e0-0478-433d-ae9f-0b3c4f04bfe4",
                    "name": "Business Bank Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-02-17T00:00:00",
                  "totalAmount": 4200
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -4200
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 3500,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 700,
            "totalAmount": 4200,
            "amountDue": 0,
            "status": "Paid",
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "4b6d0c8f-10fa-42cd-a6e5-53b175e90005",
            "invoiceNumber": "INV-0001",
            "customerRef": {
              "id": "a871a956-05b5-4e2a-9419-7aeb478ca647",
              "companyName": "Ridgeway University"
            },
            "salesOrderRefs": [],
            "issueDate": "2022-02-07T00:00:00",
            "dueDate": "2022-02-17T00:00:00",
            "modifiedDate": "2023-03-15T20:38:11Z",
            "sourceModifiedDate": "2021-01-02T22:51:43",
            "paidOnDate": "2022-02-17T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Retainer for consulting work",
                "unitAmount": 416.67,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 416.67,
                "taxAmount": 83.33,
                "totalAmount": 500,
                "accountRef": {
                  "id": "c563b607-fb0e-4d06-9ddb-76fdeef20ae3",
                  "name": "Sales"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "OUTPUT2",
                  "name": "20% (VAT on Income)",
                  "effectiveTaxRate": 20
                },
                "trackingCategoryRefs": [],
                "isDirectIncome": false
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "8c481b70-b5d7-4de4-a7f7-9e161be2c472",
                  "reference": "",
                  "accountRef": {
                    "id": "bd9e85e0-0478-433d-ae9f-0b3c4f04bfe4",
                    "name": "Business Bank Account"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2022-02-17T00:00:00",
                  "totalAmount": 500
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -500
                }
              }
            ],
            "withholdingTax": [],
            "totalDiscount": 0,
            "subTotal": 416.67,
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 83.33,
            "totalAmount": 500,
            "amountDue": 0,
            "status": "Paid",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 44,
        "_links": {
          "current": {
            "href": "/companies/5ced9667-a310-443a-a711-958d36377141/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/5ced9667-a310-443a-a711-958d36377141/data/invoices"
          },
          "next": {
            "href": "/companies/5ced9667-a310-443a-a711-958d36377141/data/invoices?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Zoho Books",
      "example": {
        "results": [
          {
            "id": "104957000000038034",
            "invoiceNumber": "INV-102",
            "customerRef": {
              "id": "104957000000037097",
              "companyName": "Test Company"
            },
            "salesOrderRefs": [],
            "issueDate": "2020-02-06T10:54:03",
            "dueDate": "2020-02-17T00:00:00",
            "modifiedDate": "2022-10-03T08:40:37Z",
            "sourceModifiedDate": "2020-05-19T15:36:26",
            "paidOnDate": "2020-05-19T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "104957000000129048",
                  "note": "",
                  "reference": "9",
                  "accountRef": {
                    "id": "104957000000000349",
                    "name": "Petty Cash"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-04-29T00:00:00",
                  "totalAmount": 9000
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -9000
                }
              },
              {
                "payment": {
                  "id": "104957000000137017",
                  "note": "",
                  "reference": "11",
                  "accountRef": {
                    "id": "104957000000060010",
                    "name": "Abdi Test"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-05-19T00:00:00",
                  "totalAmount": 9000
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -1
                }
              }
            ],
            "withholdingTax": [],
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 9001,
            "amountDue": 0,
            "status": "Paid"
          },
          {
            "id": "104957000000038052",
            "invoiceNumber": "INV-104",
            "customerRef": {
              "id": "104957000000037097",
              "companyName": "Test Company"
            },
            "salesOrderRefs": [],
            "issueDate": "2020-02-06T10:54:04",
            "dueDate": "2020-02-17T00:00:00",
            "modifiedDate": "2022-10-03T08:40:37Z",
            "sourceModifiedDate": "2020-02-17T14:21:05",
            "paidOnDate": "2020-02-06T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "104957000000070175",
                  "note": "Cheque deposit",
                  "reference": "4",
                  "accountRef": {
                    "id": "104957000000060010",
                    "name": "Abdi Test"
                  },
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2020-02-06T00:00:00",
                  "totalAmount": 9001
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": -9001
                }
              }
            ],
            "withholdingTax": [],
            "additionalTaxAmount": 0,
            "additionalTaxPercentage": 0,
            "totalTaxAmount": 0,
            "totalAmount": 9001,
            "amountDue": 0,
            "status": "Paid"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 48,
        "_links": {
          "current": {
            "href": "/companies/d0b68840-db50-4bc3-b88c-96e225333fea/data/invoices?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/d0b68840-db50-4bc3-b88c-96e225333fea/data/invoices"
          },
          "next": {
            "href": "/companies/d0b68840-db50-4bc3-b88c-96e225333fea/data/invoices?page=2&pageSize=2"
          }
        }
      }
    }
  ]
}