@codat/lending 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/dist/sdk/fileupload.js +1 -1
- package/dist/sdk/models/operations/uploadfiles.d.ts +1 -5
- package/dist/sdk/models/operations/uploadfiles.js +4 -22
- package/dist/sdk/models/shared/accountingaccounttransaction.d.ts +7 -0
- package/dist/sdk/models/shared/accountingattachment.d.ts +2 -1
- package/dist/sdk/models/shared/accountingattachment.js +2 -1
- package/dist/sdk/models/shared/accountingbill.d.ts +7 -0
- package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +7 -0
- package/dist/sdk/models/shared/accountingbillpayment.d.ts +7 -0
- package/dist/sdk/models/shared/accountingcreditnote.d.ts +7 -0
- package/dist/sdk/models/shared/accountingdirectcost.d.ts +7 -0
- package/dist/sdk/models/shared/accountingdirectincome.d.ts +7 -0
- package/dist/sdk/models/shared/accountinginvoice.d.ts +7 -0
- package/dist/sdk/models/shared/accountingpayment.d.ts +7 -0
- package/dist/sdk/models/shared/accountingpaymentallocation.d.ts +7 -0
- package/dist/sdk/models/shared/billpaymentlinelink.d.ts +7 -0
- package/dist/sdk/models/shared/codatfile.d.ts +5 -0
- package/dist/sdk/models/shared/codatfile.js +47 -0
- package/dist/sdk/models/shared/directcostprototype.d.ts +7 -0
- package/dist/sdk/models/shared/fileupload.d.ts +8 -0
- package/dist/sdk/models/shared/fileupload.js +44 -0
- package/dist/sdk/models/shared/index.d.ts +2 -0
- package/dist/sdk/models/shared/index.js +2 -0
- package/dist/sdk/models/shared/payment.d.ts +7 -0
- package/dist/sdk/models/shared/paymentallocationpayment.d.ts +7 -0
- package/dist/sdk/models/shared/paymentlinelink.d.ts +7 -0
- package/dist/sdk/sdk.js +3 -3
- package/docs/sdk/models/operations/downloadfilesrequest.md +1 -1
- package/docs/sdk/models/operations/getaccountingagedcreditorsreportrequest.md +1 -1
- package/docs/sdk/models/operations/getaccountingageddebtorsreportrequest.md +1 -1
- package/docs/sdk/models/operations/getaccountingbalancesheetrequest.md +1 -1
- package/docs/sdk/models/operations/getaccountingcashflowstatementrequest.md +1 -1
- package/docs/sdk/models/operations/getaccountingprofitandlossrequest.md +1 -1
- package/docs/sdk/models/operations/uploadfilesrequest.md +5 -5
- package/docs/sdk/models/shared/accountingaccount.md +2 -2
- package/docs/sdk/models/shared/accountingaccounttransaction.md +15 -15
- package/docs/sdk/models/shared/accountingagedcreditorreport.md +2 -2
- package/docs/sdk/models/shared/accountingageddebtorreport.md +2 -2
- package/docs/sdk/models/shared/accountingattachment.md +5 -4
- package/docs/sdk/models/shared/accountingbalancesheet.md +2 -2
- package/docs/sdk/models/shared/accountingbankaccount.md +2 -2
- package/docs/sdk/models/shared/accountingbanktransaction.md +3 -3
- package/docs/sdk/models/shared/accountingbill.md +23 -23
- package/docs/sdk/models/shared/accountingbillcreditnote.md +24 -24
- package/docs/sdk/models/shared/accountingbillpayment.md +17 -17
- package/docs/sdk/models/shared/accountingcashflowstatement.md +2 -2
- package/docs/sdk/models/shared/accountingcompanyinfo.md +3 -3
- package/docs/sdk/models/shared/accountingcreateaccountresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreatebankaccountresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreatebanktransactionsresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreatedirectcostresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreatepaymentresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreatesupplierresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreatetransferresponse.md +2 -2
- package/docs/sdk/models/shared/accountingcreditnote.md +26 -26
- package/docs/sdk/models/shared/accountingcustomer.md +2 -2
- package/docs/sdk/models/shared/accountingdirectcost.md +18 -18
- package/docs/sdk/models/shared/accountingdirectincome.md +18 -18
- package/docs/sdk/models/shared/accountinginvoice.md +28 -28
- package/docs/sdk/models/shared/accountingjournal.md +3 -3
- package/docs/sdk/models/shared/accountingjournalentry.md +5 -5
- package/docs/sdk/models/shared/accountingpayment.md +17 -17
- package/docs/sdk/models/shared/accountingprofitandlossreport.md +2 -2
- package/docs/sdk/models/shared/accountingsupplier.md +2 -2
- package/docs/sdk/models/shared/accountingtransfer.md +3 -3
- package/docs/sdk/models/shared/agedoutstandingamount.md +2 -2
- package/docs/sdk/models/shared/allocation.md +6 -6
- package/docs/sdk/models/shared/balancesheet.md +1 -1
- package/docs/sdk/models/shared/bankingaccount.md +2 -2
- package/docs/sdk/models/shared/bankingaccountbalance.md +3 -3
- package/docs/sdk/models/shared/bankingtransaction.md +4 -4
- package/docs/sdk/models/shared/bankingtransactioncategory.md +2 -2
- package/docs/sdk/models/shared/bankingtransactionref.md +1 -1
- package/docs/sdk/models/shared/billpaymentline.md +1 -1
- package/docs/sdk/models/shared/billpaymentlinelink.md +6 -6
- package/docs/sdk/models/shared/cashflowstatement.md +2 -2
- package/docs/sdk/models/shared/clientratelimitreachedwebhookdata.md +1 -1
- package/docs/sdk/models/shared/clientratelimitresetwebhookdata.md +1 -1
- package/docs/sdk/models/{operations/uploadfilesrequestbody.md → shared/codatfile.md} +1 -1
- package/docs/sdk/models/shared/commercecompanyinfo.md +3 -3
- package/docs/sdk/models/shared/commercecustomer.md +3 -3
- package/docs/sdk/models/shared/commercedispute.md +4 -4
- package/docs/sdk/models/shared/commercelocation.md +2 -2
- package/docs/sdk/models/shared/commerceorder.md +4 -4
- package/docs/sdk/models/shared/commercepayment.md +4 -4
- package/docs/sdk/models/shared/commercepaymentmethod.md +2 -2
- package/docs/sdk/models/shared/commerceproductcategory.md +2 -2
- package/docs/sdk/models/shared/commercetransaction.md +4 -4
- package/docs/sdk/models/shared/company.md +2 -2
- package/docs/sdk/models/shared/connection.md +2 -2
- package/docs/sdk/models/shared/contact.md +1 -1
- package/docs/sdk/models/shared/createbankaccounttransaction.md +1 -1
- package/docs/sdk/models/shared/dataconnectionerror.md +1 -1
- package/docs/sdk/models/shared/dataintegritydates.md +4 -4
- package/docs/sdk/models/shared/dataintegritydetail.md +1 -1
- package/docs/sdk/models/shared/dataintegritystatusinfo.md +1 -1
- package/docs/sdk/models/shared/datastatus.md +1 -1
- package/docs/sdk/models/shared/directcostprototype.md +14 -14
- package/docs/sdk/models/shared/enhancedcashflowtransaction.md +1 -1
- package/docs/sdk/models/shared/enhancedinvoicereportitem.md +5 -5
- package/docs/sdk/models/shared/enhancedreportinfo.md +1 -1
- package/docs/sdk/models/shared/excelstatus.md +1 -1
- package/docs/sdk/models/shared/file.md +1 -1
- package/docs/sdk/models/shared/fileupload.md +8 -0
- package/docs/sdk/models/shared/loansummaryreportinfo.md +1 -1
- package/docs/sdk/models/shared/loansummaryreportitem.md +1 -1
- package/docs/sdk/models/shared/loantransactionsreportinfo.md +1 -1
- package/docs/sdk/models/shared/payment.md +9 -9
- package/docs/sdk/models/shared/paymentallocationpayment.md +10 -10
- package/docs/sdk/models/shared/paymentline.md +1 -1
- package/docs/sdk/models/shared/paymentlinelink.md +6 -6
- package/docs/sdk/models/shared/paymentref.md +4 -4
- package/docs/sdk/models/shared/productvariant.md +3 -3
- package/docs/sdk/models/shared/profitandlossreport.md +2 -2
- package/docs/sdk/models/shared/pulloperation.md +2 -2
- package/docs/sdk/models/shared/pushoperation.md +2 -2
- package/docs/sdk/models/shared/reportitem.md +1 -1
- package/docs/sdk/models/shared/reportitems.md +1 -1
- package/docs/sdks/balancesheet/README.md +1 -1
- package/docs/sdks/bankaccounts/README.md +2 -2
- package/docs/sdks/banktransactions/README.md +1 -1
- package/docs/sdks/cashflow/README.md +1 -1
- package/docs/sdks/codatlendingpayments/README.md +4 -4
- package/docs/sdks/codatlendingsuppliers/README.md +2 -2
- package/docs/sdks/directcosts/README.md +3 -3
- package/docs/sdks/fileupload/README.md +6 -4
- package/docs/sdks/profitandloss/README.md +1 -1
- package/docs/sdks/transfers/README.md +3 -3
- package/package.json +1 -1
|
@@ -14,13 +14,13 @@ Explore our [data coverage](https://knowledge.codat.io/supported-features/commer
|
|
|
14
14
|
|
|
15
15
|
| Field | Type | Required | Description | Example |
|
|
16
16
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
17
|
-
| `createdDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-
|
|
17
|
+
| `createdDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
|
|
18
18
|
| `currency` | *string* | :heavy_check_mark: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.<br/><br/>## Unknown currencies<br/><br/>In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction. <br/><br/>There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
|
|
19
19
|
| `disputedTransactions` | [shared.TransactionSourceRef](../../../sdk/models/shared/transactionsourceref.md)[] | :heavy_minus_sign: | Link to the source event(s) which triggered this transaction. | |
|
|
20
|
-
| `dueDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-
|
|
20
|
+
| `dueDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
|
|
21
21
|
| `id` | *string* | :heavy_check_mark: | A unique, persistent identifier for this record | 13d946f0-c5d5-42bc-b092-97ece17923ab |
|
|
22
|
-
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
22
|
+
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
23
23
|
| `reason` | *string* | :heavy_minus_sign: | Reason for the dispute | Unhappy with product |
|
|
24
|
-
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
24
|
+
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
25
25
|
| `status` | [shared.DisputeStatus](../../../sdk/models/shared/disputestatus.md) | :heavy_minus_sign: | Current status of the dispute | EvidenceRequired |
|
|
26
26
|
| `totalAmount` | *any* | :heavy_minus_sign: | Total transaction amount that is under dispute. | 194.12 |
|
|
@@ -13,6 +13,6 @@ Explore our [data coverage](https://knowledge.codat.io/supported-features/commer
|
|
|
13
13
|
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
|
|
14
14
|
| `address` | [shared.CommerceAddress](../../../sdk/models/shared/commerceaddress.md) | :heavy_minus_sign: | N/A | |
|
|
15
15
|
| `id` | *string* | :heavy_check_mark: | A unique, persistent identifier for this record | 13d946f0-c5d5-42bc-b092-97ece17923ab |
|
|
16
|
-
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
16
|
+
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
17
17
|
| `name` | *string* | :heavy_minus_sign: | Name of this location | |
|
|
18
|
-
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
18
|
+
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
@@ -10,19 +10,19 @@ Explore our [data coverage](https://knowledge.codat.io/supported-features/commer
|
|
|
10
10
|
|
|
11
11
|
| Field | Type | Required | Description | Example |
|
|
12
12
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
13
|
-
| `closedDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-
|
|
13
|
+
| `closedDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
|
|
14
14
|
| `country` | *string* | :heavy_minus_sign: | The Codat country property is returned as it was provided in the underlying platform by the company without any formatting on our part.<br/><br/>Depending on the platform the value of this property will either be an <a href="https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes" target="_blank">ISO 3166</a> code (2-alpha or 3-alpha) or free-form text returned as a string name in our model. <br/><br/>For POST operations against platforms that demand a specific format for the country code, we have documented accepted values in the [options](https://docs.codat.io/lending-api#/operations/get-companies-companyId-connections-connectionId-push) endpoint. | GBR |
|
|
15
|
-
| `createdDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-
|
|
15
|
+
| `createdDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
|
|
16
16
|
| `currency` | *string* | :heavy_minus_sign: | N/A | GBP |
|
|
17
17
|
| `customerRef` | [shared.CommerceCustomerRef](../../../sdk/models/shared/commercecustomerref.md) | :heavy_minus_sign: | Reference to the customer that placed the order. | |
|
|
18
18
|
| `id` | *string* | :heavy_check_mark: | A unique, persistent identifier for this record | 13d946f0-c5d5-42bc-b092-97ece17923ab |
|
|
19
19
|
| `locationRef` | [shared.LocationRef](../../../sdk/models/shared/locationref.md) | :heavy_minus_sign: | Reference to the geographic location where the order was placed. | |
|
|
20
|
-
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
20
|
+
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
21
21
|
| `orderLineItems` | [shared.OrderLineItem](../../../sdk/models/shared/orderlineitem.md)[] | :heavy_minus_sign: | N/A | |
|
|
22
22
|
| `orderNumber` | *string* | :heavy_minus_sign: | Friendly reference for the order in the commerce or point of sale platform. | |
|
|
23
23
|
| `payments` | [shared.PaymentRef](../../../sdk/models/shared/paymentref.md)[] | :heavy_minus_sign: | N/A | |
|
|
24
24
|
| `serviceCharges` | [shared.ServiceCharge](../../../sdk/models/shared/servicecharge.md)[] | :heavy_minus_sign: | N/A | |
|
|
25
|
-
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
25
|
+
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
26
26
|
| `supplementalData` | [shared.SupplementalData](../../../sdk/models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types. <br/><br/>It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
|
|
27
27
|
| `totalAmount` | *number* | :heavy_minus_sign: | Total amount of the order, including discounts, refunds, and tax, but excluding gratuities. | |
|
|
28
28
|
| `totalDiscount` | *number* | :heavy_minus_sign: | Total amount of any discounts applied to the order, excluding tax. This is typically positive (for discounts which decrease the amount of the order), but can also be negative (for discounts which increase the amount of the order). | |
|
|
@@ -14,13 +14,13 @@ Explore our [data coverage](https://knowledge.codat.io/supported-features/commer
|
|
|
14
14
|
| Field | Type | Required | Description | Example |
|
|
15
15
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
16
16
|
| `amount` | *number* | :heavy_minus_sign: | Payment Amount (including gratuity) | 194.12 |
|
|
17
|
-
| `createdDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-
|
|
17
|
+
| `createdDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
|
|
18
18
|
| `currency` | *string* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.<br/><br/>## Unknown currencies<br/><br/>In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction. <br/><br/>There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
|
|
19
|
-
| `dueDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-
|
|
19
|
+
| `dueDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:<br/><br/>```<br/>2020-10-08T22:40:50Z<br/>2021-01-01T00:00:00<br/>```<br/><br/><br/><br/>When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:<br/><br/>- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`<br/>- Unqualified local time: `2021-11-15T01:00:00`<br/>- UTC time offsets: `2021-11-15T01:00:00-05:00`<br/><br/>> Time zones<br/>> <br/>> Not all dates from Codat will contain information about time zones. <br/>> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC |
|
|
20
20
|
| `id` | *string* | :heavy_check_mark: | A unique, persistent identifier for this record | 13d946f0-c5d5-42bc-b092-97ece17923ab |
|
|
21
|
-
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
21
|
+
| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
22
22
|
| `paymentMethodRef` | [shared.PaymentMethodRef](../../../sdk/models/shared/paymentmethodref.md) | :heavy_minus_sign: | The payment method the record is linked to in the accounting or commerce platform. | |
|
|
23
23
|
| `paymentProvider` | *string* | :heavy_minus_sign: | Service provider of the payment, if applicable. | Amazon Pay |
|
|
24
|
-
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-
|
|
24
|
+
| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
|
|
25
25
|
| `status` | [shared.PaymentStatus](../../../sdk/models/shared/paymentstatus.md) | :heavy_minus_sign: | Status of the payment. | |
|
|
26
26
|
| `supplementalData` | [shared.SupplementalData](../../../sdk/models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types. <br/><br/>It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
|