/**
 * 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 { DeprecatedLinkedTrackingCategory } from './DeprecatedLinkedTrackingCategory';
import { LinkedCustomer } from './LinkedCustomer';
import { LinkedLedgerAccount } from './LinkedLedgerAccount';
import { LinkedSupplier } from './LinkedSupplier';
import { LinkedTaxRate } from './LinkedTaxRate';
import { LinkedTrackingCategories } from './LinkedTrackingCategories';
/**
 *
 * @export
 * @interface JournalEntryLineItem
 */
export interface JournalEntryLineItem {
    /**
     * Debit entries are considered positive, and credit entries are considered negative.
     * @type {string}
     * @memberof JournalEntryLineItem
     */
    type: JournalEntryLineItemType;
    /**
     *
     * @type {LinkedLedgerAccount}
     * @memberof JournalEntryLineItem
     */
    ledger_account: LinkedLedgerAccount | null;
    /**
     * A unique identifier for an object.
     * @type {string}
     * @memberof JournalEntryLineItem
     */
    readonly id?: string;
    /**
     * User defined description
     * @type {string}
     * @memberof JournalEntryLineItem
     */
    description?: string | null;
    /**
     * Tax amount
     * @type {number}
     * @memberof JournalEntryLineItem
     */
    tax_amount?: number | null;
    /**
     * Sub-total amount, normally before tax.
     * @type {number}
     * @memberof JournalEntryLineItem
     */
    sub_total?: number | null;
    /**
     * Debit entries are considered positive, and credit entries are considered negative.
     * @type {number}
     * @memberof JournalEntryLineItem
     */
    total_amount?: number | null;
    /**
     *
     * @type {LinkedTaxRate}
     * @memberof JournalEntryLineItem
     */
    tax_rate?: LinkedTaxRate;
    /**
     *
     * @type {DeprecatedLinkedTrackingCategory}
     * @memberof JournalEntryLineItem
     */
    tracking_category?: DeprecatedLinkedTrackingCategory | null;
    /**
     *
     * @type {LinkedTrackingCategories}
     * @memberof JournalEntryLineItem
     */
    tracking_categories?: LinkedTrackingCategories | null;
    /**
     *
     * @type {LinkedCustomer}
     * @memberof JournalEntryLineItem
     */
    customer?: LinkedCustomer | null;
    /**
     *
     * @type {LinkedSupplier}
     * @memberof JournalEntryLineItem
     */
    supplier?: LinkedSupplier | null;
    /**
     * A unique identifier for an object.
     * @type {string}
     * @memberof JournalEntryLineItem
     */
    readonly department_id?: string;
    /**
     * A unique identifier for an object.
     * @type {string}
     * @memberof JournalEntryLineItem
     */
    readonly location_id?: string;
    /**
     * Line number of the resource
     * @type {number}
     * @memberof JournalEntryLineItem
     */
    line_number?: number | null;
}
/**
 * @export
 * @enum {string}
 */
export declare enum JournalEntryLineItemType {
    debit = "debit",
    credit = "credit"
}
export declare function JournalEntryLineItemFromJSON(json: any): JournalEntryLineItem;
export declare function JournalEntryLineItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryLineItem;
export declare function JournalEntryLineItemToJSON(value?: JournalEntryLineItem | null): any;
