Codat · Example Payload

Codat List Reconciled Invoices Example

Unified_API

Codat List Reconciled Invoices 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-reconciled-invoices",
  "method": "GET",
  "path": "/companies/{companyId}/reports/enhancedInvoices",
  "summary": "List reconciled invoices",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "reportInfo": {
          "pageNumber": 1,
          "pageSize": 10,
          "totalResults": 101,
          "reportName": "Invoices report",
          "companyName": "Small Sandbox",
          "generatedDate": "2023-05-10T10:50:23.9437977Z"
        },
        "reportItems": [
          {
            "id": "15221fa4-e91a-4f64-a2bb-caeab4db85a4",
            "invoiceNumber": "UDs5KlfE",
            "customerRef": {
              "id": "ee4d0eee-063d-4c9f-8226-2c9a6a816249",
              "customerName": "Serena Keeling"
            },
            "issueDate": "2021-04-06T09:44:00",
            "dueDate": "2021-04-06T09:44:00",
            "status": "Paid",
            "currency": "GBP",
            "totalAmount": 7044.83,
            "amountDue": 0,
            "paidOnDate": "2021-04-06T09:44:00",
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2022-02-27T18:28:00",
            "payments": []
          },
          {
            "id": "58aea1cb-5b31-4eed-ba16-489dfa67a831",
            "invoiceNumber": "1IU1PMoT",
            "customerRef": {
              "id": "81e9c0df-3e5e-4180-b20c-c8e58100cdf3",
              "customerName": "Quinton Kovacek"
            },
            "issueDate": "2021-04-06T09:44:00",
            "dueDate": "2021-04-06T09:44:00",
            "status": "Paid",
            "currency": "GBP",
            "totalAmount": 3567.59,
            "amountDue": 0,
            "paidOnDate": "2021-04-06T09:44:00",
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2021-06-23T22:47:00",
            "payments": []
          },
          {
            "id": "9ecd07bc-9cab-4516-bad0-a0cd565cdbaf",
            "invoiceNumber": "eEIWyPN4",
            "customerRef": {
              "id": "c7326084-cd56-48e6-bcfa-be8919e024e1",
              "customerName": "Antwon Dach"
            },
            "issueDate": "2021-04-08T01:27:00",
            "dueDate": "2021-04-18T01:27:00",
            "status": "Paid",
            "currency": "GBP",
            "totalAmount": 153233.36,
            "amountDue": 0,
            "paidOnDate": "2021-04-10T12:31:00",
            "modifiedDate": "2022-08-01T09:44:59Z",
            "sourceModifiedDate": "2021-11-11T12:10:00",
            "payments": [
              {
                "id": "0878e8be-6746-4347-80ba-5491328c8411",
                "date": "2021-04-10T12:31:00",
                "paymentType": "payments",
                "amount": 153233.36,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "7cea078a-5c9a-4788-ae72-9bb60c5cc184",
            "invoiceNumber": "BXb8mYQW",
            "customerRef": {
              "id": "44e8516d-bcb0-459f-9e5d-7beaa56d57d0",
              "customerName": "Dolores Rath"
            },
            "issueDate": "2021-04-16T17:30:00",
            "dueDate": "2021-04-23T17:30:00",
            "status": "Paid",
            "currency": "GBP",
            "totalAmount": 12657.69,
            "amountDue": 0,
            "paidOnDate": "2021-04-23T17:30:00",
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2021-12-08T11:32:00",
            "payments": [
              {
                "id": "17b42934-13f6-4738-a506-2e253b1a606f",
                "date": "2021-04-23T17:30:00",
                "paymentType": "payments",
                "amount": 12657.69,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "aa4503d7-fe01-49fe-ba42-259b421ac640",
            "invoiceNumber": "wdjwiL5B",
            "customerRef": {
              "id": "5cbaf1af-4f02-4206-85ab-c525bd9b4f99",
              "customerName": "Bryana Douglas"
            },
            "issueDate": "2021-04-20T06:46:00",
            "dueDate": "2021-04-27T06:46:00",
            "status": "PartiallyPaid",
            "currency": "GBP",
            "totalAmount": 12935.39,
            "amountDue": 381.09,
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2022-03-11T20:03:00",
            "payments": [
              {
                "id": "1c03986b-9b6c-4220-bde6-4e3eba6cef9f",
                "date": "2021-04-23T14:59:00",
                "paymentType": "payments",
                "amount": 12554.3,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "d8a0e26e-4ec8-4fb5-887d-8b7531e3bedf",
            "invoiceNumber": "cTjJcu8x",
            "customerRef": {
              "id": "6f5290e5-70aa-4d0c-816e-9d2312cf217f",
              "customerName": "Brady Wilderman"
            },
            "issueDate": "2021-04-23T09:32:00",
            "dueDate": "2021-05-03T09:32:00",
            "status": "Paid",
            "currency": "GBP",
            "totalAmount": 21526.72,
            "amountDue": 0,
            "paidOnDate": "2021-05-03T09:32:00",
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2021-03-12T22:37:00",
            "payments": [
              {
                "id": "93c9c11b-3ec0-4314-85f6-0751763e752a",
                "date": "2021-05-03T09:32:00",
                "paymentType": "payments",
                "amount": 21506.72,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "06890e67-35fb-4276-9857-95db40cfd15d",
            "invoiceNumber": "htXJuUDb",
            "customerRef": {
              "id": "44e8516d-bcb0-459f-9e5d-7beaa56d57d0",
              "customerName": "Dolores Rath"
            },
            "issueDate": "2021-05-01T23:23:00",
            "dueDate": "2021-05-11T23:23:00",
            "status": "PartiallyPaid",
            "currency": "GBP",
            "totalAmount": 7151.41,
            "amountDue": 1225.06,
            "modifiedDate": "2022-08-01T09:44:59Z",
            "sourceModifiedDate": "2022-02-24T23:02:00",
            "payments": [
              {
                "id": "82865077-0857-46db-b9a1-6d21da43b6aa",
                "date": "2021-05-04T17:57:00",
                "paymentType": "payments",
                "amount": 5926.35,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "160e8b51-1fa0-46b9-98fe-1ff5399ce99b",
            "invoiceNumber": "9wegEXpG",
            "customerRef": {
              "id": "44e8516d-bcb0-459f-9e5d-7beaa56d57d0",
              "customerName": "Dolores Rath"
            },
            "issueDate": "2021-05-18T08:53:00",
            "dueDate": "2021-05-25T08:53:00",
            "status": "PartiallyPaid",
            "currency": "GBP",
            "totalAmount": 22522.34,
            "amountDue": 14408.54,
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2022-01-13T07:52:00",
            "payments": [
              {
                "id": "75bd7205-bc12-4517-9964-aae159fdfaee",
                "date": "2021-05-23T04:04:00",
                "paymentType": "payments",
                "amount": 8113.8,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "5a934955-561d-436a-a564-fd624a79f54c",
            "invoiceNumber": "l7YwGxG7",
            "customerRef": {
              "id": "cc96af36-e2f5-49f7-bf40-271503f45071",
              "customerName": "Ignacio Moore"
            },
            "issueDate": "2021-05-25T19:51:00",
            "dueDate": "2021-06-04T19:51:00",
            "status": "Paid",
            "currency": "GBP",
            "totalAmount": 11047.08,
            "amountDue": 0,
            "paidOnDate": "2021-05-28T07:31:00",
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2021-08-06T05:50:00",
            "payments": [
              {
                "id": "608fd022-f7d0-44a9-90c4-bebe0573f206",
                "date": "2021-05-28T07:31:00",
                "paymentType": "payments",
                "amount": 11047.08,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          },
          {
            "id": "17690788-2936-46b5-ba46-ba6a36a87483",
            "invoiceNumber": "ntH1cRYz",
            "customerRef": {
              "id": "e1ecc8f2-8a63-4fe9-97c9-c87fd90ca0a6",
              "customerName": "Freida Ebert"
            },
            "issueDate": "2021-05-27T19:07:00",
            "dueDate": "2021-06-03T19:07:00",
            "status": "PartiallyPaid",
            "currency": "GBP",
            "totalAmount": 7191.32,
            "amountDue": 5036.83,
            "modifiedDate": "2022-04-11T13:49:37Z",
            "sourceModifiedDate": "2021-03-27T08:54:00",
            "payments": [
              {
                "id": "a343b2a0-d327-41b0-993e-7b6b92fde425",
                "date": "2021-06-03T19:07:00",
                "paymentType": "payments",
                "amount": 2154.49,
                "currency": "GBP",
                "currencyRate": 1
              }
            ]
          }
        ]
      }
    }
  ]
}