import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LineItemType } from "./lineitemtype.js"; import { LinkedDepartment } from "./linkeddepartment.js"; import { LinkedInvoiceItem } from "./linkedinvoiceitem.js"; import { LinkedLedgerAccount } from "./linkedledgeraccount.js"; import { LinkedLocation } from "./linkedlocation.js"; import { LinkedTaxRate } from "./linkedtaxrate.js"; import { LinkedTrackingCategory } from "./linkedtrackingcategory.js"; export type BillCreditNoteLineItem = { /** * A unique identifier for an object. */ id?: string | undefined; /** * 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?: LinkedLocation | null | undefined; department?: LinkedDepartment | null | undefined; item?: LinkedInvoiceItem | undefined; taxRate?: LinkedTaxRate | 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; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; }; /** @internal */ export declare const BillCreditNoteLineItem$inboundSchema: z.ZodType; export declare function billCreditNoteLineItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=billcreditnotelineitem.d.ts.map