sc-cobre-facil
Version:
Biblioteca TypeScript para consumir a API da Cobre Fácil
63 lines • 2.88 kB
TypeScript
/**
* Interface representing the parameters required to update a customer's information.
*
* @property id - Unique identifier of the customer.
* @property person_type - Type of person: 1 for individual, 2 for legal entity (optional).
* @property ein - Employer Identification Number (optional).
* @property company_name - Name of the company (optional).
* @property taxpayer_id - Taxpayer identification number (optional).
* @property personal_name - Name of the individual (optional).
* @property telephone - Telephone number (optional).
* @property cellular - Cellular phone number (optional).
* @property email - Email address (optional).
* @property email_cc - Email address for carbon copy (optional).
* @property address - Address details (optional).
* @property address.description - Description of the address (optional).
* @property address.zipcode - Zip code of the address (optional).
* @property address.street - Street name of the address (optional).
* @property address.number - Street number of the address (optional).
* @property address.complement - Additional address information (optional).
* @property address.neighborhood - Neighborhood of the address (optional).
* @property address.city - City of the address (optional).
* @property address.state - State of the address (optional).
* @property nfse - NFSe (Nota Fiscal de Serviço Eletrônica) details (optional).
* @property nfse.inscricao_estadual - State registration number (optional).
* @property nfse.responsavel_retencao - Responsible for retention: 1 for taker, 2 for intermediary (optional).
* @property nfse.iss - ISS (Imposto Sobre Serviços) details (optional).
* @property nfse.iss.tipo_tributacao - Type of taxation (values as per specification) (optional).
* @property nfse.iss.exigibilidade - Exigibility (values as per specification) (optional).
* @property nfse.iss.retido - Indicates whether the tax is withheld (optional).
* @property nfse.iss.processo_suspensao - Suspension process identifier (optional).
*/
export interface UpdateCustomerParams {
person_type?: 1 | 2;
ein?: string;
company_name?: string;
taxpayer_id?: string;
personal_name?: string;
telephone?: string;
cellular?: string;
email?: string;
email_cc?: string;
address?: {
description?: string;
zipcode?: string;
street?: string;
number?: string;
complement?: string;
neighborhood?: string;
city?: string;
state?: string;
};
nfse?: {
inscricao_estadual?: string;
responsavel_retencao?: 1 | 2;
iss?: {
tipo_tributacao?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
exigibilidade?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
retido?: boolean;
processo_suspensao?: string;
};
};
}
//# sourceMappingURL=UpdateCustomerParams.d.ts.map