xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
41 lines (40 loc) • 1.27 kB
TypeScript
/**
* 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.
*/
export declare class Purchase {
/**
* Unit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request.
*/
'unitPrice'?: number;
/**
* Default account code to be used for purchased/sale. Not applicable to the purchase details of tracked items
*/
'accountCode'?: string;
/**
* Cost of goods sold account. Only applicable to the purchase details of tracked items.
*/
'cOGSAccountCode'?: string;
/**
* The tax type from TaxRates
*/
'taxType'?: string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}