UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

117 lines (116 loc) 2.83 kB
/** * Accounting API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TaxComponent } from './taxComponent'; export declare class TaxRate { /** * Name of tax rate */ 'name'?: string; /** * The tax type */ 'taxType'?: string; /** * See TaxComponents */ 'taxComponents'?: Array<TaxComponent>; /** * See Status Codes */ 'status'?: TaxRate.StatusEnum; /** * See ReportTaxTypes */ 'reportTaxType': TaxRate.ReportTaxTypeEnum; /** * Boolean to describe if tax rate can be used for asset accounts i.e. true,false */ 'canApplyToAssets'?: boolean; /** * Boolean to describe if tax rate can be used for equity accounts i.e true,false */ 'canApplyToEquity'?: boolean; /** * Boolean to describe if tax rate can be used for expense accounts i.e. true,false */ 'canApplyToExpenses'?: boolean; /** * Boolean to describe if tax rate can be used for liability accounts i.e. true,false */ 'canApplyToLiabilities'?: boolean; /** * Boolean to describe if tax rate can be used for revenue accounts i.e. true,false */ 'canApplyToRevenue'?: boolean; /** * Tax Rate (decimal to 4dp) e.g 12.5000 */ 'displayTaxRate'?: number; /** * Effective Tax Rate (decimal to 4dp) e.g 12.5000 */ 'effectiveRate'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace TaxRate { enum StatusEnum { ACTIVE, DELETED, ARCHIVED, PENDING } enum ReportTaxTypeEnum { AVALARA, BASEXCLUDED, CAPITALSALESOUTPUT, CAPITALEXPENSESINPUT, ECOUTPUT, ECOUTPUTSERVICES, ECINPUT, ECACQUISITIONS, EXEMPTEXPENSES, EXEMPTINPUT, EXEMPTOUTPUT, GSTONIMPORTS, INPUT, INPUTTAXED, MOSSSALES, NONE, NONEOUTPUT, OUTPUT, PURCHASESINPUT, SALESOUTPUT, EXEMPTCAPITAL, EXEMPTEXPORT, CAPITALEXINPUT, GSTONCAPIMPORTS, GSTONCAPITALIMPORTS, REVERSECHARGES, PAYMENTS, INVOICE, CASH, ACCRUAL, FLATRATECASH, FLATRATEACCRUAL, ACCRUALS } }