UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

93 lines (92 loc) 2.37 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 { Attachment } from './attachment'; import { Contact } from './contact'; import { CurrencyCode } from './currencyCode'; import { LineAmountTypes } from './lineAmountTypes'; import { LineItem } from './lineItem'; import { Schedule } from './schedule'; export declare class RepeatingInvoice { /** * See Invoice Types */ 'type'?: RepeatingInvoice.TypeEnum; 'contact'?: Contact; 'schedule'?: Schedule; /** * See LineItems */ 'lineItems'?: Array<LineItem>; 'lineAmountTypes'?: LineAmountTypes; /** * ACCREC only – additional reference number */ 'reference'?: string; /** * See BrandingThemes */ 'brandingThemeID'?: string; 'currencyCode'?: CurrencyCode; /** * One of the following - DRAFT or AUTHORISED – See Invoice Status Codes */ 'status'?: RepeatingInvoice.StatusEnum; /** * Total of invoice excluding taxes */ 'subTotal'?: number; /** * Total tax on invoice */ 'totalTax'?: number; /** * Total of Invoice tax inclusive (i.e. SubTotal + TotalTax) */ 'total'?: number; /** * Xero generated unique identifier for repeating invoice template */ 'repeatingInvoiceID'?: string; /** * Xero generated unique identifier for repeating invoice template */ 'ID'?: string; /** * boolean to indicate if an invoice has an attachment */ 'hasAttachments'?: boolean; /** * Displays array of attachments from the API */ 'attachments'?: Array<Attachment>; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace RepeatingInvoice { enum TypeEnum { ACCPAY, ACCREC } enum StatusEnum { DRAFT, AUTHORISED } }