@apideck/node
Version:
Apideck Node.js SDK
84 lines (83 loc) • 2.38 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.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 { LinkedTaxRate } from './LinkedTaxRate';
import { LinkedTrackingCategories } from './LinkedTrackingCategories';
/**
*
* @export
* @interface ExpenseLineItem
*/
export interface ExpenseLineItem {
/**
* The total amount of the expense line item.
* @type {number}
* @memberof ExpenseLineItem
*/
total_amount: number | null;
/**
* A unique identifier for an object.
* @type {string}
* @memberof ExpenseLineItem
*/
readonly id?: string;
/**
*
* @type {LinkedTrackingCategories}
* @memberof ExpenseLineItem
*/
tracking_categories?: LinkedTrackingCategories | null;
/**
* The unique identifier for the ledger account.
* @type {string}
* @memberof ExpenseLineItem
*/
account_id?: string;
/**
* The ID of the customer this expense item is linked to.
* @type {string}
* @memberof ExpenseLineItem
*/
customer_id?: string;
/**
* The ID of the department this expense item is linked to.
* @type {string}
* @memberof ExpenseLineItem
*/
department_id?: string;
/**
* The ID of the location this expense item is linked to.
* @type {string}
* @memberof ExpenseLineItem
*/
location_id?: string;
/**
*
* @type {LinkedTaxRate}
* @memberof ExpenseLineItem
*/
tax_rate?: LinkedTaxRate;
/**
* The expense line item description
* @type {string}
* @memberof ExpenseLineItem
*/
description?: string | null;
/**
* Boolean that indicates if the line item is billable or not.
* @type {boolean}
* @memberof ExpenseLineItem
*/
billable?: boolean;
}
export declare function ExpenseLineItemFromJSON(json: any): ExpenseLineItem;
export declare function ExpenseLineItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpenseLineItem;
export declare function ExpenseLineItemToJSON(value?: ExpenseLineItem | null): any;