Codat · Example Payload

Codat List Accounting Bill Credit Notes Example

Unified_API

Codat List Accounting Bill Credit Notes Example is an example object payload from Codat, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "list-accounting-bill-credit-notes",
  "method": "GET",
  "path": "/companies/{companyId}/data/billCreditNotes",
  "summary": "List bill credit notes",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Dynamics 365 Business Central",
      "example": {
        "results": [
          {
            "id": "0deaed0a-9f51-eb11-89f9-00224800af18",
            "billCreditNoteNumber": "109001",
            "supplierRef": {
              "id": "be1217b3-89d1-ea11-bbaa-000d3a2b9185",
              "supplierName": "Fabrikam, Inc."
            },
            "withholdingTax": [],
            "totalAmount": 8,
            "totalDiscount": 0,
            "subTotal": 8,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 8,
            "status": "Submitted",
            "issueDate": "2020-12-21T00:00:00",
            "currency": "GBP",
            "lineItems": [
              {
                "description": "Abdi Item No VAT",
                "unitAmount": 8,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 8,
                "taxAmount": 0,
                "totalAmount": 8,
                "accountRef": {
                  "id": "6a1217b3-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Inventory"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "6bbc0fb9-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Setup for EXPORT / ZERO",
                  "effectiveTaxRate": 0
                },
                "itemRef": {
                  "id": "ITEM-dbc37b18-4209-eb11-bbf6-0022481ad2e8-EXPORT-EXPORT",
                  "name": "Abdi Item No VAT / General Business Posting Group: 'EXPORT' / VAT Business Posting Group: 'EXPORT'"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2023-03-27T14:21:26Z",
            "metadata": {
              "isDeleted": false
            },
            "note": "BCN001"
          },
          {
            "id": "157c025f-a19e-eb11-8ce6-0022481a7bed",
            "billCreditNoteNumber": "109002",
            "supplierRef": {
              "id": "be1217b3-89d1-ea11-bbaa-000d3a2b9185",
              "supplierName": "Fabrikam, Inc."
            },
            "withholdingTax": [],
            "totalAmount": 20,
            "totalDiscount": 0,
            "subTotal": 20,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 10,
            "status": "PartiallyPaid",
            "issueDate": "2021-01-26T00:00:00",
            "currency": "GBP",
            "lineItems": [
              {
                "description": "Abdi Item No VAT",
                "unitAmount": 20,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 20,
                "taxAmount": 0,
                "totalAmount": 20,
                "accountRef": {
                  "id": "6a1217b3-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Inventory"
                },
                "discountPercentage": 0,
                "taxRateRef": {
                  "id": "6bbc0fb9-89d1-ea11-bbaa-000d3a2b9185",
                  "name": "Setup for EXPORT / ZERO",
                  "effectiveTaxRate": 0
                },
                "itemRef": {
                  "id": "ITEM-dbc37b18-4209-eb11-bbf6-0022481ad2e8-EXPORT-EXPORT",
                  "name": "Abdi Item No VAT / General Business Posting Group: 'EXPORT' / VAT Business Posting Group: 'EXPORT'"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "257c025f-a19e-eb11-8ce6-0022481a7bed",
                  "note": "Credit Memo 1002",
                  "reference": "109002",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2021-01-26T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "allocatedOnDate": "2021-04-16T00:00:00",
                  "totalAmount": 10
                }
              }
            ],
            "modifiedDate": "2023-03-27T14:21:26Z",
            "metadata": {
              "isDeleted": false
            },
            "note": "16042021"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 224,
        "_links": {
          "current": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Exact (Netherlands)",
      "example": {
        "results": [
          {
            "id": "443bd109-e1ed-4de2-b1ab-3b13e980d288",
            "billCreditNoteNumber": "19600007",
            "supplierRef": {
              "id": "5e6f49b9-6489-4b82-83e7-291d308919bb",
              "supplierName": "Mickey Mouse"
            },
            "withholdingTax": [],
            "totalAmount": 12.1,
            "totalDiscount": 0,
            "subTotal": 10,
            "totalTaxAmount": 2.1,
            "discountPercentage": 0,
            "remainingCredit": 12.1,
            "status": "Submitted",
            "issueDate": "2019-12-16T00:00:00Z",
            "currency": "EUR",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Cheesecake",
                "unitAmount": 10,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 10,
                "taxAmount": 2.1,
                "totalAmount": 12.1,
                "accountRef": {
                  "id": "5f139759-b554-4314-862e-b9d88e5b2e1b",
                  "name": "Af te dragen loonheffing"
                },
                "taxRateRef": {
                  "id": "84277189-ad16-456c-b501-ca31f0a483cc",
                  "name": "BTW prive gebruik",
                  "effectiveTaxRate": 21
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-10-26T13:32:18Z",
            "sourceModifiedDate": "2020-01-03T15:06:19Z"
          },
          {
            "id": "6643f559-d7e9-4cfe-802f-60beddbc4ed9",
            "billCreditNoteNumber": "20600003",
            "supplierRef": {
              "id": "f87070e2-bbd7-4383-a7c9-824748c1d70e",
              "supplierName": "Exact Software Nederland B.V."
            },
            "withholdingTax": [],
            "totalAmount": 13.57,
            "totalDiscount": 0,
            "subTotal": 13.57,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 13.57,
            "status": "Submitted",
            "issueDate": "2020-01-20T00:00:00Z",
            "currency": "EUR",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "1 transactions of type CARD_PAYMENT_FEE_REFUND",
                "unitAmount": 13.57,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 13.57,
                "totalAmount": 13.57,
                "accountRef": {
                  "id": "f6c251f5-21d0-4164-9b8f-17789fd2fee9",
                  "name": "Kosten werkgeverslasten vakantiegeld"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-10-26T13:32:18Z",
            "sourceModifiedDate": "2020-01-20T19:38:37Z"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 42,
        "_links": {
          "current": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/b83b1923-4db6-45a8-a779-b4e320c15979/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Exact (UK)",
      "example": {
        "results": [
          {
            "id": "f9083d38-40c7-4b5f-a693-f4670e3d85bc",
            "billCreditNoteNumber": "19600008",
            "supplierRef": {
              "id": "1c703cce-967c-4476-a86a-32e35341a8f5",
              "supplierName": "Customer Bill Supplier"
            },
            "withholdingTax": [],
            "totalAmount": 99999,
            "totalDiscount": 0,
            "subTotal": 99999,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 99999,
            "status": "Submitted",
            "issueDate": "2019-10-30T00:00:00Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Oil Change",
                "unitAmount": -150,
                "quantity": 1000.5,
                "discountAmount": 0,
                "subTotal": -150075,
                "totalAmount": -150075,
                "accountRef": {
                  "id": "885ff551-664d-451b-995b-cb114c9877d0",
                  "name": "Unallocated Cash"
                },
                "itemRef": {
                  "id": "3001"
                },
                "trackingCategoryRefs": []
              },
              {
                "description": "description",
                "unitAmount": 250074,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 250074,
                "totalAmount": 250074,
                "accountRef": {
                  "id": "885ff551-664d-451b-995b-cb114c9877d0",
                  "name": "Unallocated Cash"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-10-26T13:33:23Z",
            "sourceModifiedDate": "2019-10-30T13:12:56Z"
          },
          {
            "id": "05023688-5bd5-4034-ae4c-5e3e5099bbfb",
            "billCreditNoteNumber": "19600009",
            "supplierRef": {
              "id": "1c703cce-967c-4476-a86a-32e35341a8f5",
              "supplierName": "Customer Bill Supplier"
            },
            "withholdingTax": [],
            "totalAmount": 10,
            "totalDiscount": 0,
            "subTotal": 10,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 10,
            "status": "Submitted",
            "issueDate": "2019-11-01T00:00:00Z",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Credit note line item #5",
                "unitAmount": 10,
                "quantity": 1,
                "discountAmount": 0,
                "subTotal": 10,
                "totalAmount": 10,
                "accountRef": {
                  "id": "62be6536-f4ea-49b8-9797-1adc23982334",
                  "name": "Depreciation"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-10-26T13:33:23Z",
            "sourceModifiedDate": "2019-11-01T15:07:18Z"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 40,
        "_links": {
          "current": {
            "href": "/companies/d95030cd-22b2-482b-9c7b-2980dcc2b1ce/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/d95030cd-22b2-482b-9c7b-2980dcc2b1ce/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/d95030cd-22b2-482b-9c7b-2980dcc2b1ce/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "FreeAgent",
      "example": {
        "results": [
          {
            "id": "10665024",
            "billCreditNoteNumber": "Bill Credit",
            "supplierRef": {
              "id": "6161941",
              "supplierName": "A & J Fabtech Ltd"
            },
            "withholdingTax": [],
            "totalAmount": 1500,
            "totalDiscount": 0,
            "subTotal": 1250,
            "totalTaxAmount": 250,
            "discountPercentage": 0,
            "remainingCredit": 1500,
            "status": "Submitted",
            "issueDate": "2018-08-22T00:00:00",
            "currency": "GBP",
            "lineItems": [
              {
                "description": "A & J Fabtech Ltd - Bill Credit Note Bill Credit",
                "unitAmount": 1250,
                "quantity": 1,
                "taxAmount": 250,
                "totalAmount": 1500,
                "accountRef": {
                  "id": "285",
                  "name": "Accommodation and Meals"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2023-04-25T14:19:10Z",
            "sourceModifiedDate": "2018-08-22T13:22:08Z",
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "11007024",
            "billCreditNoteNumber": "Draft test",
            "supplierRef": {
              "id": "6161963",
              "supplierName": "ABB Ltd"
            },
            "withholdingTax": [],
            "totalAmount": 10,
            "totalDiscount": 0,
            "subTotal": 8.33,
            "totalTaxAmount": 1.67,
            "discountPercentage": 0,
            "remainingCredit": 10,
            "status": "Submitted",
            "issueDate": "2018-10-17T00:00:00",
            "currency": "GBP",
            "lineItems": [
              {
                "description": "ABB Ltd - Bill Credit Note Draft test",
                "unitAmount": 8.33,
                "quantity": 1,
                "taxAmount": 1.67,
                "totalAmount": 10,
                "accountRef": {
                  "id": "285",
                  "name": "Accommodation and Meals"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2023-04-25T14:19:10Z",
            "sourceModifiedDate": "2018-10-17T12:56:54Z",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 45,
        "_links": {
          "current": {
            "href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "KashFlow",
      "example": {
        "results": [
          {
            "id": "91339087",
            "billCreditNoteNumber": "5",
            "supplierRef": {
              "id": "6202387",
              "supplierName": "Dell"
            },
            "withholdingTax": [],
            "totalAmount": 10,
            "totalDiscount": 0,
            "subTotal": 0,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 0,
            "status": "Paid",
            "issueDate": "2020-02-25T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Oil refund",
                "unitAmount": 10,
                "quantity": 1,
                "subTotal": 10,
                "taxAmount": 0,
                "totalAmount": 10,
                "accountRef": {
                  "id": "21481832",
                  "name": "Oil"
                },
                "itemRef": {
                  "id": "114817740"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-09-30T10:29:16Z"
          },
          {
            "id": "91341939",
            "billCreditNoteNumber": "6",
            "supplierRef": {
              "id": "6202387",
              "supplierName": "Dell"
            },
            "withholdingTax": [],
            "totalAmount": 240,
            "totalDiscount": 0,
            "subTotal": 0,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 0,
            "status": "Paid",
            "issueDate": "2020-02-25T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "",
                "unitAmount": -200,
                "quantity": -1,
                "subTotal": 200,
                "taxAmount": -40,
                "totalAmount": 240,
                "accountRef": {
                  "id": "21481820",
                  "name": "Materials purchased"
                },
                "itemRef": {
                  "id": "114821376"
                },
                "trackingCategoryRefs": []
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-09-30T10:29:16Z"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 8,
        "_links": {
          "current": {
            "href": "/companies/3a707a99-89da-4b16-a5d6-595333a16352/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/3a707a99-89da-4b16-a5d6-595333a16352/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/3a707a99-89da-4b16-a5d6-595333a16352/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Oracle NetSuite",
      "example": {
        "results": [
          {
            "id": "1781",
            "billCreditNoteNumber": "VENDCRED1",
            "supplierRef": {
              "id": "749",
              "supplierName": "Jo's Cheese"
            },
            "withholdingTax": [],
            "totalAmount": 174.6,
            "totalDiscount": 0,
            "subTotal": 145.5,
            "totalTaxAmount": 29.1,
            "discountPercentage": 0,
            "remainingCredit": 174.6,
            "status": "Submitted",
            "issueDate": "2021-11-02T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "billcredit_test",
                "unitAmount": 145.5,
                "quantity": 1,
                "unitOfMeasurement": "pack",
                "subTotal": 145.5,
                "totalAmount": 145.5,
                "accountRef": {
                  "id": "713",
                  "name": "Inventory Asset"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "department-1"
                  },
                  {
                    "id": "location-1"
                  }
                ],
                "tracking": {
                  "categoryRefs": [
                    {
                      "id": "department-1"
                    },
                    {
                      "id": "location-1"
                    }
                  ],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "Unknown"
                }
              }
            ],
            "paymentAllocations": [],
            "modifiedDate": "2022-09-20T08:16:22Z",
            "sourceModifiedDate": "2021-11-02T19:58:58",
            "note": "Codat1"
          },
          {
            "id": "1782",
            "billCreditNoteNumber": "VENDCRED2",
            "supplierRef": {
              "id": "749",
              "supplierName": "Jo's Cheese"
            },
            "withholdingTax": [],
            "totalAmount": 642.3,
            "totalDiscount": 0,
            "subTotal": 535.25,
            "totalTaxAmount": 107.05,
            "discountPercentage": 0,
            "remainingCredit": 342.3,
            "status": "PartiallyPaid",
            "issueDate": "2021-11-02T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Cheese",
                "unitAmount": 400,
                "quantity": 1,
                "unitOfMeasurement": "pack",
                "subTotal": 400,
                "totalAmount": 400,
                "accountRef": {
                  "id": "714",
                  "name": "Cost of Goods Sold"
                },
                "createdFromLineRef": {
                  "id": "7462",
                  "dataType": "bills",
                  "lineNumber": "1"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "location-1"
                  }
                ],
                "tracking": {
                  "categoryRefs": [
                    {
                      "id": "location-1"
                    }
                  ],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "Unknown"
                }
              },
              {
                "description": "double cream",
                "unitAmount": 100,
                "quantity": 1,
                "subTotal": 100,
                "totalAmount": 100,
                "accountRef": {
                  "id": "714",
                  "name": "Cost of Goods Sold"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "location-1"
                  }
                ],
                "tracking": {
                  "categoryRefs": [
                    {
                      "id": "location-1"
                    }
                  ],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "Unknown"
                }
              },
              {
                "description": "",
                "unitAmount": 35.25,
                "quantity": 1,
                "subTotal": 35.25,
                "totalAmount": 35.25,
                "accountRef": {
                  "id": "54",
                  "name": "Sales"
                },
                "itemRef": {
                  "id": "128",
                  "name": "Test Item"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "location-1"
                  }
                ],
                "tracking": {
                  "categoryRefs": [
                    {
                      "id": "location-1"
                    }
                  ],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "Unknown"
                }
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "1782",
                  "note": "Codat1",
                  "reference": "Bill Credit 02/11/2021",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2021-11-02T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": 300
                }
              }
            ],
            "createdFromRefs": [
              {
                "id": "7462",
                "dataType": "bills"
              }
            ],
            "modifiedDate": "2022-09-20T08:16:22Z",
            "sourceModifiedDate": "2021-11-03T18:27:14",
            "note": "Codat1"
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 16,
        "_links": {
          "current": {
            "href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "QuickBooks Desktop",
      "example": {
        "results": [
          {
            "id": "6D2C-1197698059",
            "billCreditNoteNumber": "Return",
            "supplierRef": {
              "id": "E0000-933272656",
              "supplierName": "Timberloft Lumber"
            },
            "withholdingTax": [],
            "totalAmount": 475,
            "totalDiscount": 0,
            "subTotal": 475,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 475,
            "status": "Submitted",
            "issueDate": "2024-10-30T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Lumber:Rough - Rough lumber",
                "unitAmount": 475,
                "quantity": 0,
                "discountAmount": 0,
                "subTotal": 475,
                "taxAmount": 0,
                "totalAmount": 475,
                "discountPercentage": 0,
                "itemRef": {
                  "id": "1C0000-933272656",
                  "name": "Lumber:Rough"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "10000-933272658",
                    "name": "New Construction"
                  }
                ],
                "tracking": {
                  "categoryRefs": [
                    {
                      "id": "10000-933272658",
                      "name": "New Construction"
                    }
                  ],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "Unknown"
                }
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "6D2C-1197698059",
                  "reference": "Return",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2024-10-30T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": 475
                }
              }
            ],
            "modifiedDate": "2023-04-26T09:12:30Z",
            "sourceModifiedDate": "2023-12-16T05:06:19",
            "metadata": {
              "isDeleted": false
            }
          },
          {
            "id": "F3A-933787869",
            "billCreditNoteNumber": "CR-1098",
            "supplierRef": {
              "id": "80000-933272656",
              "supplierName": "Sloan Roofing"
            },
            "withholdingTax": [],
            "totalAmount": 850,
            "totalDiscount": 0,
            "subTotal": 850,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 850,
            "status": "Submitted",
            "issueDate": "2024-12-12T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "Subs:Roofing - Roofing",
                "unitAmount": 850,
                "quantity": 0,
                "discountAmount": 0,
                "subTotal": 850,
                "taxAmount": 0,
                "totalAmount": 850,
                "discountPercentage": 0,
                "itemRef": {
                  "id": "D0000-933272656",
                  "name": "Subs:Roofing"
                },
                "trackingCategoryRefs": [
                  {
                    "id": "10000-933272658",
                    "name": "New Construction"
                  }
                ],
                "tracking": {
                  "categoryRefs": [
                    {
                      "id": "10000-933272658",
                      "name": "New Construction"
                    }
                  ],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "Unknown"
                }
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "F3A-933787869",
                  "reference": "CR-1098",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2024-12-12T00:00:00",
                  "totalAmount": 0
                },
                "allocation": {
                  "currency": "GBP",
                  "currencyRate": 1,
                  "totalAmount": 850
                }
              }
            ],
            "modifiedDate": "2023-04-26T09:12:30Z",
            "sourceModifiedDate": "2023-12-16T05:05:03",
            "metadata": {
              "isDeleted": false
            }
          }
        ],
        "pageNumber": 1,
        "pageSize": 2,
        "totalResults": 3,
        "_links": {
          "current": {
            "href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/data/billCreditNotes?page=1&pageSize=2"
          },
          "self": {
            "href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/data/billCreditNotes"
          },
          "next": {
            "href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/data/billCreditNotes?page=2&pageSize=2"
          }
        }
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "QuickBooks Online",
      "example": {
        "results": [
          {
            "id": "19",
            "billCreditNoteNumber": "19",
            "supplierRef": {
              "id": "4",
              "supplierName": "BILLy elliot"
            },
            "withholdingTax": [],
            "totalAmount": 5,
            "totalDiscount": 0,
            "subTotal": 5,
            "totalTaxAmount": 0,
            "discountPercentage": 0,
            "remainingCredit": 0,
            "status": "Paid",
            "issueDate": "2019-05-13T00:00:00",
            "currency": "GBP",
            "currencyRate": 1,
            "lineItems": [
              {
                "description": "",
                "unitAmount": 5,
                "quantity": 1,
                "subTotal": 5,
                "taxAmount": 0,
                "totalAmount": 5,
                "accountRef": {
                  "id": "16",
                  "name": "Advertising"
                },
                "taxRateRef": {
                  "id": "NON",
                  "name": "NON",
                  "effectiveTaxRate": 0
                },
                "trackingCategoryRefs": [],
                "tracking": {
                  "categoryRefs": [],
                  "isBilledTo": "Unknown",
                  "isRebilledTo": "NotApplicable"
                }
              }
            ],
            "paymentAllocations": [
              {
                "payment": {
                  "id": "20",
                  "currency": "GBP",
                  "currencyRate": 1,
                  "paidOnDate": "2019-05-13T00:00:00",
                  "totalAmount

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