import { SpeakeasyBase } from "../../../internal/utils"; import { Contact } from "./contact"; import { CustomerStatus } from "./customerstatus"; import { Items } from "./items"; import { Metadata } from "./metadata"; import { SupplementalData } from "./supplementaldata"; /** * > View the coverage for customers in the Data coverage explorer. * * @remarks * * ## Overview * * A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers). * * Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice). * */ export declare class Customer extends SpeakeasyBase { /** * An array of Addresses. */ addresses?: Items[]; /** * Name of the main contact for the identified customer. */ contactName?: string; /** * An array of Contacts. */ contacts?: Contact[]; /** * Name of the customer as recorded in the accounting system, typically the company name. */ customerName?: string; /** * The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_. * * @remarks * * ## Unknown currencies * * In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction. * * There are only a very small number of edge cases where this currency code is returned by the Codat system. */ defaultCurrency?: string; /** * Email address the customer can be contacted by. */ emailAddress?: string; /** * Identifier for the customer, unique to the company in the accounting platform. */ id?: string; metadata?: Metadata; modifiedDate?: string; /** * Phone number the customer can be contacted by. */ phone?: string; /** * Company number. In the UK, this is typically the Companies House company registration number. */ registrationNumber?: string; sourceModifiedDate?: string; /** * Status of customer. */ status: CustomerStatus; /** * Supplemental data is additional data you can include in our standard data types. * * @remarks * * 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. */ supplementalData?: SupplementalData; /** * Company tax number. */ taxNumber?: string; }