import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomField } from "./customfield.js"; import { LinkedInvoiceItem } from "./linkedinvoiceitem.js"; import { LinkedPurchaseOrder } from "./linkedpurchaseorder.js"; import { LinkedTrackingCategory } from "./linkedtrackingcategory.js"; export type GoodsReceiptLineItem = { /** * A unique identifier for an object. */ id?: string | undefined; /** * Line number of the resource */ lineNumber?: number | null | undefined; purchaseOrder?: LinkedPurchaseOrder | null | undefined; item?: LinkedInvoiceItem | undefined; /** * Description of the received item as recorded on the receipt line. */ description?: string | null | undefined; /** * Quantity received on this line, in the line's unit of measure. */ quantityReceived?: number | null | undefined; /** * Quantity ordered on the linked purchase order line, when the accounting system exposes it on the receipt line. */ quantityOrdered?: number | null | undefined; /** * Description of the unit type the item is sold as, ie: kg, hour. */ unitOfMeasure?: string | null | undefined; unitPrice?: number | null | undefined; /** * Value of the received quantity on this line, when the accounting system records a cost on the receipt. */ totalAmount?: number | null | undefined; /** * ID of the warehouse, storage location or bin the line was received into. */ locationId?: string | null | undefined; /** * A list of linked tracking categories. */ trackingCategories?: Array | null | undefined; customFields?: Array | 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 last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; }; /** @internal */ export declare const GoodsReceiptLineItem$inboundSchema: z.ZodType; export declare function goodsReceiptLineItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=goodsreceiptlineitem.d.ts.map