import * as z from "zod/v3"; import { LineItemType } from "./lineitemtype.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"; export type BillCreditNoteLineItemInput = { /** * The unique row identifier of the line item, when the connector exposes one. */ rowId?: string | null | undefined; /** * User defined item code. */ code?: string | null | undefined; /** * Line number of the resource */ lineNumber?: number | null | undefined; /** * User defined description for the line item. */ description?: string | null | undefined; /** * Line Item type */ type?: LineItemType | null | undefined; /** * Tax amount */ taxAmount?: number | null | undefined; /** * Total amount of the line item. */ totalAmount?: number | null | undefined; quantity?: number | null | undefined; unitPrice?: number | null | undefined; /** * Description of the unit type the item is sold as, ie: kg, hour. */ unitOfMeasure?: string | null | undefined; /** * Discount percentage applied to the line item when supported downstream. */ discountPercentage?: number | null | undefined; /** * Discount amount applied to the line item when supported downstream. */ discountAmount?: number | null | undefined; /** * Date on which the service was provided or performed - YYYY-MM-DD. */ serviceDate?: Date | null | undefined; location?: LinkedLocationInput | null | undefined; department?: LinkedDepartmentInput | null | undefined; item?: LinkedInvoiceItem | undefined; taxRate?: LinkedTaxRateInput | undefined; ledgerAccount?: LinkedLedgerAccount | null | undefined; /** * A list of linked tracking categories. */ trackingCategories?: Array | null | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: string | null | undefined; }; /** @internal */ export type BillCreditNoteLineItemInput$Outbound = { row_id?: string | null | undefined; code?: string | null | undefined; line_number?: number | null | undefined; description?: string | null | undefined; type?: string | null | undefined; tax_amount?: number | null | undefined; total_amount?: number | null | undefined; quantity?: number | null | undefined; unit_price?: number | null | undefined; unit_of_measure?: string | null | undefined; discount_percentage?: number | null | undefined; discount_amount?: number | null | undefined; service_date?: string | null | undefined; location?: LinkedLocationInput$Outbound | null | undefined; department?: LinkedDepartmentInput$Outbound | null | undefined; item?: LinkedInvoiceItem$Outbound | undefined; tax_rate?: LinkedTaxRateInput$Outbound | undefined; ledger_account?: LinkedLedgerAccount$Outbound | null | undefined; tracking_categories?: Array | null | undefined; row_version?: string | null | undefined; }; /** @internal */ export declare const BillCreditNoteLineItemInput$outboundSchema: z.ZodType; export declare function billCreditNoteLineItemInputToJSON(billCreditNoteLineItemInput: BillCreditNoteLineItemInput): string; //# sourceMappingURL=billcreditnotelineiteminput.d.ts.map