import * as z from "zod/v3"; import { LineItemType } from "./lineitemtype.js"; import { LinkedCustomerInput, LinkedCustomerInput$Outbound } from "./linkedcustomerinput.js"; import { LinkedDepartmentInput, LinkedDepartmentInput$Outbound } from "./linkeddepartmentinput.js"; import { LinkedInvoiceItem, LinkedInvoiceItem$Outbound } from "./linkedinvoiceitem.js"; import { LinkedLedgerAccount, LinkedLedgerAccount$Outbound } from "./linkedledgeraccount.js"; import { LinkedLocationInput, LinkedLocationInput$Outbound } from "./linkedlocationinput.js"; import { LinkedTaxRateInput, LinkedTaxRateInput$Outbound } from "./linkedtaxrateinput.js"; import { LinkedTrackingCategory, LinkedTrackingCategory$Outbound } from "./linkedtrackingcategory.js"; import { Rebilling, Rebilling$Outbound } from "./rebilling.js"; export type ExpenseLineItemInput = { /** * A list of linked tracking categories. */ trackingCategories?: Array | null | undefined; /** * The unique identifier for the ledger account. Deprecated, use account instead. * * @deprecated field: Deprecated. Use account instead.. */ accountId?: string | undefined; account?: LinkedLedgerAccount | null | undefined; /** * The ID of the customer this expense item is linked to. Deprecated in favor of `customer`. * * @deprecated field: Deprecated. Use customer instead.. */ customerId?: string | undefined; /** * The customer this entity is linked to. */ customer?: LinkedCustomerInput | null | undefined; /** * The ID of the department */ departmentId?: string | null | undefined; department?: LinkedDepartmentInput | null | undefined; /** * The ID of the location */ locationId?: string | null | undefined; location?: LinkedLocationInput | null | undefined; taxRate?: LinkedTaxRateInput | undefined; /** * The expense line item description */ description?: string | null | undefined; /** * Line Item type */ type?: LineItemType | null | undefined; /** * The total amount of the expense line item. */ totalAmount: number | null; /** * Tax amount */ taxAmount?: number | null | undefined; quantity?: number | null | undefined; unitPrice?: number | null | undefined; item?: LinkedInvoiceItem | undefined; /** * Line number of the resource */ lineNumber?: number | null | undefined; /** * Rebilling metadata for this line item. */ rebilling?: Rebilling | null | undefined; }; /** @internal */ export type ExpenseLineItemInput$Outbound = { tracking_categories?: Array | null | undefined; account_id?: string | undefined; account?: LinkedLedgerAccount$Outbound | null | undefined; customer_id?: string | undefined; customer?: LinkedCustomerInput$Outbound | null | undefined; department_id?: string | null | undefined; department?: LinkedDepartmentInput$Outbound | null | undefined; location_id?: string | null | undefined; location?: LinkedLocationInput$Outbound | null | undefined; tax_rate?: LinkedTaxRateInput$Outbound | undefined; description?: string | null | undefined; type?: string | null | undefined; total_amount: number | null; tax_amount?: number | null | undefined; quantity?: number | null | undefined; unit_price?: number | null | undefined; item?: LinkedInvoiceItem$Outbound | undefined; line_number?: number | null | undefined; rebilling?: Rebilling$Outbound | null | undefined; }; /** @internal */ export declare const ExpenseLineItemInput$outboundSchema: z.ZodType; export declare function expenseLineItemInputToJSON(expenseLineItemInput: ExpenseLineItemInput): string; //# sourceMappingURL=expenselineiteminput.d.ts.map