xero-node
Version:
Xero NodeJS OAuth 2.0 client for xero-node
54 lines (53 loc) • 1.42 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 { TrackingCategory } from './trackingCategory';
export declare class ManualJournalLine {
/**
* total for line. Debits are positive, credits are negative value
*/
'lineAmount'?: number;
/**
* See Accounts
*/
'accountCode'?: string;
/**
* Description for journal line
*/
'description'?: string;
/**
* The tax type from TaxRates
*/
'taxType'?: string;
/**
* Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
*/
'tracking'?: Array<TrackingCategory>;
/**
* The calculated tax amount based on the TaxType and LineAmount
*/
'taxAmount'?: number;
/**
* is the line blank
*/
'isBlank'?: boolean;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}