xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
72 lines (71 loc) • 1.86 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.
*/
import { AccountType } from './accountType';
import { TrackingCategory } from './trackingCategory';
export declare class JournalLine {
/**
* Xero identifier for Journal
*/
'journalLineID'?: string;
/**
* See Accounts
*/
'accountID'?: string;
/**
* See Accounts
*/
'accountCode'?: string;
'accountType'?: AccountType;
/**
* See AccountCodes
*/
'accountName'?: string;
/**
* The description from the source transaction line item. Only returned if populated.
*/
'description'?: string;
/**
* Net amount of journal line. This will be a positive value for a debit and negative for a credit
*/
'netAmount'?: number;
/**
* Gross amount of journal line (NetAmount + TaxAmount).
*/
'grossAmount'?: number;
/**
* Total tax on a journal line
*/
'taxAmount'?: number;
/**
* The tax type from TaxRates
*/
'taxType'?: string;
/**
* see TaxRates
*/
'taxName'?: string;
/**
* Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
*/
'trackingCategories'?: Array<TrackingCategory>;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}