@codat/lending 1.2.0 → 3.1.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 +57 -59
- package/dist/sdk/accountspayable.d.ts +0 -34
- package/dist/sdk/accountspayable.js +1 -260
- package/dist/sdk/accountspayablebills.d.ts +28 -0
- package/dist/sdk/accountspayablebills.js +183 -1
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhook.d.ts +40 -0
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhook.js +90 -0
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhookdata.d.ts +7 -0
- package/dist/sdk/models/shared/accountcategoriesupdatedwebhookdata.js +45 -0
- package/dist/sdk/models/shared/{addressesitems.d.ts → accountingaddress.d.ts} +1 -1
- package/dist/sdk/models/shared/{addressesitems.js → accountingaddress.js} +13 -13
- package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +2 -2
- package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
- package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +6 -66
- package/dist/sdk/models/shared/accountingcompanyinfo.js +10 -100
- package/dist/sdk/models/shared/accountingcreditnote.d.ts +2 -2
- package/dist/sdk/models/shared/accountingcreditnote.js +3 -3
- package/dist/sdk/models/shared/accountingcustomer.d.ts +2 -2
- package/dist/sdk/models/shared/accountingcustomer.js +3 -3
- package/dist/sdk/models/shared/accountinginvoice.d.ts +2 -2
- package/dist/sdk/models/shared/accountinginvoice.js +3 -3
- package/dist/sdk/models/shared/accountingsupplier.d.ts +2 -2
- package/dist/sdk/models/shared/accountingsupplier.js +3 -3
- package/dist/sdk/models/shared/clientratelimitreachedwebhook.d.ts +32 -0
- package/dist/sdk/models/shared/clientratelimitreachedwebhook.js +80 -0
- package/dist/sdk/models/shared/clientratelimitreachedwebhookdata.d.ts +31 -0
- package/dist/sdk/models/shared/clientratelimitreachedwebhookdata.js +50 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhook.d.ts +32 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhook.js +80 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhookdata.d.ts +39 -0
- package/dist/sdk/models/shared/clientratelimitresetwebhookdata.js +60 -0
- package/dist/sdk/models/shared/commercecompanyinfo.d.ts +4 -4
- package/dist/sdk/models/shared/commercecompanyinfo.js +6 -6
- package/dist/sdk/models/shared/contact.d.ts +4 -4
- package/dist/sdk/models/shared/contact.js +6 -6
- package/dist/sdk/models/shared/index.d.ts +9 -3
- package/dist/sdk/models/shared/index.js +9 -3
- package/dist/sdk/models/shared/items.d.ts +2 -9
- package/dist/sdk/models/shared/items.js +5 -6
- package/dist/sdk/models/shared/phonenumber.d.ts +12 -0
- package/dist/sdk/models/shared/{withholdingtaxitems.js → phonenumber.js} +12 -11
- package/dist/sdk/models/shared/{weblinksitems.d.ts → weblink.d.ts} +3 -3
- package/dist/sdk/models/shared/{weblinksitems.js → weblink.js} +14 -14
- package/dist/sdk/models/webhooks/accountcategoriesupdated.d.ts +7 -0
- package/dist/sdk/models/webhooks/accountcategoriesupdated.js +51 -0
- package/dist/sdk/models/webhooks/clientratelimitreached.d.ts +7 -0
- package/dist/sdk/models/webhooks/clientratelimitreached.js +51 -0
- package/dist/sdk/models/webhooks/clientratelimitreset.d.ts +7 -0
- package/dist/sdk/models/webhooks/clientratelimitreset.js +51 -0
- package/dist/sdk/models/webhooks/index.d.ts +3 -0
- package/dist/sdk/models/webhooks/index.js +22 -0
- package/dist/sdk/sdk.d.ts +1 -4
- package/dist/sdk/sdk.js +3 -3
- package/docs/models/shared/accountcategoriesupdatedwebhook.md +18 -0
- package/docs/models/shared/accountcategoriesupdatedwebhookdata.md +8 -0
- package/docs/models/shared/{addressesitems.md → accountingaddress.md} +1 -1
- package/docs/models/shared/accountingbillcreditnote.md +1 -1
- package/docs/models/shared/accountingcompanyinfo.md +3 -3
- package/docs/models/shared/accountingcreditnote.md +1 -1
- package/docs/models/shared/accountingcustomer.md +1 -1
- package/docs/models/shared/accountinginvoice.md +1 -1
- package/docs/models/shared/accountingsupplier.md +1 -1
- package/docs/models/shared/clientratelimitreachedwebhook.md +16 -0
- package/docs/models/shared/clientratelimitreachedwebhookdata.md +9 -0
- package/docs/models/shared/clientratelimitresetwebhook.md +16 -0
- package/docs/models/shared/clientratelimitresetwebhookdata.md +11 -0
- package/docs/models/shared/commercecompanyinfo.md +2 -2
- package/docs/models/shared/contact.md +2 -2
- package/docs/models/shared/items.md +4 -4
- package/docs/models/shared/{accountingcompanyinfophone.md → phonenumber.md} +1 -1
- package/docs/models/shared/weblink.md +11 -0
- package/docs/models/shared/{itemstype.md → weblinktype.md} +1 -1
- package/docs/models/webhooks/accountcategoriesupdatedresponse.md +10 -0
- package/docs/models/webhooks/clientratelimitreachedresponse.md +10 -0
- package/docs/models/webhooks/clientratelimitresetresponse.md +10 -0
- package/docs/sdks/accountingbankdata/README.md +1 -1
- package/docs/sdks/accountingbankdataaccounts/README.md +3 -3
- package/docs/sdks/accountspayable/README.md +1 -101
- package/docs/sdks/accountspayablebillcreditnotes/README.md +5 -5
- package/docs/sdks/accountspayablebillpayments/README.md +5 -5
- package/docs/sdks/accountspayablebills/README.md +103 -7
- package/docs/sdks/accountspayablesuppliers/README.md +11 -11
- package/docs/sdks/accountsreceivable/README.md +1 -1
- package/docs/sdks/accountsreceivablecreditnotes/README.md +3 -3
- package/docs/sdks/accountsreceivablecustomers/README.md +6 -6
- package/docs/sdks/accountsreceivabledirectincomes/README.md +6 -6
- package/docs/sdks/accountsreceivableinvoices/README.md +8 -8
- package/docs/sdks/accountsreceivablepayments/README.md +3 -3
- package/docs/sdks/accountsreceivablereports/README.md +5 -5
- package/docs/sdks/banking/README.md +1 -1
- package/docs/sdks/bankingaccountbalances/README.md +2 -2
- package/docs/sdks/bankingcategorizedstatement/README.md +2 -2
- package/docs/sdks/bankingtransactioncategories/README.md +3 -3
- package/docs/sdks/companies/README.md +2 -2
- package/docs/sdks/companyinfo/README.md +1 -1
- package/docs/sdks/connections/README.md +4 -4
- package/docs/sdks/dataintegrity/README.md +3 -3
- package/docs/sdks/excelreports/README.md +4 -4
- package/docs/sdks/fileupload/README.md +3 -3
- package/docs/sdks/financialstatements/README.md +1 -1
- package/docs/sdks/financialstatementsaccounts/README.md +3 -3
- package/docs/sdks/financialstatementsbalancesheet/README.md +3 -3
- package/docs/sdks/financialstatementscashflow/README.md +2 -2
- package/docs/sdks/financialstatementsprofitandloss/README.md +3 -3
- package/docs/sdks/liabilities/README.md +2 -2
- package/docs/sdks/managedata/README.md +1 -1
- package/docs/sdks/managedatapulloperations/README.md +3 -3
- package/docs/sdks/managedatarefresh/README.md +3 -3
- package/docs/sdks/sales/README.md +1 -1
- package/docs/sdks/salespaymentmethods/README.md +3 -3
- package/docs/sdks/salesproductcategories/README.md +3 -3
- package/docs/sdks/transactions/README.md +1 -1
- package/docs/sdks/transactionsaccounttransactions/README.md +3 -3
- package/docs/sdks/transactionsdirectcosts/README.md +6 -6
- package/docs/sdks/transactionsjournalentries/README.md +3 -3
- package/package.json +1 -1
- package/dist/sdk/models/shared/withholdingtaxitems.d.ts +0 -5
- package/docs/models/shared/accountingcompanyinfoaccountingaddress.md +0 -14
- package/docs/models/shared/accountingcompanyinfoweblink.md +0 -11
- package/docs/models/shared/accountingcompanyinfoweblinktype.md +0 -12
- package/docs/models/shared/weblinksitems.md +0 -11
- package/docs/models/shared/withholdingtaxitems.md +0 -9
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./accountcategoriesupdated"), exports);
|
|
21
|
+
__exportStar(require("./clientratelimitreached"), exports);
|
|
22
|
+
__exportStar(require("./clientratelimitreset"), exports);
|
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -93,10 +93,6 @@ export declare class CodatLending {
|
|
|
93
93
|
* Access bank transactions from an accounting platform.
|
|
94
94
|
*/
|
|
95
95
|
accountingBankData: AccountingBankData;
|
|
96
|
-
/**
|
|
97
|
-
* Data from a linked accounting platform representing money the business owes money to its suppliers.
|
|
98
|
-
*/
|
|
99
|
-
accountsPayable: AccountsPayable;
|
|
100
96
|
/**
|
|
101
97
|
* Create and manage your Codat companies.
|
|
102
98
|
*/
|
|
@@ -125,6 +121,7 @@ export declare class CodatLending {
|
|
|
125
121
|
* Debt and other liabilities.
|
|
126
122
|
*/
|
|
127
123
|
liabilities: Liabilities;
|
|
124
|
+
accountsPayable: AccountsPayable;
|
|
128
125
|
accountsReceivable: AccountsReceivable;
|
|
129
126
|
banking: Banking;
|
|
130
127
|
financialStatements: FinancialStatements;
|
package/dist/sdk/sdk.js
CHANGED
|
@@ -36,8 +36,8 @@ var SDKConfiguration = /** @class */ (function () {
|
|
|
36
36
|
function SDKConfiguration(init) {
|
|
37
37
|
this.language = "typescript";
|
|
38
38
|
this.openapiDocVersion = "3.0.0";
|
|
39
|
-
this.sdkVersion = "1.
|
|
40
|
-
this.genVersion = "2.
|
|
39
|
+
this.sdkVersion = "3.1.0";
|
|
40
|
+
this.genVersion = "2.116.0";
|
|
41
41
|
Object.assign(this, init);
|
|
42
42
|
}
|
|
43
43
|
return SDKConfiguration;
|
|
@@ -90,7 +90,6 @@ var CodatLending = /** @class */ (function () {
|
|
|
90
90
|
retryConfig: props === null || props === void 0 ? void 0 : props.retryConfig,
|
|
91
91
|
});
|
|
92
92
|
this.accountingBankData = new accountingbankdata_1.AccountingBankData(this.sdkConfiguration);
|
|
93
|
-
this.accountsPayable = new accountspayable_1.AccountsPayable(this.sdkConfiguration);
|
|
94
93
|
this.companies = new companies_1.Companies(this.sdkConfiguration);
|
|
95
94
|
this.companyInfo = new companyinfo_1.CompanyInfo(this.sdkConfiguration);
|
|
96
95
|
this.connections = new connections_1.Connections(this.sdkConfiguration);
|
|
@@ -98,6 +97,7 @@ var CodatLending = /** @class */ (function () {
|
|
|
98
97
|
this.excelReports = new excelreports_1.ExcelReports(this.sdkConfiguration);
|
|
99
98
|
this.fileUpload = new fileupload_1.FileUpload(this.sdkConfiguration);
|
|
100
99
|
this.liabilities = new liabilities_1.Liabilities(this.sdkConfiguration);
|
|
100
|
+
this.accountsPayable = new accountspayable_1.AccountsPayable(this.sdkConfiguration);
|
|
101
101
|
this.accountsReceivable = new accountsreceivable_1.AccountsReceivable(this.sdkConfiguration);
|
|
102
102
|
this.banking = new banking_1.Banking(this.sdkConfiguration);
|
|
103
103
|
this.financialStatements = new financialstatements_1.FinancialStatements(this.sdkConfiguration);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# AccountCategoriesUpdatedWebhook
|
|
2
|
+
|
|
3
|
+
Webhook request body for account categories updated.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Fields
|
|
7
|
+
|
|
8
|
+
| Field | Type | Required | Description | Example |
|
|
9
|
+
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
10
|
+
| `alertId` | *string* | :heavy_minus_sign: | Unique identifier of the webhook event. | |
|
|
11
|
+
| `clientId` | *string* | :heavy_minus_sign: | Unique identifier for your client in Codat. | |
|
|
12
|
+
| `clientName` | *string* | :heavy_minus_sign: | Name of your client in Codat. | |
|
|
13
|
+
| `companyId` | *string* | :heavy_minus_sign: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
|
|
14
|
+
| `data` | [AccountCategoriesUpdatedWebhookData](../../models/shared/accountcategoriesupdatedwebhookdata.md) | :heavy_minus_sign: | N/A | |
|
|
15
|
+
| `dataConnectionId` | *string* | :heavy_minus_sign: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
|
|
16
|
+
| `message` | *string* | :heavy_minus_sign: | A human readable message about the webhook. | |
|
|
17
|
+
| `ruleId` | *string* | :heavy_minus_sign: | Unique identifier for the rule. | |
|
|
18
|
+
| `ruleType` | *string* | :heavy_minus_sign: | The type of rule. | |
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# AccountCategoriesUpdatedWebhookData
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Fields
|
|
5
|
+
|
|
6
|
+
| Field | Type | Required | Description | Example |
|
|
7
|
+
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
8
|
+
| `modifiedDate` | *string* | :heavy_minus_sign: | The date on which this account categories were last modified in Codat. | 2022-10-23 |
|
|
@@ -43,4 +43,4 @@ A bill credit note includes details of:
|
|
|
43
43
|
| `totalAmount` | *number* | :heavy_check_mark: | Total amount of credit that has been applied to the business' account with the supplier, including discounts and tax. | 805.78 |
|
|
44
44
|
| `totalDiscount` | *number* | :heavy_check_mark: | Total value of any discounts applied. | 0 |
|
|
45
45
|
| `totalTaxAmount` | *number* | :heavy_check_mark: | Amount of tax included in the bill credit note. | 0 |
|
|
46
|
-
| `withholdingTax` | [
|
|
46
|
+
| `withholdingTax` | [Items](../../models/shared/items.md)[] | :heavy_minus_sign: | N/A | |
|
|
@@ -14,15 +14,15 @@ Company info provides standard details about a linked company such as their addr
|
|
|
14
14
|
| Field | Type | Required | Description | Example |
|
|
15
15
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
16
16
|
| `accountingPlatformRef` | *string* | :heavy_minus_sign: | Identifier or reference for the company in the accounting platform. | |
|
|
17
|
-
| `addresses` | [
|
|
17
|
+
| `addresses` | [AccountingAddress](../../models/shared/accountingaddress.md)[] | :heavy_minus_sign: | An array of Addresses. | |
|
|
18
18
|
| `baseCurrency` | *string* | :heavy_minus_sign: | Currency set in the accounting platform of the linked company. Used by the currency rate. | |
|
|
19
19
|
| `companyLegalName` | *string* | :heavy_minus_sign: | Registered legal name of the linked company. | |
|
|
20
20
|
| `companyName` | *string* | :heavy_minus_sign: | Name of the linked company. | |
|
|
21
21
|
| `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-23T00:00:00.000Z |
|
|
22
22
|
| `financialYearStartDate` | *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-23T00:00:00.000Z |
|
|
23
23
|
| `ledgerLockDate` | *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-23T00:00:00.000Z |
|
|
24
|
-
| `phoneNumbers` | [
|
|
24
|
+
| `phoneNumbers` | [PhoneNumber](../../models/shared/phonenumber.md)[] | :heavy_minus_sign: | An array of phone numbers. | |
|
|
25
25
|
| `registrationNumber` | *string* | :heavy_minus_sign: | Registration number given to the linked company by the companies authority in the country of origin. In the UK this is Companies House. | |
|
|
26
26
|
| `sourceUrls` | Record<string, *string*> | :heavy_minus_sign: | URL addresses for the accounting source.<br/><br/>For example, for Xero integrations two URLs are returned. These have many potential use cases, such as [deep linking](https://developer.xero.com/documentation/api-guides/deep-link-xero). | |
|
|
27
27
|
| `taxNumber` | *string* | :heavy_minus_sign: | Company tax number. | |
|
|
28
|
-
| `webLinks` | [
|
|
28
|
+
| `webLinks` | [WebLink](../../models/shared/weblink.md)[] | :heavy_minus_sign: | An array of weblinks. | |
|
|
@@ -41,4 +41,4 @@ It contains details of:
|
|
|
41
41
|
| `totalAmount` | *number* | :heavy_check_mark: | Total amount of credit that has been applied to the customer's accounts receivable | |
|
|
42
42
|
| `totalDiscount` | *number* | :heavy_check_mark: | Any discounts applied to the credit note amount. | |
|
|
43
43
|
| `totalTaxAmount` | *number* | :heavy_check_mark: | Any tax applied to the credit note amount. | |
|
|
44
|
-
| `withholdingTax` | [
|
|
44
|
+
| `withholdingTax` | [Items](../../models/shared/items.md)[] | :heavy_minus_sign: | N/A | |
|
|
@@ -14,7 +14,7 @@ Customers' data links to accounts receivable [invoices](https://docs.codat.io/ac
|
|
|
14
14
|
|
|
15
15
|
| Field | Type | Required | Description | Example |
|
|
16
16
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
17
|
-
| `addresses` | [
|
|
17
|
+
| `addresses` | [AccountingAddress](../../models/shared/accountingaddress.md)[] | :heavy_minus_sign: | An array of Addresses. | |
|
|
18
18
|
| `contactName` | *string* | :heavy_minus_sign: | Name of the main contact for the identified customer. | |
|
|
19
19
|
| `contacts` | [Contact](../../models/shared/contact.md)[] | :heavy_minus_sign: | An array of Contacts. | |
|
|
20
20
|
| `customerName` | *string* | :heavy_minus_sign: | Name of the customer as recorded in the accounting system, typically the company name. | |
|