{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://api.orderful.com/v3/simplified-schemas/INVOICE","title":"Simplified Invoice","description":"A simplified version of the invoice","type":"object","properties":{"invoiceDate":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}],"description":"Date the invoice was issued","orderful_x12_path":["810:beginningSegmentForInvoice.*.date","880:invoiceIdentification.*.date"],"orderful_edifact_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=3,137"],"orderful_edifact_codes":["3","137"],"orderful_edifact_metadata_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite.dateOrTimeOrPeriodFunctionCodeQualifier"],"orderful_edifact_notes":["INVOIC: DTM 2005=3 (Invoice date) is the primary source; 137 (Document/message date) is the fallback when no 3 is present. The composite’s dateOrTimeOrPeriodText carries the value."]},"invoiceNumber":{"type":"string","description":"Unique invoice number assigned by the seller","orderful_x12_path":["810:beginningSegmentForInvoice.*.invoiceNumber","880:invoiceIdentification.*.invoiceNumber"],"orderful_edifact_paths":["INVOIC:beginningOfMessage.documentMessageId_composite.documentId"]},"consolidatedInvoiceNumber":{"description":"The consolidated invoice number that this invoice rolls up into, when it is one member of a consolidation group.","orderful_x12_path":["810:beginningSegmentForInvoice.*.invoiceNumber1"],"orderful_x12_notes":["810: BIG10. Per the X12 BIG definition, BIG10 is not used when BIG07=CI (isConsolidated) — populate it on member invoices only, and leave it empty on the consolidated invoice itself."],"type":"string"},"purchaseOrderNumber":{"type":"string","description":"Purchase order number being invoiced","orderful_x12_path":["810:beginningSegmentForInvoice.*.purchaseOrderNumber","880:invoiceIdentification.*.purchaseOrderNumber"],"orderful_edifact_paths":["INVOIC:reference_group.*.reference.reference_composite | referenceCodeQualifier=ON"],"orderful_edifact_codes":["ON"],"orderful_edifact_metadata_paths":["INVOIC:reference_group.*.reference.reference_composite.referenceCodeQualifier"]},"purchaseOrderDate":{"description":"Date the referenced purchase order was issued","orderful_x12_path":["810:beginningSegmentForInvoice.*.date1","880:invoiceIdentification.*.date1"],"orderful_edifact_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=4"],"orderful_edifact_codes":["4"],"orderful_edifact_metadata_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite.dateOrTimeOrPeriodFunctionCodeQualifier"],"orderful_edifact_notes":["INVOIC: DTM 2005=4 (Order date/time). Shares the header dateTimePeriod group with invoiceDate (3/137) and dates (11/35/17), disjoint by qualifier."],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"releaseNumber":{"description":"Release number for blanket or contract orders","orderful_x12_path":["810:beginningSegmentForInvoice.*.releaseNumber"],"orderful_edifact_paths":["INVOIC:reference_group.*.reference.reference_composite | referenceCodeQualifier=RE"],"orderful_edifact_codes":["RE"],"orderful_edifact_metadata_paths":["INVOIC:reference_group.*.reference.reference_composite.referenceCodeQualifier"],"type":"string"},"purpose":{"type":"string","enum":["original","cancellation","change","replace","confirmation"],"description":"Intended purpose of the invoice transaction (e.g., original, change, cancellation).","orderful_x12_path":["810:beginningSegmentForInvoice.*.transactionSetPurposeCode"],"orderful_x12_notes":["BIG08. Defaults to 00 (original) when omitted."],"orderful_enum_meta":{"original":{"description":"Original transmission of the invoice","orderful_x12_codes":["00"]},"cancellation":{"description":"Cancellation of a previously transmitted invoice","orderful_x12_codes":["01"]},"change":{"description":"Change to a previously transmitted invoice","orderful_x12_codes":["02","03","04"]},"replace":{"description":"Complete replacement of a previously transmitted invoice","orderful_x12_codes":["05"]},"confirmation":{"description":"Confirmation of a previously transmitted invoice","orderful_x12_codes":["06"]}}},"invoiceType":{"type":"string","enum":["invoice","creditMemo"],"description":"Document polarity, independent of amount sign. invoice increases the amount owed; creditMemo reduces it.","orderful_x12_path":["810:beginningSegmentForInvoice.*.transactionTypeCode"],"orderful_x12_notes":["810: BIG07 holds a single code, so invoiceType, isConsolidated, and isDropShipment compete for it. Outbound precedence: creditMemo (CR/CN) → isConsolidated (CI) → isDropShipment (DO) → invoice (DI/DR/empty)."],"orderful_edifact_paths":["INVOIC:beginningOfMessage.documentMessageName_composite.documentNameCode"],"orderful_edifact_notes":["INVOIC: BGM 1001 (documentNameCode) carries a single value shared with isConsolidated (385). Inbound precedence: creditMemo (381) → isConsolidated (385) → invoice (380/384/386/389/empty). 383 (Debit note) is intentionally not auto-classified — it increases the amount owed (opposite polarity to creditMemo) and is left unmapped."],"orderful_enum_meta":{"invoice":{"description":"Ordinary invoice; increases the amount the buyer owes.","orderful_x12_codes":["DI","DR"],"orderful_x12_notes":["810: Regular invoice. In-network DI, DR, and an empty BIG07 all mean the same thing — a plain invoice — so partners pick one arbitrarily. Outbound: emit DI or DR if the guideline lists one, otherwise leave BIG07 empty. Inbound: DI, DR, and empty all map here."],"orderful_edifact_codes":["380","384","386","389"]},"creditMemo":{"description":"Credit memo; reduces the amount the buyer owes (return, overcharge correction).","orderful_x12_codes":["CR","CN"],"orderful_x12_notes":["810: Credit document. Outbound: emit the guideline's available credit code (CR, else CN). Inbound: CR and CN both map here. The original invoice being credited is carried in relatedInvoiceNumber."],"orderful_edifact_codes":["381"]}}},"isConsolidated":{"description":"Invoice consolidates multiple shipments or orders.","orderful_x12_path":["810:beginningSegmentForInvoice.*.transactionTypeCode"],"orderful_x12_codes":["CI"],"orderful_note":"BIG07=CI.","orderful_edifact_paths":["INVOIC:beginningOfMessage.documentMessageName_composite.documentNameCode"],"orderful_edifact_codes":["385"],"orderful_edifact_notes":["INVOIC: BGM 1001=385 (Consolidated invoice). Shares the documentNameCode element with invoiceType; the writer selects by value."],"type":"boolean"},"isDropShipment":{"description":"Invoice is for a drop-shipment.","orderful_x12_path":["810:beginningSegmentForInvoice.*.transactionTypeCode"],"orderful_x12_codes":["DO"],"orderful_note":"BIG07=DO.","type":"boolean"},"isFlsaCompliant":{"description":"Indicates the invoice complies with the Fair Labor Standards Act (FLSA).","orderful_x12_path":["810:productItemDescription.* | productDescriptionCode=FL"],"orderful_x12_codes":["FL"],"orderful_x12_notes":["PID04 code FL is the discriminator; PID01=F and PID02/03 empty are fixed structural elements for this segment."],"type":"boolean"},"isPrepaid":{"description":"Indicates whether the invoice amount has been prepaid.","orderful_x12_path":["810:yesNoQuestion.*.yesNoConditionOrResponseCode | conditionIndicatorCode=5L"],"orderful_x12_codes":["5L"],"orderful_x12_notes":["Y maps to true, N maps to false. Discriminated by conditionIndicatorCode=5L."],"type":"boolean"},"notes":{"description":"Notes and comments for the invoice","orderful_x12_path":["810:noteSpecialInstruction","880:noteSpecialInstruction","810:referenceInformation | referenceIdentificationQualifier=L1","880:extendedReferenceInformation | referenceIdentificationQualifier=L1"],"orderful_x12_notes":["REF/N9 (referenceInformation/extendedReferenceInformation) routes to notes.general: REF02/N902 → description; REF03/N903 → text."],"orderful_edifact_paths":["INVOIC:freeText.*.textLiteral_composite | textSubjectCodeQualifier=AAI,GEN"],"orderful_edifact_codes":["AAI","GEN"],"orderful_edifact_metadata_paths":["INVOIC:freeText.*.textSubjectCodeQualifier"],"orderful_edifact_notes":["INVOIC: the textLiteral_composite carries the text lines (freeText, freeText_1 …); FTX with payment/tax/regulatory subject qualifiers stays unmapped here."],"type":"object","properties":{"general":{"description":"General notes or comments","orderful_x12_path":["810:noteSpecialInstruction","880:noteSpecialInstruction","810:referenceInformation | referenceIdentificationQualifier=L1","880:extendedReferenceInformation | referenceIdentificationQualifier=L1"],"orderful_edifact_paths":["INVOIC:freeText.*.textLiteral_composite | textSubjectCodeQualifier=AAI,GEN"],"orderful_edifact_codes":["AAI","GEN"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"buyersCurrency":{"description":"Currency used by the buyer","orderful_x12_path":["810:currency.* | entityIdentifierCode=BY"],"orderful_x12_codes":["BY"],"orderful_edifact_paths":["INVOIC:currencies_group.*.currencies.currencyDetails_composite | currencyUsageCodeQualifier=2","INVOIC:currencies_group.*.currencies.currencyDetails_composite_1 | currencyUsageCodeQualifier=2"],"orderful_edifact_codes":["2"],"orderful_edifact_metadata_paths":["INVOIC:currencies_group.*.currencies.currencyDetails_composite.currencyUsageCodeQualifier","INVOIC:currencies_group.*.currencies.currencyDetails_composite.currencyTypeCodeQualifier","INVOIC:currencies_group.*.currencies.currencyDetails_composite_1.currencyUsageCodeQualifier","INVOIC:currencies_group.*.currencies.currencyDetails_composite_1.currencyTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: CUX 6347=2 (Reference currency) is the buyer/base currency. A single CUX may carry two C504 composites, and usage 2 can appear in either currencyDetails_composite or currencyDetails_composite_1 — both are claimed, filtered by the usage qualifier. The matched composite’s currencyIdCode carries the ISO currency code; its currencyRate carries the exchange rate."],"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO currency code (e.g., USD, EUR)"},"exchangeRate":{"description":"Exchange rate for currency conversion","type":"string"}},"required":["currencyCode"],"additionalProperties":false},"sellersCurrency":{"description":"Currency used by the seller","orderful_x12_path":["810:currency.* | entityIdentifierCode=SE"],"orderful_x12_codes":["SE"],"orderful_edifact_paths":["INVOIC:currencies_group.*.currencies.currencyDetails_composite | currencyUsageCodeQualifier=3","INVOIC:currencies_group.*.currencies.currencyDetails_composite_1 | currencyUsageCodeQualifier=3"],"orderful_edifact_codes":["3"],"orderful_edifact_metadata_paths":["INVOIC:currencies_group.*.currencies.currencyDetails_composite.currencyUsageCodeQualifier","INVOIC:currencies_group.*.currencies.currencyDetails_composite.currencyTypeCodeQualifier","INVOIC:currencies_group.*.currencies.currencyDetails_composite_1.currencyUsageCodeQualifier","INVOIC:currencies_group.*.currencies.currencyDetails_composite_1.currencyTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: CUX 6347=3 (Target currency) is the seller/settlement currency. Usage 3 can appear in either currencyDetails_composite or currencyDetails_composite_1 — both are claimed, filtered by the usage qualifier. The matched composite’s currencyIdCode carries the ISO currency code; its currencyRate carries the exchange rate."],"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO currency code (e.g., USD, EUR)"},"exchangeRate":{"description":"Exchange rate for currency conversion","type":"string"}},"required":["currencyCode"],"additionalProperties":false},"references":{"description":"Reference numbers associated with the invoice","orderful_x12_path":["810:referenceInformation | referenceIdentificationQualifier!=L1","810:carrierDetails","880:extendedReferenceInformation | referenceIdentificationQualifier!=L1","880:carrierDetails"],"orderful_edifact_paths":["INVOIC:reference_group.*.reference.reference_composite | referenceCodeQualifier!=ON,RE"],"orderful_edifact_metadata_paths":["INVOIC:reference_group.*.reference.reference_composite.referenceCodeQualifier"],"type":"object","properties":{"customerOrderNumber":{"description":"Customer-assigned order number","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=CO","880:extendedReferenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"orderful_edifact_codes":["CR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"divisionId":{"description":"Business division identifier","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=19","880:extendedReferenceInformation.* | referenceIdentificationQualifier=19"],"orderful_x12_codes":["19"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"departmentNumber":{"description":"Department number within the organization","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=DP","880:extendedReferenceInformation.* | referenceIdentificationQualifier=DP"],"orderful_x12_codes":["DP"],"orderful_edifact_codes":["SD"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"vendorNumber":{"description":"Vendor or supplier identifier","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=IA,VR","880:extendedReferenceInformation.* | referenceIdentificationQualifier=IA,VR"],"orderful_x12_codes":["IA","VR"],"orderful_edifact_codes":["VN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"promotionNumber":{"description":"Promotional campaign or deal identifier","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=MR","880:extendedReferenceInformation.* | referenceIdentificationQualifier=MR"],"orderful_x12_codes":["MR"],"orderful_edifact_codes":["PD"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"thirdPartyReferenceNumber":{"description":"Reference number from a third-party system","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=GK","880:extendedReferenceInformation.* | referenceIdentificationQualifier=GK"],"orderful_x12_codes":["GK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"storeNumber":{"description":"Customer's store number identifying the retail location associated with this invoice.","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=ST","880:extendedReferenceInformation.* | referenceIdentificationQualifier=ST"],"orderful_x12_codes":["ST"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"relatedInvoiceNumber":{"description":"Original invoice number being credited, used for credit invoices","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=IV,GK","880:extendedReferenceInformation.* | referenceIdentificationQualifier=IV,GK"],"orderful_x12_codes":["IV","GK"],"orderful_edifact_codes":["IV"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"returnAuthorizationNumber":{"description":"Return merchandise authorization (RMA) number","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=RZ,BB","880:extendedReferenceInformation.* | referenceIdentificationQualifier=RZ,BB"],"orderful_x12_codes":["RZ","BB"],"orderful_edifact_codes":["ALQ"],"orderful_edifact_notes":["INVOIC: RFF 1153=ALQ (Returns notice number) is the closest EDIFACT analogue to the X12 RMA reference."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"jobNumber":{"description":"Job or project number","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=JB","880:extendedReferenceInformation.* | referenceIdentificationQualifier=JB"],"orderful_x12_codes":["JB"],"orderful_edifact_codes":["JB"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfLadingNumber":{"description":"Bill of lading number for the shipment","orderful_x12_path":["810:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=BM","810:referenceInformation.* | referenceIdentificationQualifier=BM","880:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM","UCB"],"orderful_edifact_codes":["BM"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"proNumber":{"description":"Progressive or PRO number from the carrier","orderful_x12_path":["810:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=CN","810:referenceInformation.* | referenceIdentificationQualifier=CN","880:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=CN","880:extendedReferenceInformation.* | referenceIdentificationQualifier=CN"],"orderful_x12_codes":["CN"],"orderful_edifact_codes":["CN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"trackingNumber":{"description":"Shipment tracking number","orderful_x12_path":["810:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=2I","810:referenceInformation.* | referenceIdentificationQualifier=2I","880:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=2I"],"orderful_x12_codes":["2I"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"shipmentId":{"description":"Unique shipment identifier","orderful_x12_path":["810:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=SI","810:referenceInformation.* | referenceIdentificationQualifier=SI","880:carrierDetails.*.referenceIdentification | referenceIdentificationQualifier=SI"],"orderful_x12_codes":["SI"],"orderful_edifact_codes":["SI"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"packingListNumber":{"description":"Packing list number associated with the shipment","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=PK","880:extendedReferenceInformation.* | referenceIdentificationQualifier=PK"],"orderful_x12_codes":["PK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"vendorOrderNumber":{"description":"The vendor's own reference number for the order being invoiced (the order ID the vendor uses in their system). NOT an identifier of the vendor entity — that lives on references.vendorNumber.","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=VN","880:extendedReferenceInformation.* | referenceIdentificationQualifier=VN"],"orderful_x12_codes":["VN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"accountNumber":{"description":"Account number or credit reference for the order","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=11,CR"],"orderful_x12_codes":["11","CR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"internalCustomerNumber":{"description":"Internal customer identifier used by the buyer","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=IT"],"orderful_x12_codes":["IT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"brokerReferenceNumber":{"description":"Customs or freight broker's own reference number for this shipment","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=WT","880:extendedReferenceInformation.* | referenceIdentificationQualifier=WT"],"orderful_x12_codes":["WT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"forwarderReferenceNumber":{"description":"Freight forwarder's or agent's own reference number for this shipment","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=FN","880:extendedReferenceInformation.* | referenceIdentificationQualifier=FN"],"orderful_x12_codes":["FN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"internalOrderNumber":{"description":"Internal order identifier used by the buyer. Assigned on the purchase order and returned unchanged on the invoice and other response documents. Distinct from vendorOrderNumber, which is the seller's own order reference.","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=IL"],"orderful_x12_codes":["IL"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"dates":{"description":"Important dates such as ship date and delivery date","orderful_x12_path":["810:dateTimeReference","880:dateTime"],"orderful_edifact_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=11,35,17"],"orderful_edifact_metadata_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite.dateOrTimeOrPeriodFunctionCodeQualifier"],"type":"object","properties":{"shipDate":{"description":"Date the goods were shipped","orderful_x12_path":["810:dateTimeReference.* | dateTimeQualifier=011","880:dateTime.* | dateQualifier=011"],"orderful_x12_codes":["011"],"orderful_edifact_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=11"],"orderful_edifact_codes":["11"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"deliveryDate":{"description":"Date the goods were delivered","orderful_x12_path":["810:dateTimeReference.* | dateTimeQualifier=017,067,035","880:dateTime.* | dateQualifier=017,067,035"],"orderful_x12_codes":["017","067","035"],"orderful_edifact_paths":["INVOIC:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=35,17"],"orderful_edifact_codes":["35","17"],"orderful_edifact_notes":["INVOIC: DTM 2005=35 (Delivery date/time, actual) is preferred; 17 (Delivery date/time, estimated) is the fallback."],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]}},"additionalProperties":false},"parties":{"description":"Parties involved in the invoice transaction. Includes contact information where available","orderful_x12_path":["810:N1_loop","810:administrativeCommunicationsContact","880:N1_loop","880:contact"],"orderful_edifact_paths":["INVOIC:nameAndAddress_group.*.nameAndAddress","INVOIC:nameAndAddress_group.*.contactInformation_group.*.contactInformation"],"orderful_edifact_metadata_paths":["INVOIC:nameAndAddress_group.*.nameAndAddress.partyFunctionCodeQualifier"],"orderful_edifact_notes":["INVOIC: the nested CTA/COM (contactInformation_group) carries contact names and communication numbers."],"type":"object","properties":{"buyer":{"description":"Buying party who purchased the goods.","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=BY","810:administrativeCommunicationsContact.* | contactFunctionCode=BD","810:N1_loop.*.administrativeCommunicationsContact.* | contactFunctionCode=BD","880:N1_loop.* | entityIdentifierCode=BY","880:contact.* | contactFunctionCode=BD"],"orderful_x12_codes":["BY","BD"],"orderful_x12_notes":["Header PER (810) or G61 (880) with contactFunctionCode=BD (\"Buyer Name or Department\") merges into buyer.contacts."],"orderful_edifact_codes":["BY"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"shipTo":{"description":"Ship-to location where goods were delivered","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=ST","880:N1_loop.* | entityIdentifierCode=ST"],"orderful_x12_codes":["ST"],"orderful_edifact_codes":["ST","DP"],"orderful_edifact_notes":["INVOIC: DP (Delivery party) routes here only when no ST is present."],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"soldTo":{"description":"Sold-to party when different from the bill-to party","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=SO","880:N1_loop.* | entityIdentifierCode=SO"],"orderful_x12_codes":["SO"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"billTo":{"description":"Bill-to location for invoicing","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=BT","880:N1_loop.* | entityIdentifierCode=BT"],"orderful_x12_codes":["BT"],"orderful_edifact_codes":["IV","BT"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"shipFrom":{"description":"Ship-from location where goods originate","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=SF"],"orderful_x12_codes":["SF"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"supplier":{"description":"Supplier or vendor fulfilling the order","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=SU,VN,SE"],"orderful_x12_codes":["SU","VN","SE"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"accountsReceivable":{"description":"Remit-to or payee party for payment.","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=RI,RE,PE","810:administrativeCommunicationsContact.* | contactFunctionCode=AR","810:N1_loop.*.administrativeCommunicationsContact.* | contactFunctionCode=AR","880:N1_loop.* | entityIdentifierCode=RI","880:contact.* | contactFunctionCode=AR"],"orderful_x12_codes":["RI","AR","PE","RE"],"orderful_x12_notes":["810: Canonically N1*RI. Some guidelines instead carry it as a PER segment with contactFunctionCode=AR, either at the transaction header or nested under an N1 loop.","880: The contact analogue is the header-level G61 (contact) segment, qualifier-filtered the same way."],"orderful_edifact_codes":["PE","RE"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"accountsPayable":{"description":"Payer party, used for credit invoices.","orderful_x12_path":["810:N1_loop.* | entityIdentifierCode=15","810:administrativeCommunicationsContact.* | contactFunctionCode=AP","810:N1_loop.*.administrativeCommunicationsContact.* | contactFunctionCode=AP","880:N1_loop.* | entityIdentifierCode=15","880:contact.* | contactFunctionCode=AP"],"orderful_x12_codes":["15","AP"],"orderful_x12_notes":["810: Canonically N1*15. Some guidelines instead carry it as a PER segment with contactFunctionCode=AP, either at the transaction header or nested under an N1 loop.","880: The contact analogue is the header-level G61 (contact) segment, qualifier-filtered the same way."],"orderful_edifact_codes":["PR"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_x12_notes":["91 and 92 resolve by direction rather than naming a fixed party — the code says who assigned the identifier, so it lands on whichever side of the transaction that is. 850: 92 is the sender, 91 the receiver. 856 and 810: 91 the sender, 92 the receiver. 855: the buyer receives, so 92 (assigned by buyer) is the receiver."],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92","ZZ"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92","ZZ"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"deliveryPoint":{"description":"Specific delivery point within this location, such as a dock, door or bay, identifying where goods should be presented on arrival","type":"string"},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat","certifier"],"description":"Type of contact — the role this person or office serves for the party they belong to","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode","846:administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_x12_notes":["Header-level and party-level contact segments both route to the parent party's contacts; the parent party's role supplies the business context.","Use a value other than 'primary' only to distinguish multiple contacts within a single party."],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC","DC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]},"certifier":{"description":"Contact who certifies the accuracy or regulatory compliance of the shipment","orderful_x12_codes":["CE"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"},"contactReference":{"description":"Reference that clarifies the contact — e.g. an organizational unit, department/role, or partner-assigned code","orderful_x12_path":["850:administrativeCommunicationsContact.*.contactInquiryReference"],"type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"termsOfSale":{"description":"Payment terms and conditions","orderful_x12_path":["810:termsOfSaleDeferredTermsOfSale","880:termsOfSale"],"orderful_edifact_paths":["INVOIC:paymentTerms_group.*.paymentTerms","INVOIC:paymentTerms_group.*.dateTimePeriod.*","INVOIC:paymentTerms_group.*.percentageDetails"],"orderful_edifact_notes":["INVOIC: PAT group — paymentTerms (PAT) carries the terms type and description, the nested DTM the due/net date, and percentageDetails (PCD) the discount percentage. MOA within the group carries discount/penalty amounts."],"type":"object","properties":{"type":{"type":"string","enum":["basic","basicDiscountOffered","discountNotApplicable","endOfMonth","endOfMonth10","extended","instant","fixedDate","proximo","deferred","mutuallyDefined","letterOfCredit"],"description":"Type of payment terms","orderful_enum_meta":{"basic":{"description":"Basic payment terms","orderful_x12_codes":["01"]},"basicDiscountOffered":{"description":"Basic terms with discount offered","orderful_x12_codes":["08"]},"discountNotApplicable":{"description":"Discount not applicable","orderful_x12_codes":["05"]},"endOfMonth":{"description":"End of month payment","orderful_x12_codes":["02"]},"endOfMonth10":{"description":"End of month, 10 days","orderful_x12_codes":["12"]},"extended":{"description":"Extended payment terms","orderful_x12_codes":["07"]},"instant":{"description":"Immediate or instant payment","orderful_x12_codes":["10","23"]},"fixedDate":{"description":"Fixed payment date","orderful_x12_codes":["03"]},"proximo":{"description":"Proximo (next month) payment","orderful_x12_codes":["09"]},"deferred":{"description":"Deferred or installment payment terms (e.g., seasonal terms where payment is due on a specified future date)","orderful_x12_codes":["04"]},"mutuallyDefined":{"description":"Terms mutually defined by parties","orderful_x12_codes":["ZZ","14"]},"letterOfCredit":{"description":"Payment terms secured by a bank-issued letter of credit","orderful_x12_codes":["41"]}}},"basisDate":{"type":"string","enum":["invoiceDate","receiptOfGoods","deliveryDate","shipDate","mutuallyDefined","gageApprovalDate","specifiedDate","acceptanceDate","invoiceTransmissionDate","effectiveDate"],"description":"Date basis for calculating payment terms","orderful_enum_meta":{"invoiceDate":{"description":"Invoice date","orderful_x12_codes":["3"]},"receiptOfGoods":{"description":"Receipt of goods date","orderful_x12_codes":["15"]},"deliveryDate":{"description":"Delivery date","orderful_x12_codes":["2"]},"shipDate":{"description":"Ship date","orderful_x12_codes":["1"]},"mutuallyDefined":{"description":"Mutually defined date basis","orderful_x12_codes":["ZZ"]},"gageApprovalDate":{"description":"Approval of gage date","orderful_x12_codes":["13"]},"specifiedDate":{"description":"Specified date","orderful_x12_codes":["4"]},"acceptanceDate":{"description":"Completion and acceptance date","orderful_x12_codes":["11"]},"invoiceTransmissionDate":{"description":"Invoice transmission date","orderful_x12_codes":["8"]},"effectiveDate":{"description":"Effective date","orderful_x12_codes":["7"]}}},"effectiveDate":{"description":"Date on which the payment terms take effect","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=007"],"orderful_x12_codes":["007"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"discountPercent":{"description":"Discount percentage if paid early","type":"string"},"discountDaysDue":{"description":"Number of days to qualify for discount","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"discountDueDate":{"description":"Date by which payment must be made for discount","anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"dayOfMonth":{"description":"Day of month for payment","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"netDaysDue":{"description":"Number of days until payment is due","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"netDueDate":{"description":"Date when payment is due","anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"discountAmount":{"description":"Fixed discount amount","type":"string"},"description":{"description":"Description of payment terms","type":"string"},"deferredDueDate":{"description":"Date when the deferred payment or percent of invoice payable is due, typically used with seasonal or installment terms","orderful_x12_path":["850:termsOfSaleDeferredTermsOfSale.*.termsDeferredDueDate"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"deferredAmountDue":{"description":"Amount due on the deferred payment date, used with deferred or installment terms","orderful_x12_path":["850:termsOfSaleDeferredTermsOfSale.*.deferredAmountDue"],"type":"string"},"percentOfInvoicePayable":{"description":"Percentage of the invoice amount payable on the deferred due date, used with deferred or installment terms","orderful_x12_path":["850:termsOfSaleDeferredTermsOfSale.*.percentOfInvoicePayable"],"type":"string"},"paymentMethodType":{"type":"string","enum":["check","letterOfCredit","wireTransfer","corporateTradePayment","specialAccount","directPayOthers"],"description":"Method of payment","orderful_enum_meta":{"check":{"description":"Payment by check","orderful_x12_codes":["C"]},"letterOfCredit":{"description":"Payment by letter of credit","orderful_x12_codes":["L"]},"wireTransfer":{"description":"Payment by wire transfer","orderful_x12_codes":["T"]},"corporateTradePayment":{"description":"Corporate trade payment (CTP)","orderful_x12_codes":["O"]},"specialAccount":{"description":"Payment via special account","orderful_x12_codes":["AF"]},"directPayOthers":{"description":"Direct pay or other method","orderful_x12_codes":["U"]}}}},"additionalProperties":false},"carrierDetails":{"description":"Carrier and shipping details for the invoice","orderful_x12_path":["810:ISS_loop","810:carrierDetails","810:FOBRelatedInstructions","810:V1_loop","880:carrierDetails","880:FOBInformation","880:totalInvoiceQuantity"],"orderful_edifact_paths":["INVOIC:transportInformation_group.*.transportInformation","INVOIC:termsOfDeliveryOrTransport_group.*.termsOfDeliveryOrTransport"],"orderful_edifact_notes":["INVOIC: TDT (transportInformation_group) → routing; TOD (termsOfDeliveryOrTransport_group) → freeOnBoard. There is no header-level INVOIC equivalent for the X12 ISS shipment-summary quantity/weight totals — quantityAndWeight is X12-only."],"type":"object","properties":{"quantityAndWeight":{"description":"Quantity and weight details for the shipment","orderful_x12_path":["810:ISS_loop.*.invoiceShipmentSummary","880:totalInvoiceQuantity"],"type":"array","items":{"type":"object","properties":{"packageForm":{"type":"string","enum":["bag","carton","case","coil","pallet"],"description":"Form of packaging","orderful_enum_meta":{"bag":{"description":"Bag packaging form","orderful_x12_codes":["BAG"]},"carton":{"description":"Carton packaging form","orderful_x12_codes":["CTN"]},"case":{"description":"Case packaging form","orderful_x12_codes":["CAS"]},"coil":{"description":"Coil packaging form","orderful_x12_codes":["COL"]},"pallet":{"description":"Pallet packaging form","orderful_x12_codes":["PLT"]}}},"packageMaterial":{"type":"string","enum":["aluminum","corrugated","plastic","plasticVacuumed","standard","steel","wood"],"description":"Material of packaging","orderful_enum_meta":{"aluminum":{"description":"Aluminum material","orderful_x12_codes":["01"]},"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"steel":{"description":"Steel material","orderful_x12_codes":["52"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"ladingQuantity":{"description":"Number of shipping packages in this quantity-and-weight entry, counted in the packaging form given by packageForm — pallets when that is pallet, cartons when it is carton","orderful_x12_path":["850:carrierDetailsQuantityAndWeight.*.ladingQuantity","856:HL_loop.*.carrierDetailsQuantityAndWeight.*.ladingQuantity"],"orderful_x12_notes":["For outbound transactions Orderful can derive this from the carton/pack (HL) structure, so partners that cannot supply it directly need not populate it."],"type":"string"},"totalQuantity":{"description":"Document-level hash total of item quantities — the sum of the line-item quantities, not a count of shipping packages","orderful_x12_path":["940:totalShippingOrder.*.quantity","810:ISS_loop.*.invoiceShipmentSummary.*.numberOfUnitsShipped","880:totalInvoiceQuantity.*.numberOfUnitsShipped","875:totalPurchaseOrder.*.quantity"],"orderful_x12_notes":["Distinct from ladingQuantity, which counts shipping packages (cartons/pallets). W76 and W03 define this as a unitless hash total; the 810 ISS, 880 G31 and 875 G76 total segments carry an explicit unit of measure alongside it, which lands on totalQuantityUOM."],"type":"string"},"totalQuantityUOM":{"description":"Unit of measure for the total quantity","orderful_x12_path":["810:ISS_loop.*.invoiceShipmentSummary.*.unitOrBasisForMeasurementCode","880:totalInvoiceQuantity.*.unitOrBasisForMeasurementCode","875:totalPurchaseOrder.*.unitOrBasisForMeasurementCode"],"type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}},"weightUOM":{"type":"string","enum":["pound","kilogram","gram","ounce"],"description":"Unit of measure for weight","orderful_x12_path":["875:totalPurchaseOrder.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.carrierDetailsQuantityAndWeight.*.unitOrBasisForMeasurementCode","810:ISS_loop.*.invoiceShipmentSummary.*.unitOrBasisForMeasurementCode1","880:totalInvoiceQuantity.*.unitOrBasisForMeasurementCode1","940:totalShippingOrder.*.unitOrBasisForMeasurementCode","850:carrierDetailsQuantityAndWeight.*.unitOrBasisForMeasurementCode"],"orderful_x12_notes":["PG and PN both map to pound; the gross/net hint is not carried here. A total with no TD106 lands on grossWeight."],"orderful_enum_meta":{"pound":{"description":"Pound — imperial weight unit","orderful_x12_codes":["LB","01","PG","PN"]},"kilogram":{"description":"Kilogram — metric weight unit","orderful_x12_codes":["KG"]},"gram":{"description":"Gram — metric weight unit, one thousandth of a kilogram","orderful_x12_codes":["GR"]},"ounce":{"description":"Ounce (avoirdupois) — imperial weight unit, one sixteenth of a pound","orderful_x12_codes":["OZ"]}}},"grossWeight":{"description":"Gross weight including packaging","orderful_x12_path":["875:totalPurchaseOrder.*.weight","810:ISS_loop.*.invoiceShipmentSummary.*.weight","880:totalInvoiceQuantity.*.weight","940:totalShippingOrder.*.weight","850:carrierDetailsQuantityAndWeight.*.weight | weightQualifier=G","856:HL_loop.*.carrierDetailsQuantityAndWeight.*.weight | weightQualifier=G"],"orderful_x12_codes":["G"],"type":"string"},"netWeight":{"description":"Net weight of contents only","orderful_x12_path":["850:carrierDetailsQuantityAndWeight.*.weight | weightQualifier=N","856:HL_loop.*.carrierDetailsQuantityAndWeight.*.weight | weightQualifier=N"],"orderful_x12_codes":["N"],"type":"string"},"volume":{"description":"Total volume of the shipment","orderful_x12_path":["810:ISS_loop.*.invoiceShipmentSummary.*.volume","880:totalInvoiceQuantity.*.volume","940:totalShippingOrder.*.volume","875:totalPurchaseOrder.*.volume","850:carrierDetailsQuantityAndWeight.*.volume","856:HL_loop.*.carrierDetailsQuantityAndWeight.*.volume"],"type":"string"},"volumeUOM":{"type":"string","enum":["cubicFeet","cubicInches","cubicMeter","cubicYard","gallon","liter"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.carrierDetailsQuantityAndWeight.*.unitOrBasisForMeasurementCode1","810:ISS_loop.*.invoiceShipmentSummary.*.unitOrBasisForMeasurementCode2","880:totalInvoiceQuantity.*.unitOrBasisForMeasurementCode2","940:totalShippingOrder.*.unitOrBasisForMeasurementCode1","875:totalPurchaseOrder.*.unitOrBasisForMeasurementCode2","850:carrierDetailsQuantityAndWeight.*.unitOrBasisForMeasurementCode1"],"orderful_enum_meta":{"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]}}},"dimensionUOM":{"type":"string","enum":["foot","meter"],"description":"Unit of measure for length","orderful_x12_path":["856:HL_loop.*.measurements.*.unitOrBasisForMeasurementCode | measurementQualifier=LN"],"orderful_enum_meta":{"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]}}},"length":{"description":"Total linear length of coils in the shipment","orderful_x12_path":["HL_loop.*.measurements.* | measurementQualifier=LN"],"orderful_x12_codes":["LN"],"type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","orderful_x12_path":["HL_loop.*.measurements.* | unitOrBasisForMeasurementCode=BB"],"orderful_x12_codes":["BB"],"type":"string"}},"additionalProperties":false}},"routing":{"description":"Carrier routing and transportation details","orderful_x12_path":["810:carrierDetails","880:carrierDetails"],"orderful_edifact_paths":["INVOIC:transportInformation_group.*.transportInformation"],"orderful_edifact_notes":["INVOIC: TDT — carrier_composite carries the carrier id/name, modeOfTransport_composite the mode, transportMeans_composite the means."],"type":"array","items":{"type":"object","properties":{"sequenceType":{"type":"string","enum":["origin","1stAfterOrigin","4thAfterOrigin","haulage"],"description":"Sequence in the routing chain","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.routingSequenceCode"],"orderful_enum_meta":{"origin":{"description":"Origin carrier","orderful_x12_codes":["O","B"]},"1stAfterOrigin":{"description":"1st carrier after origin carrier","orderful_x12_codes":["1"]},"4thAfterOrigin":{"description":"4th carrier after origin carrier","orderful_x12_codes":["4"]},"haulage":{"description":"Haulage rights carrier and junction","orderful_x12_codes":["H"]}}},"standardCarrierAlphaCode":{"description":"SCAC code identifying the carrier","type":"string"},"customCarrierCode":{"description":"Custom carrier identifier","type":"string"},"transportationMethod":{"type":"string","enum":["air","airExpress","airFreightForward","backhaul","bestWay","commonCarrier","consolidation","customerPickup","expeditedTruck","lessThanTrailerLoad","mail","ocean","oceanContainerized","parcelPost","privateCarrier","rail","shipperAgent","supplierTruck","trailer","mutuallyDefined"],"description":"Method of transportation. EDIFACT: prefer C001.8179 (transportMeansDescriptionCode) — its means/vessel-level codes match this enum directly. Fall back to C220.8067 (transportModeNameCode) ONLY when 8179 is absent; 8067 carries broad-mode codes only (1=Maritime, 2=Rail, 3=Road, 4=Air, 5=Mail, 6=Multimodal, 7=Fixed installation, 8=Inland water) which map loosely: 1→ocean, 2→rail, 3→supplierTruck, 4→air. Granular enum values (airExpress, oceanContainerized, trailer, etc.) cannot be recovered from 8067 — emit a SCHEMA GAP if neither path carries the partner value.","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transportationMethodTypeCode"],"orderful_edifact_paths":["ORDERS:transportInformation_group.*.transportInformation.transportMeans_composite.transportMeansDescriptionCode"],"orderful_edifact_metadata_paths":["ORDERS:transportInformation_group.*.transportInformation.modeOfTransport_composite.transportModeNameCode"],"orderful_enum_meta":{"air":{"description":"Air freight","orderful_x12_codes":["A"],"orderful_edifact_codes":["6"]},"airExpress":{"description":"Air express service","orderful_x12_codes":["AE"]},"airFreightForward":{"description":"Air freight forwarder","orderful_x12_codes":["AF"]},"backhaul":{"description":"Backhaul shipment","orderful_x12_codes":["K"]},"bestWay":{"description":"Best way (carrier discretion)","orderful_x12_codes":["T"]},"commonCarrier":{"description":"Common carrier","orderful_x12_codes":["M","MP"]},"consolidation":{"description":"Consolidation service","orderful_x12_codes":["C"]},"customerPickup":{"description":"Customer pickup","orderful_x12_codes":["H","CE"]},"expeditedTruck":{"description":"Expedited truck","orderful_x12_codes":["E"]},"lessThanTrailerLoad":{"description":"Less than trailer load (LTL)","orderful_x12_codes":["LT"]},"mail":{"description":"Mail service","orderful_x12_codes":["7"]},"ocean":{"description":"Ocean freight","orderful_x12_codes":["S"],"orderful_edifact_codes":["11","13"]},"oceanContainerized":{"description":"Containerized ocean freight","orderful_x12_codes":["O"],"orderful_edifact_codes":["11"]},"parcelPost":{"description":"Parcel post","orderful_x12_codes":["D"]},"privateCarrier":{"description":"Private carrier","orderful_x12_codes":["U","P"]},"rail":{"description":"Rail freight","orderful_x12_codes":["R"],"orderful_edifact_codes":["25"]},"shipperAgent":{"description":"Shipper agent","orderful_x12_codes":["SC"]},"supplierTruck":{"description":"Supplier truck delivery","orderful_x12_codes":["SR"],"orderful_edifact_codes":["31"]},"trailer":{"description":"Trailer load (TL)","orderful_x12_codes":["TL"],"orderful_edifact_codes":["35"]},"mutuallyDefined":{"description":"Transportation method mutually defined","orderful_x12_codes":["ZZ"]}}},"locationType":{"type":"string","enum":["inStore","receiversLocation","allPoints","portOfArrival","portOfEmbarkation","origin","mutuallyDefined"],"description":"Type of routing location","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.locationQualifier"],"orderful_enum_meta":{"inStore":{"description":"In-store location","orderful_x12_codes":["IS"]},"receiversLocation":{"description":"Receiver's location","orderful_x12_codes":["94"]},"allPoints":{"description":"All points in routing","orderful_x12_codes":["AP"]},"portOfArrival":{"description":"Port of arrival","orderful_x12_codes":["PA"]},"portOfEmbarkation":{"description":"Port of embarkation","orderful_x12_codes":["KE"]},"origin":{"description":"Origin location","orderful_x12_codes":["OR"]},"mutuallyDefined":{"description":"Location mutually defined","orderful_x12_codes":["ZZ"]}}},"location":{"description":"Routing location identifier or name","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.locationIdentifier"],"type":"string"},"countryCode":{"description":"ISO country code of the routing location","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.countryCode"],"type":"string"},"description":{"description":"Description of routing details","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.routing"],"type":"string"},"serviceLevel":{"type":"string","enum":["deliveryConfirmation","doorService","economy","eveningService","expedited","firstClass","ground","groundHundredWeight","international","metro","morning","nextDayAir","nextDayHundredWeight","nextDayEvening","nextDayMorning1030","nextDayMorning930","nextDaySaturday","overnight","poBoxZipCode","priorityMail","priorityMailInsured","proofOfDelivery","sameDay","saturdayService","secondDay","secondDayHundredWeight","secondDayAir","secondDaySaturday","standard","standardGround","threeDay"],"description":"Service level for shipping","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode1","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode2"],"orderful_enum_meta":{"deliveryConfirmation":{"description":"Delivery confirmation required","orderful_x12_codes":["DC"]},"doorService":{"description":"Door-to-door service","orderful_x12_codes":["DS"]},"economy":{"description":"Economy service","orderful_x12_codes":["LT"]},"eveningService":{"description":"Evening delivery service","orderful_x12_codes":["PM"]},"expedited":{"description":"Expedited service","orderful_x12_codes":["CX","IE","IX"]},"firstClass":{"description":"First class mail service","orderful_x12_codes":["FC"]},"ground":{"description":"Ground shipping service","orderful_x12_codes":["CG"]},"groundHundredWeight":{"description":"Ground hundred-weight service","orderful_x12_codes":["SI"]},"international":{"description":"International service","orderful_x12_codes":["IS"]},"metro":{"description":"Metro area delivery service","orderful_x12_codes":["ME"]},"morning":{"description":"Morning delivery service","orderful_x12_codes":["AM"]},"nextDayAir":{"description":"Next day air service","orderful_x12_codes":["ND"]},"nextDayHundredWeight":{"description":"Next day hundred-weight service","orderful_x12_codes":["NH"]},"nextDayEvening":{"description":"Next day evening delivery","orderful_x12_codes":["PR"]},"nextDayMorning1030":{"description":"Next day morning by 10:30 AM","orderful_x12_codes":["PA"]},"nextDayMorning930":{"description":"Next day morning by 9:30 AM","orderful_x12_codes":["PC"]},"nextDaySaturday":{"description":"Next day Saturday delivery service","orderful_x12_codes":["NS"],"orderful_x12_notes":["NS is a Target-specific qualifier — not a standard X12 service level code"]},"overnight":{"description":"Overnight delivery service","orderful_x12_codes":["ON"]},"poBoxZipCode":{"description":"P.O. Box or ZIP code delivery","orderful_x12_codes":["PO"]},"priorityMail":{"description":"Priority mail service","orderful_x12_codes":["PB"]},"priorityMailInsured":{"description":"Priority mail insured service","orderful_x12_codes":["PI"]},"proofOfDelivery":{"description":"Proof of delivery required","orderful_x12_codes":["ET"]},"sameDay":{"description":"Same day delivery service","orderful_x12_codes":["SA"]},"saturdayService":{"description":"Saturday delivery service","orderful_x12_codes":["SD"]},"secondDay":{"description":"Second day delivery service","orderful_x12_codes":["SE"]},"secondDayHundredWeight":{"description":"Second day hundred-weight service","orderful_x12_codes":["SH"]},"secondDayAir":{"description":"Second day air service","orderful_x12_codes":["SC"]},"secondDaySaturday":{"description":"Second day Saturday delivery service","orderful_x12_codes":["SS"],"orderful_x12_notes":["SS is a Target-invented qualifier — not a standard X12 service level code"]},"standard":{"description":"Standard delivery service","orderful_x12_codes":["ST","G2"]},"standardGround":{"description":"Standard ground service","orderful_x12_codes":["SG"]},"threeDay":{"description":"Three day delivery service","orderful_x12_codes":["3D"]}}},"orderStatus":{"type":"string","enum":["shipCompleteOnDate","complete","partialShipment","shipPartialBackorderToShipOnDate","partialShipOnDate","shipped","backordered","mutuallyDefined","availableScheduledToShip","availableNoShipSchedule","multiPickup","availableToShipUnBilledQuantity","stopOff"],"description":"Order shipping status","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.shipmentOrderStatusCode"],"orderful_enum_meta":{"shipCompleteOnDate":{"description":"Ship complete on specified date","orderful_x12_codes":["CC"]},"complete":{"description":"Order complete","orderful_x12_codes":["CL"]},"partialShipment":{"description":"Partial shipment allowed","orderful_x12_codes":["PR"]},"shipPartialBackorderToShipOnDate":{"description":"Ship partial, backorder remainder to ship on date","orderful_x12_codes":["BP"]},"partialShipOnDate":{"description":"Ship partial on specified date","orderful_x12_codes":["CP"]},"shipped":{"description":"Order shipped","orderful_x12_codes":["SH"]},"backordered":{"description":"Order backordered","orderful_x12_codes":["BK"]},"mutuallyDefined":{"description":"Status mutually defined","orderful_x12_codes":["ZZ"]},"availableScheduledToShip":{"description":"Available and scheduled to ship","orderful_x12_codes":["AS"]},"availableNoShipSchedule":{"description":"Available but no ship schedule","orderful_x12_codes":["AN"]},"multiPickup":{"description":"Multiple pickup","orderful_x12_codes":["AA"]},"availableToShipUnBilledQuantity":{"description":"Available to ship unbilled quantity","orderful_x12_codes":["AU"]},"stopOff":{"description":"Stop-off shipment","orderful_x12_codes":["ST"]}}},"transitDirectionType":{"type":"string","enum":["buyerToSeller","sellerToBuyer","subcontractorToSeller","sellerToDropShipLocation","sellToForwarder","sellerToSubcontractor","mutuallyDefined"],"description":"Direction of transit","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transitDirectionCode"],"orderful_enum_meta":{"buyerToSeller":{"description":"Transit from buyer to seller","orderful_x12_codes":["BS"]},"sellerToBuyer":{"description":"Transit from seller to buyer","orderful_x12_codes":["SB"]},"subcontractorToSeller":{"description":"Transit from subcontractor to seller","orderful_x12_codes":["SC"]},"sellerToDropShipLocation":{"description":"Transit from seller to drop ship location","orderful_x12_codes":["SD"]},"sellToForwarder":{"description":"Transit from seller to forwarder","orderful_x12_codes":["SF"]},"sellerToSubcontractor":{"description":"Transit from seller to subcontractor","orderful_x12_codes":["SS"]},"mutuallyDefined":{"description":"Transit direction mutually defined","orderful_x12_codes":["ZZ"]}}},"transitTimeType":{"type":"string","enum":["calendarDays","hours","workingDays"],"description":"Unit for transit time","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transitTimeDirectionQualifier"],"orderful_enum_meta":{"calendarDays":{"description":"Calendar days (includes weekends and holidays)","orderful_x12_codes":["CD"]},"hours":{"description":"Hours","orderful_x12_codes":["HO"]},"workingDays":{"description":"Working days (excludes weekends and holidays)","orderful_x12_codes":["WD"]}}},"transitTime":{"description":"Expected transit time value","type":"string"}},"additionalProperties":false}},"equipment":{"description":"Equipment details such as trailer information","orderful_x12_path":["810:carrierDetails","810:ISS_loop.*.invoiceShipmentSummary"],"type":"object","properties":{"equipmentType":{"type":"string","enum":["container","reefer","trailer","oceanVessel"],"description":"Type of transportation equipment","orderful_x12_path":["856:HL_loop.*.TD3_loop.*.carrierDetailsEquipment.*.equipmentDescriptionCode"],"orderful_enum_meta":{"container":{"description":"Intermodal container","orderful_x12_codes":["CN"]},"reefer":{"description":"Refrigerated trailer","orderful_x12_codes":["RT"]},"trailer":{"description":"Standard trailer","orderful_x12_codes":["TL"]},"oceanVessel":{"description":"Ocean vessel","orderful_x12_codes":["VE"]}}},"equipmentId":{"description":"Equipment identifier (e.g., trailer number)","type":"string"},"sealNumber":{"description":"Seal number for security verification","type":"string"}},"additionalProperties":false},"vessel":{"description":"Vessel identification for ocean or multi-modal shipments.","orderful_x12_path":["810:V1_loop.*.vesselIdentification"],"type":"object","properties":{"code":{"description":"Code identifying the vessel.","orderful_x12_path":["810:V1_loop.*.vesselIdentification.*.vesselCode","856:HL_loop.*.V1_loop.*.vesselIdentification.*.vesselCode"],"type":"string"},"name":{"description":"Name of the vessel (ship) that carried the goods.","orderful_x12_path":["810:V1_loop.*.vesselIdentification.*.vesselName","856:HL_loop.*.V1_loop.*.vesselIdentification.*.vesselName"],"type":"string"},"registrationCountryCode":{"description":"ISO country code of the country in which the vessel is registered.","orderful_x12_path":["810:V1_loop.*.vesselIdentification.*.countryCode","856:HL_loop.*.V1_loop.*.vesselIdentification.*.countryCode"],"type":"string"},"voyageNumber":{"description":"Identifying designator for the voyage (ocean), flight (air), or truck (cross-border) carrying the cargo.","orderful_x12_path":["810:V1_loop.*.vesselIdentification.*.flightVoyageNumber","856:HL_loop.*.V1_loop.*.vesselIdentification.*.flightVoyageNumber"],"type":"string"}},"additionalProperties":false},"freeOnBoard":{"description":"FOB (Free on Board) terms and conditions","orderful_x12_path":["810:FOBRelatedInstructions","880:FOBInformation"],"orderful_edifact_paths":["INVOIC:termsOfDeliveryOrTransport_group.*.termsOfDeliveryOrTransport"],"orderful_edifact_notes":["INVOIC: TOD — termsOfDeliveryOrTransport_composite carries the Incoterm/delivery-terms description; transportChargesPaymentMethodCode the prepaid/collect indicator."],"type":"array","items":{"type":"object","properties":{"methodOfPayment":{"type":"string","enum":["airCollect","airPrepaid","paidByBuyer","collect","collectFreightCreditedBack","mutuallyAgreed","portOfCall","halfPrepaid","mixed","serviceFreightNoCharge","advancePrepaid","customerPickupBackhaul","prepaidChargeCustomer","prepaidBySeller","paidBySeller","pickup","thirdPartyPay"],"description":"Freight payment method","orderful_x12_path":["850:FOBRelatedInstructions.*.shipmentMethodOfPaymentCode","850:N1_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode","850:PO1_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode","856:HL_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode","860:FOBRelatedInstructions.*.shipmentMethodOfPaymentCode","860:N1_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode","860:POC_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode"],"orderful_enum_meta":{"airCollect":{"description":"Air collect payment","orderful_x12_codes":["AC"]},"airPrepaid":{"description":"Air prepaid payment","orderful_x12_codes":["AP"]},"paidByBuyer":{"description":"Freight paid by buyer","orderful_x12_codes":["BP"]},"collect":{"description":"Collect payment","orderful_x12_codes":["CC"]},"collectFreightCreditedBack":{"description":"Freight collected from the buyer at delivery, then credited back to them","orderful_x12_codes":["CF"]},"mutuallyAgreed":{"description":"Mutually agreed payment method","orderful_x12_codes":["DF"]},"portOfCall":{"description":"Port of call payment","orderful_x12_codes":["FO"]},"halfPrepaid":{"description":"Half prepaid payment","orderful_x12_codes":["HP"]},"mixed":{"description":"Mixed payment method","orderful_x12_codes":["MX"]},"serviceFreightNoCharge":{"description":"Service freight with no charge","orderful_x12_codes":["NC"]},"advancePrepaid":{"description":"Advance prepaid payment","orderful_x12_codes":["PA"]},"customerPickupBackhaul":{"description":"Customer pickup or backhaul","orderful_x12_codes":["PB"]},"prepaidChargeCustomer":{"description":"Prepaid and charged to customer","orderful_x12_codes":["PC"]},"prepaidBySeller":{"description":"Prepaid by seller","orderful_x12_codes":["PP","PO"]},"paidBySeller":{"description":"Freight paid by seller","orderful_x12_codes":["PS"]},"pickup":{"description":"Pickup by consignee","orderful_x12_codes":["PU"]},"thirdPartyPay":{"description":"Third party pays freight","orderful_x12_codes":["TP"]}}},"locationType":{"type":"string","enum":["cityAndState","country","destination","origin","stateProvince","warehouse","foreignFreightForwarder","onVessel","mutuallyDefined"],"description":"Type of FOB location","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.locationQualifier"],"orderful_enum_meta":{"cityAndState":{"description":"City and state location","orderful_x12_codes":["AC"]},"country":{"description":"Country location","orderful_x12_codes":["CA","CC"]},"destination":{"description":"Destination location","orderful_x12_codes":["DE"]},"origin":{"description":"Origin location","orderful_x12_codes":["OR"]},"stateProvince":{"description":"State or province location","orderful_x12_codes":["SP"]},"warehouse":{"description":"Warehouse location","orderful_x12_codes":["WH"]},"foreignFreightForwarder":{"description":"Foreign freight forwarder location — the consolidation port or freight forwarder facility used in international trade","orderful_x12_codes":["FF"]},"onVessel":{"description":"FOB point is on board the vessel carrying the goods","orderful_x12_codes":["OV"]},"mutuallyDefined":{"description":"Location mutually defined by trading partners","orderful_x12_codes":["ZZ"]}}},"locationDescription":{"description":"Description of FOB location","type":"string"},"titlePassageType":{"type":"string","enum":["cityAndState","country","destination","origin","stateProvince","warehouse","portOfLoading","foreignFreightForwarder"],"description":"Type of title passage location","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.locationQualifier1"],"orderful_enum_meta":{"cityAndState":{"description":"City and state title passage","orderful_x12_codes":["AC"]},"country":{"description":"Country title passage","orderful_x12_codes":["CA","CC"]},"destination":{"description":"Destination title passage","orderful_x12_codes":["DE"]},"origin":{"description":"Origin title passage","orderful_x12_codes":["OR"]},"stateProvince":{"description":"State or province title passage","orderful_x12_codes":["SP"]},"warehouse":{"description":"Warehouse title passage","orderful_x12_codes":["WH"]},"portOfLoading":{"description":"Title passes at the port where the goods are loaded onto the vessel, used on import orders","orderful_x12_codes":["KL"]},"foreignFreightForwarder":{"description":"Title passes at the foreign freight forwarder — the consolidation port or freight forwarder facility used in international trade","orderful_x12_codes":["FF"]}}},"titlePassageDescription":{"description":"Description of title passage location","type":"string"},"transportationTermsSource":{"type":"string","enum":["incoTerms","tradeTerms","mutuallyDefined"],"description":"Source of transportation terms","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.transportationTermsQualifierCode"],"orderful_enum_meta":{"incoTerms":{"description":"Incoterms","orderful_x12_codes":["01"]},"tradeTerms":{"description":"Trade terms code","orderful_x12_codes":["02"]},"mutuallyDefined":{"description":"Mutually defined","orderful_x12_codes":["ZZ"]}}},"transportationTerms":{"type":"string","enum":["costAndFreight","costInsuranceAndFreight","carriageAndInsurancePaidTo","carriagePaidTo","deliveredAtFrontier","deliverDutyPaid","deliverDutyUnpaid","deliveredDutyUnpaid","deliveredExQuay","deliveredExShip","domesticallySupplied","exQuay","exShip","exWorks","freeAlongsideShip","freeCarrier","freightCarriageInsurancePaidTo","freightCarriagePaidTo","freeOnBoard","freeOnRail","freeOnTruck","nonPrivilegedForeign","privilegedForeign","mutuallyDefined"],"description":"Incoterms or trade terms code","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.transportationTermsCode"],"orderful_enum_meta":{"costAndFreight":{"description":"Cost and freight (CFR)","orderful_x12_codes":["CFR"],"orderful_edifact_codes":["CFR"]},"costInsuranceAndFreight":{"description":"Cost, insurance and freight (CIF)","orderful_x12_codes":["CIF"],"orderful_edifact_codes":["CIF"]},"carriageAndInsurancePaidTo":{"description":"Carriage and insurance paid to (CIP)","orderful_x12_codes":["CIP"],"orderful_edifact_codes":["CIP"]},"carriagePaidTo":{"description":"Carriage paid to (CPT)","orderful_x12_codes":["CPT"],"orderful_edifact_codes":["CPT"]},"deliveredAtFrontier":{"description":"Delivered at frontier (DAF)","orderful_x12_codes":["DAF"],"orderful_edifact_codes":["DAF"]},"deliverDutyPaid":{"description":"Delivered duty paid (DDP)","orderful_x12_codes":["DDP"],"orderful_edifact_codes":["DDP"]},"deliverDutyUnpaid":{"description":"Delivered duty unpaid (DDU)","orderful_x12_codes":["DDU"],"orderful_edifact_codes":["DDU"]},"deliveredDutyUnpaid":{"description":"Delivered duty unpaid variant (DUP)","orderful_x12_codes":["DUP"],"orderful_edifact_codes":["DUP"]},"deliveredExQuay":{"description":"Delivered ex quay (DEQ)","orderful_x12_codes":["DEQ"],"orderful_edifact_codes":["DEQ"]},"deliveredExShip":{"description":"Delivered ex ship (DES)","orderful_x12_codes":["DES"],"orderful_edifact_codes":["DES"]},"domesticallySupplied":{"description":"Domestically supplied (DOM)","orderful_x12_codes":["DOM"],"orderful_edifact_codes":["DOM"]},"exQuay":{"description":"Ex quay (EXQ)","orderful_x12_codes":["EXQ"],"orderful_edifact_codes":["EXQ"]},"exShip":{"description":"Ex ship (EXS)","orderful_x12_codes":["EXS"],"orderful_edifact_codes":["EXS"]},"exWorks":{"description":"Ex works (EXW)","orderful_x12_codes":["EXW"],"orderful_edifact_codes":["EXW"]},"freeAlongsideShip":{"description":"Free alongside ship (FAS)","orderful_x12_codes":["FAS"],"orderful_edifact_codes":["FAS"]},"freeCarrier":{"description":"Free carrier (FCA)","orderful_x12_codes":["FCA"],"orderful_edifact_codes":["FCA"]},"freightCarriageInsurancePaidTo":{"description":"Freight, carriage and insurance paid to (FCI)","orderful_x12_codes":["FCI"],"orderful_edifact_codes":["FCI"]},"freightCarriagePaidTo":{"description":"Freight and carriage paid to (FCP)","orderful_x12_codes":["FCP"],"orderful_edifact_codes":["FCP"]},"freeOnBoard":{"description":"Free on board (FOB)","orderful_x12_codes":["FOB"],"orderful_edifact_codes":["FOB"]},"freeOnRail":{"description":"Free on rail (FOR)","orderful_x12_codes":["FOR"],"orderful_edifact_codes":["FOR"]},"freeOnTruck":{"description":"Free on truck (FOT)","orderful_x12_codes":["FOT"],"orderful_edifact_codes":["FOT"]},"nonPrivilegedForeign":{"description":"Non-privileged foreign status (NPF)","orderful_x12_codes":["NPF"]},"privilegedForeign":{"description":"Privileged foreign status (PPF)","orderful_x12_codes":["PPF"]},"mutuallyDefined":{"description":"Mutually defined terms","orderful_x12_codes":["ZZZ"],"orderful_edifact_codes":["ZZZ"]}}},"riskOfLoss":{"type":"string","enum":["toDestinationBuyer","toFreightEqPointSeller","toPoolPointSeller","toDestinationSeller","mutuallyDefined"],"description":"Risk of loss transfer point","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.riskOfLossCode"],"orderful_enum_meta":{"toDestinationBuyer":{"description":"Risk transfers to buyer at destination","orderful_x12_codes":["BY"]},"toFreightEqPointSeller":{"description":"Risk transfers to seller at freight equalization point","orderful_x12_codes":["FE"]},"toPoolPointSeller":{"description":"Risk transfers to seller at pool point","orderful_x12_codes":["PP"]},"toDestinationSeller":{"description":"Risk transfers to seller at destination","orderful_x12_codes":["SE"]},"mutuallyDefined":{"description":"Risk of loss mutually defined","orderful_x12_codes":["ZZ"]}}},"description":{"description":"Additional FOB description","type":"string"}},"additionalProperties":false}}},"additionalProperties":false},"paperwork":{"description":"Shipping and trade documents referenced by this invoice, each with whether it was provided or is missing.","orderful_x12_path":["810:paperwork"],"type":"array","items":{"type":"object","properties":{"reportTransmissionType":{"type":"string","enum":["withShipmentPackage"],"description":"How and when the document is transmitted to the recipient.","orderful_x12_path":["850:paperwork.*.reportTransmissionCode","860:paperwork.*.reportTransmissionCode","810:paperwork.*.reportTransmissionCode"],"orderful_enum_meta":{"withShipmentPackage":{"description":"Sent physically with the shipment or package.","orderful_x12_codes":["WS"]}}},"copiesNeeded":{"description":"Number of copies of the document the recipient requires.","orderful_x12_path":["850:paperwork.*.reportCopiesNeeded","860:paperwork.*.reportCopiesNeeded","810:paperwork.*.reportCopiesNeeded"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isoLanguageCode":{"description":"ISO 639 language code of the document contents.","orderful_x12_path":["850:paperwork.*.identificationCode | identificationCodeQualifier=LE","860:paperwork.*.identificationCode | identificationCodeQualifier=LE","810:paperwork.*.identificationCode | identificationCodeQualifier=LE"],"orderful_x12_codes":["LE"],"type":"string"},"url":{"description":"URL at which the document can be retrieved.","orderful_x12_path":["850:paperwork.*.identificationCode | identificationCodeQualifier=UR","860:paperwork.*.identificationCode | identificationCodeQualifier=UR","810:paperwork.*.identificationCode | identificationCodeQualifier=UR"],"orderful_x12_codes":["UR"],"type":"string"},"description":{"description":"Free-form description of the document.","orderful_x12_path":["850:paperwork.*.description","860:paperwork.*.description","810:paperwork.*.description"],"type":"string"},"reportType":{"type":"string","enum":["visaExportLicense","airWaybill","billOfLading","oceanBillOfLading","receipt","seaWaybill"],"description":"Type of shipping or trade document being referenced.","orderful_x12_path":["810:paperwork.*.reportTypeCode"],"orderful_enum_meta":{"visaExportLicense":{"description":"Export license or visa authorizing the goods to leave the exporting country.","orderful_x12_codes":["78"]},"airWaybill":{"description":"Air waybill issued by an air carrier as receipt and contract of carriage.","orderful_x12_codes":["AW"]},"billOfLading":{"description":"Bill of lading issued by the carrier as receipt and title document for the goods.","orderful_x12_codes":["BL"]},"oceanBillOfLading":{"description":"Ocean bill of lading issued for a sea shipment; a negotiable document of title.","orderful_x12_codes":["OL"]},"receipt":{"description":"Receipt acknowledging that goods were received for shipment.","orderful_x12_codes":["P3"]},"seaWaybill":{"description":"Sea waybill for a sea shipment; unlike an ocean bill of lading, not a document of title.","orderful_x12_codes":["SW"]}}},"status":{"type":"string","enum":["missing","provided"],"description":"Whether the referenced trade document is present or absent.","orderful_x12_path":["810:paperwork.*.paperworkReportActionCode"],"orderful_enum_meta":{"missing":{"description":"The document has not been provided and is still outstanding.","orderful_x12_codes":["DM"]},"provided":{"description":"The document has been provided.","orderful_x12_codes":["PV"]}}}},"additionalProperties":false}},"lineItems":{"type":"array","items":{"type":"object","properties":{"purchaseOrderLineId":{"description":"Line item identifier from the original purchase order","orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.assignedIdentification","880:G17_loop.*.itemDetail.*.number"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.lineItem.lineItemId"],"type":"string"},"quantityInvoiced":{"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false,"description":"Quantity being invoiced for this line item","orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.quantityInvoiced","810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","880:G17_loop.*.itemDetail.*.quantityInvoiced","880:G17_loop.*.itemDetail.*.unitOrBasisForMeasurementCode"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=47"],"orderful_edifact_codes":["47"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"]},"unitPrice":{"type":"string","description":"Unit price for the item","orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitPrice","880:G17_loop.*.itemDetail.*.itemListCost"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.priceDetails_group.*.priceDetails.priceInformation_composite | priceCodeQualifier=AAA,AAB,INV"],"orderful_edifact_codes":["AAA","AAB","INV"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.priceDetails_group.*.priceDetails.priceInformation_composite.priceCodeQualifier"],"orderful_edifact_notes":["INVOIC: the priceInformation_composite’s priceAmount (not priceTypeCode) carries the unit price."]},"unitPriceBasis":{"description":"Basis on which the unit price is calculated","orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.basisOfUnitPriceCode"],"type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","retail","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"retail":{"description":"Actual retail price the item sells at to the end consumer, as distinct from a manufacturer-suggested price","orderful_x12_codes":["RT","RE"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"monetaryAmounts":{"description":"Monetary amounts for the line item","orderful_x12_path":["810:IT1_loop.*.pricingInformation"],"type":"object","properties":{"gross":{"description":"Gross monetary amount for the line item","orderful_x12_path":["810:IT1_loop.*.pricingInformation.*.monetaryAmount","810:IT1_loop.*.pricingInformation.*.unitPrice | priceIdentifierCode=SUM"],"orderful_x12_codes":["SUM"],"orderful_x12_notes":["CTP08 carries the extended item total (quantity × unit price). Some guidelines instead place it in CTP03 with CTP02=SUM; the priceIdentifierCode is routing metadata and is dropped."],"type":"string"}},"additionalProperties":false},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"priceLookupNumber":{"description":"Price Look-Up (PLU) code used at point of sale, typically for loose or variable-weight retail goods","orderful_x12_codes":["P8"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identification codes such as UPC, SKU, or vendor item number","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.productServiceIDQualifier","810:IT1_loop.*.baselineItemDataInvoice.*.productServiceID","880:G17_loop.*.itemDetail.*.productServiceIDQualifier","880:G17_loop.*.itemDetail.*.productServiceID"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.lineItem.itemNumberId_composite.itemId","INVOIC:lineItem_group.*.lineItem.itemNumberId_composite.itemTypeIdCode","INVOIC:lineItem_group.*.additionalProductId.*.itemNumberId_composite.itemId","INVOIC:lineItem_group.*.additionalProductId.*.itemNumberId_composite.itemTypeIdCode"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.additionalProductId.*.productIdCodeQualifier"]},"productAttributes":{"description":"Product attributes such as color, size, and description","orderful_x12_path":["810:IT1_loop.*.PID_loop.*.productItemDescription","880:G17_loop.*.lineItemDetail"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.itemDescription.*.itemDescription_composite"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.itemDescription.*.descriptionFormatCode"],"type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","850:PO1_loop.*.N9_loop.*.extendedReferenceInformation.*.freeFormDescription | referenceIdentificationQualifier=JH","860:POC_loop.*.SLN_loop.*.N9_loop.*.extendedReferenceInformation.*.freeFormDescription | referenceIdentificationQualifier=JH"],"orderful_x12_codes":["2N","BL","BRN","JH"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN","N9 Label Code (N901=JH): the brand name is the free-form N903 (e.g. \"Roundtree & Yorke\"); N902 carries the short label code."],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"orderful_x12_path":["943:W04_loop.*.lineItemDetail1.*.color"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"prepackType":{"description":"Prepack assortment or configuration type","orderful_x12_codes":["JP"],"type":"string"},"widthClassification":{"description":"Width classification for the product, such as a footwear width (e.g. \"M\", \"W\", \"N\"). Not a measurement — see width for the physical dimension.","type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"specifications":{"description":"Buyer-defined product specifications carried as name/value pairs — the customization detail accompanying made-to-order or special-order items. Only for characteristics that have no named field on this schema; colour, size, material and the physical dimensions each have their own field.","orderful_x12_codes":["84"],"orderful_x12_notes":["PID02=84 (Special Specification) is the declared source. Other buyer-defined characteristic qualifiers carrying product customization detail route here too; those are per-guideline and belong in the guideline parameters, not in this code list."],"type":"array","items":{"type":"object","properties":{"type":{"description":"Name of the product characteristic being specified, as defined by the buyer’s specification (e.g. flex, loft, length, hand)","orderful_x12_path":["850:PO1_loop.*.PID_loop.*.productItemDescription.*.productDescriptionCode | productProcessCharacteristicCode=84","860:POC_loop.*.PID_loop.*.productItemDescription.*.productDescriptionCode | productProcessCharacteristicCode=84"],"type":"string"},"value":{"description":"Value supplied for that characteristic","orderful_x12_path":["850:PO1_loop.*.PID_loop.*.productItemDescription.*.description | productProcessCharacteristicCode=84","860:POC_loop.*.PID_loop.*.productItemDescription.*.description | productProcessCharacteristicCode=84"],"type":"string"}},"additionalProperties":false}},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"vehicleFitment":{"description":"The vehicle the ordered part is an application for (automotive fitment)","orderful_x12_notes":["VIN arrives under the standard qualifiers VT (REF01) or VV (product/service ID). No standard qualifier carries vehicle make or model, so a partner sending those redefines a qualifier privately and that binding is declared in the guideline rather than here."],"type":"object","properties":{"vin":{"description":"Vehicle Identification Number (VIN) of the specific vehicle the part fits","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=VT","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=VV","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=VT","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=VV"],"orderful_x12_codes":["VT","VV"],"type":"string"},"make":{"description":"Vehicle manufacturer / make the part is an application for (e.g., Honda, Toyota)","type":"string"},"model":{"description":"Vehicle model the part is an application for (e.g., Civic, Camry)","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"countryOfOrigin":{"description":"Country where the product was manufactured","orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.productServiceID | productServiceIDQualifier=CH"],"orderful_x12_codes":["CH"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.additionalInformation.*.countryOfOriginId"],"orderful_edifact_notes":["INVOIC: ALI countryOfOriginId (3239) carries the country of origin directly — no qualifier."],"type":"string"},"lotNumber":{"description":"Lot or batch number for the product","orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.goodsIdentityNumber.*.identityNumberRange_composite.objectId"],"orderful_edifact_codes":["BX"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.goodsIdentityNumber.*.objectIdCodeQualifier"],"orderful_edifact_notes":["INVOIC: GIN 7405=BX (Batch number); the identityNumberRange_composite.objectId carries the lot/batch value."],"type":"string"},"dates":{"description":"Date references for this line item","orderful_x12_path":["810:IT1_loop.*.dateTimeReference"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=36,361"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.dateTimePeriod.*.dateTimePeriod_composite.dateOrTimeOrPeriodFunctionCodeQualifier"],"type":"object","properties":{"lotExpirationDate":{"description":"Expiration date of the lot or batch for this line item","orderful_x12_path":["810:IT1_loop.*.dateTimeReference.* | dateTimeQualifier=208"],"orderful_x12_codes":["208"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=36,361"],"orderful_edifact_codes":["36","361"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.dateTimePeriod.*.dateTimePeriod_composite.dateOrTimeOrPeriodFunctionCodeQualifier"],"orderful_edifact_notes":["INVOIC: DTM 2005=36 (Expiry date) is preferred; 361 (Best before date) is the fallback."],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]}},"additionalProperties":false},"outerPack":{"description":"Physical details for the outer packaging (case/carton level). When the guideline permits only one PO4 segment per line item and `innerPack` is also provided, the writer combines both into a single PO4 with outer dimensions taking precedence (PO401–PO406) and inner-only fields filling later positions (PO407+).","orderful_x12_path":["810:IT1_loop.*.itemPhysicalDetails","880:G17_loop.*.itemPackingDetail"],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","belt","bottle","box","carton","case","cassette","display","each","fluidOunce","gram","keg","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["810:IT1_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"belt":{"description":"Belt unit for size","orderful_x12_codes":["BT"]},"bottle":{"description":"Bottle unit for size","orderful_x12_codes":["BO"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"display":{"description":"Display unit for size","orderful_x12_codes":["DS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"keg":{"description":"Keg unit for size","orderful_x12_codes":["KE"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","orderful_x12_path":["850:PO1_loop.*.measurements.* | measurementQualifier=WT"],"orderful_x12_codes":["WT"],"type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","orderful_x12_path":["850:PO1_loop.*.measurements.* | measurementQualifier=VOL"],"orderful_x12_codes":["VOL"],"type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"totalUnits":{"description":"Total count of individual selling units (eaches) in the outer container, summed across every item inside it — not a count of the inner packages themselves.","orderful_x12_path":["850:PO1_loop.*.itemPhysicalDetails.*.grossVolumePerPack | unitOrBasisForMeasurementCode2=EA","860:POC_loop.*.itemPhysicalDetails.*.grossVolumePerPack | unitOrBasisForMeasurementCode2=EA"],"orderful_x12_codes":["EA"],"orderful_x12_notes":["Only populate this field when PO409 is EA. PO408 otherwise carries a genuine gross volume per pack and belongs in volume/volumeUOM."],"type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"innerPack":{"description":"Physical details for the inner packaging","orderful_x12_path":["810:IT1_loop.*.itemPhysicalDetails.*.innerPack","880:G17_loop.*.itemPackingDetail.*.innerPack"],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","belt","bottle","box","carton","case","cassette","display","each","fluidOunce","gram","keg","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["810:IT1_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"belt":{"description":"Belt unit for size","orderful_x12_codes":["BT"]},"bottle":{"description":"Bottle unit for size","orderful_x12_codes":["BO"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"display":{"description":"Display unit for size","orderful_x12_codes":["DS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"keg":{"description":"Keg unit for size","orderful_x12_codes":["KE"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","orderful_x12_path":["850:PO1_loop.*.measurements.* | measurementQualifier=WT"],"orderful_x12_codes":["WT"],"type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","orderful_x12_path":["850:PO1_loop.*.measurements.* | measurementQualifier=VOL"],"orderful_x12_codes":["VOL"],"type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"totalUnits":{"description":"Total count of individual selling units (eaches) in the outer container, summed across every item inside it — not a count of the inner packages themselves.","orderful_x12_path":["850:PO1_loop.*.itemPhysicalDetails.*.grossVolumePerPack | unitOrBasisForMeasurementCode2=EA","860:POC_loop.*.itemPhysicalDetails.*.grossVolumePerPack | unitOrBasisForMeasurementCode2=EA"],"orderful_x12_codes":["EA"],"orderful_x12_notes":["Only populate this field when PO409 is EA. PO408 otherwise carries a genuine gross volume per pack and belongs in volume/volumeUOM."],"type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"references":{"description":"Reference numbers for this line item","orderful_x12_path":["810:IT1_loop.*.referenceInformation","880:G17_loop.*.extendedReferenceInformation"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.reference_group.*.reference.reference_composite"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.reference_group.*.reference.reference_composite.referenceCodeQualifier"],"type":"object","properties":{"relatedInvoiceNumber":{"description":"Related invoice number for this line item","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=IV","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=IV"],"orderful_x12_codes":["IV"],"orderful_edifact_codes":["IV"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"returnAuthorizationNumber":{"description":"Return merchandise authorization number","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=RZ","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=RZ"],"orderful_x12_codes":["RZ"],"orderful_edifact_codes":["ALQ"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfLadingNumber":{"description":"Bill of lading number for this line item","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_edifact_codes":["BM"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"proNumber":{"description":"PRO number from the carrier","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=CN","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=CN"],"orderful_x12_codes":["CN"],"orderful_edifact_codes":["CN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"trackingNumber":{"description":"Tracking number for this line item","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2I","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=2I"],"orderful_x12_codes":["2I"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"shipmentId":{"description":"Shipment identifier for this line item","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=SI","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=SI"],"orderful_x12_codes":["SI"],"orderful_edifact_codes":["SI"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"serialNumber":{"description":"Serial number identifying a specific unit of the product","orderful_x12_path":["810:IT1_loop.*.referenceInformation.* | referenceIdentificationQualifier=SE","880:G17_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=SE"],"orderful_x12_codes":["SE"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"allowances":{"description":"Allowances or discounts for this line item","orderful_x12_path":["810:IT1_loop.*.SAC_loop.* | allowanceOrChargeIndicatorCode=A","880:G17_loop.*.G72_loop.*"],"orderful_x12_codes":["A"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.allowanceOrCharge_group.* | allowanceOrChargeCodeQualifier=A"],"orderful_edifact_codes":["A"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.allowanceOrCharge_group.*.allowanceOrCharge.allowanceOrChargeCodeQualifier"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["advertising","centralBuy","competitiveAllowance","cooperativeAdvertising","customsBrokerFee","customsEntry","claim","commission","damagedMerchandiseAllowance","defectiveAllowance","coreCharge","deposit","discount","displayAllowance","earlyBuyAllowance","forwardingCharge","freeGoods","freight","fuelSurcharge","handling","hangerService","iceCharge","inboundFreight","inlandTransportation","labelAllowance","lateDocumentDeduction","latePaymentCharge","lateShipmentDiscount","networkAllowance","newDistributionAllowance","newStore","newWarehouse","other","pallet","pickup","pickupAndDelivery","priceDeviation","promotionalAllowance","quantityDiscount","quantitySurcharge","rebate","refrigeration","restocking","royalty","serviceAtPickupOrDelivery","shipping","shippingAndHandling","specialAllowance","specialBuy","splitDelivery","swell","tax","temperatureProtection","ticketing","tobaccoProductsReportCharge","truckloadDiscount","unloading","unsaleableMerchandiseAllowance","valueAddedTax","volume","warehouse","duty"],"description":"Type of allowance or charge","orderful_x12_path":["810:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","810:IT1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeCode"],"orderful_enum_meta":{"advertising":{"description":"Advertising allowance or charge","orderful_x12_codes":["A260"]},"centralBuy":{"description":"Allowance for goods bought centrally by the buyer's head office on behalf of its individual locations.","orderful_x12_codes":["B000"]},"competitiveAllowance":{"description":"Allowance granted to help the buyer meet a competitor's price on the goods.","orderful_x12_codes":["B320"]},"cooperativeAdvertising":{"description":"Allowance funding advertising of the goods where the cost is shared between buyer and seller.","orderful_x12_codes":["B720"]},"customsBrokerFee":{"description":"Fee charged by a customs broker for clearing the goods through customs.","orderful_x12_codes":["B860"]},"customsEntry":{"description":"Charge for preparing and filing the customs entry declaration for the goods.","orderful_x12_codes":["B880"]},"claim":{"description":"Deduction taken against the invoice to settle a claim."},"commission":{"description":"Commission amount owed on the goods","orderful_x12_codes":["B310"]},"damagedMerchandiseAllowance":{"description":"Allowance for merchandise damaged in transit or handling, as distinct from merchandise defective on manufacture","orderful_x12_codes":["B950"]},"defectiveAllowance":{"description":"Defective merchandise allowance","orderful_x12_codes":["C000"]},"coreCharge":{"description":"Core charge — a refundable surcharge for the remanufacturable core of an auto part, refunded upon return of the old core","orderful_x12_codes":["B750"]},"deposit":{"description":"Deposit charge (e.g., container or bottle deposit)","orderful_x12_codes":["C110"]},"discount":{"description":"General discount","orderful_x12_codes":["C310"]},"displayAllowance":{"description":"Allowance funding in-store display of the goods.","orderful_x12_codes":["C320"]},"earlyBuyAllowance":{"description":"Allowance for committing to an order ahead of the normal buying period.","orderful_x12_codes":["C540"]},"forwardingCharge":{"description":"Charge by a freight forwarder for arranging onward transport of the goods.","orderful_x12_codes":["D140"]},"freeGoods":{"description":"Allowance covering goods supplied at no charge, such as samples or promotional stock.","orderful_x12_codes":["D170"]},"freight":{"description":"Freight charge","orderful_x12_codes":["D240","53","C040"]},"fuelSurcharge":{"description":"Surcharge reflecting the cost of fuel used to transport the goods.","orderful_x12_codes":["D270"]},"handling":{"description":"Handling charge","orderful_x12_codes":["D500","61","503"]},"hangerService":{"description":"Charge for supplying the goods on hangers rather than flat-packed."},"iceCharge":{"description":"Charge for ice, including dry ice, supplied to keep the goods chilled in transit.","orderful_x12_codes":["C510"]},"inboundFreight":{"description":"Freight charge for transporting the goods into the buyer's receiving location.","orderful_x12_codes":["D750"]},"inlandTransportation":{"description":"Charge for overland transport between a port or terminal and an inland location.","orderful_x12_codes":["D800"]},"labelAllowance":{"description":"Allowance covering the cost of applying labels to the goods.","orderful_x12_codes":["E160"]},"lateDocumentDeduction":{"description":"Deduction taken when required documents are presented later than agreed."},"latePaymentCharge":{"description":"Charge applied when payment is made after the due date.","orderful_x12_codes":["E280"]},"lateShipmentDiscount":{"description":"Discount taken when the goods shipped later than the agreed date."},"networkAllowance":{"description":"Allowance granted for distributing the goods through the buyer's own network of locations.","orderful_x12_notes":["This concept is also sent by some partners under a code whose standard meaning differs. Where that happens the code-to-value routing belongs in the guideline parameters, not here."]},"newDistributionAllowance":{"description":"Allowance supporting the introduction of the goods into a new distribution channel.","orderful_x12_codes":["E720"]},"newStore":{"description":"New store allowance","orderful_x12_codes":["E740","E750"]},"newWarehouse":{"description":"Allowance supporting the initial stocking of a newly opened warehouse.","orderful_x12_codes":["E770"]},"other":{"description":"Other allowance or charge","orderful_x12_codes":["F050","499","999","I131","ZZZZ"]},"pallet":{"description":"Charge for the pallets used to ship the goods.","orderful_x12_codes":["F180"]},"pickup":{"description":"Charge for collecting the goods from the origin location.","orderful_x12_codes":["F340"]},"pickupAndDelivery":{"description":"Charge for a service that both collects the goods from the origin and delivers them to the destination.","orderful_x12_codes":["F330"]},"priceDeviation":{"description":"Adjustment reflecting an agreed departure from the standard price of the goods.","orderful_x12_codes":["F680"]},"promotionalAllowance":{"description":"Promotional allowance","orderful_x12_codes":["F800","504","47","F810","F670"]},"quantityDiscount":{"description":"Quantity discount","orderful_x12_codes":["F910"]},"quantitySurcharge":{"description":"Surcharge applied when the quantity ordered falls below the threshold that earns standard pricing.","orderful_x12_codes":["F920"]},"rebate":{"description":"Rebate","orderful_x12_codes":["F970"]},"refrigeration":{"description":"Charge for refrigerated handling or storage of the goods.","orderful_x12_codes":["G220"]},"restocking":{"description":"Restocking charge","orderful_x12_codes":["G470"]},"royalty":{"description":"Royalty owed on the goods, typically for licensed merchandise","orderful_x12_codes":["G580"]},"serviceAtPickupOrDelivery":{"description":"Service charge at pickup or delivery","orderful_x12_codes":["E380","54","518"]},"shipping":{"description":"Shipping charge","orderful_x12_codes":["G821"]},"shippingAndHandling":{"description":"Shipping and handling charge","orderful_x12_codes":["G830"]},"specialAllowance":{"description":"Allowance agreed for a specific circumstance outside the standard terms.","orderful_x12_codes":["H000"]},"specialBuy":{"description":"Allowance for a one-off purchase made on specially negotiated terms.","orderful_x12_codes":["H010"]},"splitDelivery":{"description":"Charge for delivering a single order to more than one destination or across more than one drop.","orderful_x12_codes":["H230"]},"swell":{"description":"Swell allowance","orderful_x12_codes":["H560","95"]},"tax":{"description":"Tax charge (general, local, or city sales tax applied as a line-item allowance/charge)","orderful_x12_codes":["H850","H730","H630"]},"temperatureProtection":{"description":"Charge for keeping the goods within a required temperature range while in transit.","orderful_x12_codes":["H910"]},"ticketing":{"description":"Charge for applying price tickets to the goods before delivery."},"tobaccoProductsReportCharge":{"description":"Charge for the reporting required on shipments of tobacco products.","orderful_x12_codes":["I070"]},"truckloadDiscount":{"description":"Discount for ordering a quantity that fills a full truckload.","orderful_x12_codes":["I310"]},"unloading":{"description":"Charge for unloading the goods at the delivery location.","orderful_x12_codes":["I390"]},"unsaleableMerchandiseAllowance":{"description":"Unsaleable merchandise allowance","orderful_x12_codes":["I410"]},"valueAddedTax":{"description":"Value added tax charged on the goods. Distinct from a general sales tax: a registered buyer can normally reclaim it as input tax.","orderful_x12_codes":["H800"]},"volume":{"description":"Volume allowance or discount","orderful_x12_codes":["I530"]},"warehouse":{"description":"Warehouse charge or allowance","orderful_x12_codes":["I570","511"]},"duty":{"description":"Import duty charge — the customs duty payable on the goods, expressed as a percentage of value or as a per-unit amount","orderful_x12_codes":["B872","C530"]}}},"amount":{"description":"Fixed amount of allowance or charge","type":"string"},"percent":{"description":"Percentage of allowance or charge","type":"string"},"percentBasis":{"type":"string","enum":["basePrice","basePricePerUnit","discountGross"],"description":"Basis for calculating percentage","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier"],"orderful_enum_meta":{"basePrice":{"description":"The percentage applies to the total base price amount","orderful_x12_codes":["6"]},"basePricePerUnit":{"description":"The percentage applies to the base price of a single unit","orderful_x12_codes":["5"]},"discountGross":{"description":"The percentage is a discount applied to the gross amount","orderful_x12_codes":["3"]}}},"rate":{"description":"Rate per unit at which the allowance or charge is calculated","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate"],"type":"string"},"quantity":{"description":"Quantity of goods the allowance or charge applies to","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"methodOfHandling":{"type":"string","enum":["collect","paidByVendor","paidByCustomer","prepaid","billBack","offInvoice","creditCustomerAccount"],"description":"How the charge is handled","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeMethodOfHandlingCode"],"orderful_enum_meta":{"collect":{"description":"Collect from recipient","orderful_x12_codes":["CC"]},"paidByVendor":{"description":"The allowance or charge is paid by the vendor.","orderful_x12_codes":["03","05"]},"paidByCustomer":{"description":"Paid by customer","orderful_x12_codes":["06"]},"prepaid":{"description":"Prepaid by shipper","orderful_x12_codes":["PP"]},"billBack":{"description":"The allowance or charge is settled separately (as a debit/credit memo or a separate invoice) and is NOT reflected in the invoice total.","orderful_x12_codes":["01"]},"offInvoice":{"description":"The allowance or charge is deducted on the invoice and IS reflected in the invoice total.","orderful_x12_codes":["02"]},"creditCustomerAccount":{"description":"The allowance or charge is applied as a credit to the customer's account; not reflected in the invoice total.","orderful_x12_codes":["04"]}}},"description":{"description":"Description of the allowance or charge","type":"string"}},"required":["type"],"additionalProperties":false}},"charges":{"description":"Additional charges for this line item","orderful_x12_path":["810:IT1_loop.*.SAC_loop.* | allowanceOrChargeIndicatorCode=C","880:G17_loop.*.G72_loop.*"],"orderful_x12_codes":["C"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.allowanceOrCharge_group.* | allowanceOrChargeCodeQualifier=C"],"orderful_edifact_codes":["C"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.allowanceOrCharge_group.*.allowanceOrCharge.allowanceOrChargeCodeQualifier"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["advertising","centralBuy","competitiveAllowance","cooperativeAdvertising","customsBrokerFee","customsEntry","claim","commission","damagedMerchandiseAllowance","defectiveAllowance","coreCharge","deposit","discount","displayAllowance","earlyBuyAllowance","forwardingCharge","freeGoods","freight","fuelSurcharge","handling","hangerService","iceCharge","inboundFreight","inlandTransportation","labelAllowance","lateDocumentDeduction","latePaymentCharge","lateShipmentDiscount","networkAllowance","newDistributionAllowance","newStore","newWarehouse","other","pallet","pickup","pickupAndDelivery","priceDeviation","promotionalAllowance","quantityDiscount","quantitySurcharge","rebate","refrigeration","restocking","royalty","serviceAtPickupOrDelivery","shipping","shippingAndHandling","specialAllowance","specialBuy","splitDelivery","swell","tax","temperatureProtection","ticketing","tobaccoProductsReportCharge","truckloadDiscount","unloading","unsaleableMerchandiseAllowance","valueAddedTax","volume","warehouse","duty"],"description":"Type of allowance or charge","orderful_x12_path":["810:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","810:IT1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeCode"],"orderful_enum_meta":{"advertising":{"description":"Advertising allowance or charge","orderful_x12_codes":["A260"]},"centralBuy":{"description":"Allowance for goods bought centrally by the buyer's head office on behalf of its individual locations.","orderful_x12_codes":["B000"]},"competitiveAllowance":{"description":"Allowance granted to help the buyer meet a competitor's price on the goods.","orderful_x12_codes":["B320"]},"cooperativeAdvertising":{"description":"Allowance funding advertising of the goods where the cost is shared between buyer and seller.","orderful_x12_codes":["B720"]},"customsBrokerFee":{"description":"Fee charged by a customs broker for clearing the goods through customs.","orderful_x12_codes":["B860"]},"customsEntry":{"description":"Charge for preparing and filing the customs entry declaration for the goods.","orderful_x12_codes":["B880"]},"claim":{"description":"Deduction taken against the invoice to settle a claim."},"commission":{"description":"Commission amount owed on the goods","orderful_x12_codes":["B310"]},"damagedMerchandiseAllowance":{"description":"Allowance for merchandise damaged in transit or handling, as distinct from merchandise defective on manufacture","orderful_x12_codes":["B950"]},"defectiveAllowance":{"description":"Defective merchandise allowance","orderful_x12_codes":["C000"]},"coreCharge":{"description":"Core charge — a refundable surcharge for the remanufacturable core of an auto part, refunded upon return of the old core","orderful_x12_codes":["B750"]},"deposit":{"description":"Deposit charge (e.g., container or bottle deposit)","orderful_x12_codes":["C110"]},"discount":{"description":"General discount","orderful_x12_codes":["C310"]},"displayAllowance":{"description":"Allowance funding in-store display of the goods.","orderful_x12_codes":["C320"]},"earlyBuyAllowance":{"description":"Allowance for committing to an order ahead of the normal buying period.","orderful_x12_codes":["C540"]},"forwardingCharge":{"description":"Charge by a freight forwarder for arranging onward transport of the goods.","orderful_x12_codes":["D140"]},"freeGoods":{"description":"Allowance covering goods supplied at no charge, such as samples or promotional stock.","orderful_x12_codes":["D170"]},"freight":{"description":"Freight charge","orderful_x12_codes":["D240","53","C040"]},"fuelSurcharge":{"description":"Surcharge reflecting the cost of fuel used to transport the goods.","orderful_x12_codes":["D270"]},"handling":{"description":"Handling charge","orderful_x12_codes":["D500","61","503"]},"hangerService":{"description":"Charge for supplying the goods on hangers rather than flat-packed."},"iceCharge":{"description":"Charge for ice, including dry ice, supplied to keep the goods chilled in transit.","orderful_x12_codes":["C510"]},"inboundFreight":{"description":"Freight charge for transporting the goods into the buyer's receiving location.","orderful_x12_codes":["D750"]},"inlandTransportation":{"description":"Charge for overland transport between a port or terminal and an inland location.","orderful_x12_codes":["D800"]},"labelAllowance":{"description":"Allowance covering the cost of applying labels to the goods.","orderful_x12_codes":["E160"]},"lateDocumentDeduction":{"description":"Deduction taken when required documents are presented later than agreed."},"latePaymentCharge":{"description":"Charge applied when payment is made after the due date.","orderful_x12_codes":["E280"]},"lateShipmentDiscount":{"description":"Discount taken when the goods shipped later than the agreed date."},"networkAllowance":{"description":"Allowance granted for distributing the goods through the buyer's own network of locations.","orderful_x12_notes":["This concept is also sent by some partners under a code whose standard meaning differs. Where that happens the code-to-value routing belongs in the guideline parameters, not here."]},"newDistributionAllowance":{"description":"Allowance supporting the introduction of the goods into a new distribution channel.","orderful_x12_codes":["E720"]},"newStore":{"description":"New store allowance","orderful_x12_codes":["E740","E750"]},"newWarehouse":{"description":"Allowance supporting the initial stocking of a newly opened warehouse.","orderful_x12_codes":["E770"]},"other":{"description":"Other allowance or charge","orderful_x12_codes":["F050","499","999","I131","ZZZZ"]},"pallet":{"description":"Charge for the pallets used to ship the goods.","orderful_x12_codes":["F180"]},"pickup":{"description":"Charge for collecting the goods from the origin location.","orderful_x12_codes":["F340"]},"pickupAndDelivery":{"description":"Charge for a service that both collects the goods from the origin and delivers them to the destination.","orderful_x12_codes":["F330"]},"priceDeviation":{"description":"Adjustment reflecting an agreed departure from the standard price of the goods.","orderful_x12_codes":["F680"]},"promotionalAllowance":{"description":"Promotional allowance","orderful_x12_codes":["F800","504","47","F810","F670"]},"quantityDiscount":{"description":"Quantity discount","orderful_x12_codes":["F910"]},"quantitySurcharge":{"description":"Surcharge applied when the quantity ordered falls below the threshold that earns standard pricing.","orderful_x12_codes":["F920"]},"rebate":{"description":"Rebate","orderful_x12_codes":["F970"]},"refrigeration":{"description":"Charge for refrigerated handling or storage of the goods.","orderful_x12_codes":["G220"]},"restocking":{"description":"Restocking charge","orderful_x12_codes":["G470"]},"royalty":{"description":"Royalty owed on the goods, typically for licensed merchandise","orderful_x12_codes":["G580"]},"serviceAtPickupOrDelivery":{"description":"Service charge at pickup or delivery","orderful_x12_codes":["E380","54","518"]},"shipping":{"description":"Shipping charge","orderful_x12_codes":["G821"]},"shippingAndHandling":{"description":"Shipping and handling charge","orderful_x12_codes":["G830"]},"specialAllowance":{"description":"Allowance agreed for a specific circumstance outside the standard terms.","orderful_x12_codes":["H000"]},"specialBuy":{"description":"Allowance for a one-off purchase made on specially negotiated terms.","orderful_x12_codes":["H010"]},"splitDelivery":{"description":"Charge for delivering a single order to more than one destination or across more than one drop.","orderful_x12_codes":["H230"]},"swell":{"description":"Swell allowance","orderful_x12_codes":["H560","95"]},"tax":{"description":"Tax charge (general, local, or city sales tax applied as a line-item allowance/charge)","orderful_x12_codes":["H850","H730","H630"]},"temperatureProtection":{"description":"Charge for keeping the goods within a required temperature range while in transit.","orderful_x12_codes":["H910"]},"ticketing":{"description":"Charge for applying price tickets to the goods before delivery."},"tobaccoProductsReportCharge":{"description":"Charge for the reporting required on shipments of tobacco products.","orderful_x12_codes":["I070"]},"truckloadDiscount":{"description":"Discount for ordering a quantity that fills a full truckload.","orderful_x12_codes":["I310"]},"unloading":{"description":"Charge for unloading the goods at the delivery location.","orderful_x12_codes":["I390"]},"unsaleableMerchandiseAllowance":{"description":"Unsaleable merchandise allowance","orderful_x12_codes":["I410"]},"valueAddedTax":{"description":"Value added tax charged on the goods. Distinct from a general sales tax: a registered buyer can normally reclaim it as input tax.","orderful_x12_codes":["H800"]},"volume":{"description":"Volume allowance or discount","orderful_x12_codes":["I530"]},"warehouse":{"description":"Warehouse charge or allowance","orderful_x12_codes":["I570","511"]},"duty":{"description":"Import duty charge — the customs duty payable on the goods, expressed as a percentage of value or as a per-unit amount","orderful_x12_codes":["B872","C530"]}}},"amount":{"description":"Fixed amount of allowance or charge","type":"string"},"percent":{"description":"Percentage of allowance or charge","type":"string"},"percentBasis":{"type":"string","enum":["basePrice","basePricePerUnit","discountGross"],"description":"Basis for calculating percentage","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier"],"orderful_enum_meta":{"basePrice":{"description":"The percentage applies to the total base price amount","orderful_x12_codes":["6"]},"basePricePerUnit":{"description":"The percentage applies to the base price of a single unit","orderful_x12_codes":["5"]},"discountGross":{"description":"The percentage is a discount applied to the gross amount","orderful_x12_codes":["3"]}}},"rate":{"description":"Rate per unit at which the allowance or charge is calculated","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate"],"type":"string"},"quantity":{"description":"Quantity of goods the allowance or charge applies to","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"methodOfHandling":{"type":"string","enum":["collect","paidByVendor","paidByCustomer","prepaid","billBack","offInvoice","creditCustomerAccount"],"description":"How the charge is handled","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeMethodOfHandlingCode"],"orderful_enum_meta":{"collect":{"description":"Collect from recipient","orderful_x12_codes":["CC"]},"paidByVendor":{"description":"The allowance or charge is paid by the vendor.","orderful_x12_codes":["03","05"]},"paidByCustomer":{"description":"Paid by customer","orderful_x12_codes":["06"]},"prepaid":{"description":"Prepaid by shipper","orderful_x12_codes":["PP"]},"billBack":{"description":"The allowance or charge is settled separately (as a debit/credit memo or a separate invoice) and is NOT reflected in the invoice total.","orderful_x12_codes":["01"]},"offInvoice":{"description":"The allowance or charge is deducted on the invoice and IS reflected in the invoice total.","orderful_x12_codes":["02"]},"creditCustomerAccount":{"description":"The allowance or charge is applied as a credit to the customer's account; not reflected in the invoice total.","orderful_x12_codes":["04"]}}},"description":{"description":"Description of the allowance or charge","type":"string"}},"required":["type"],"additionalProperties":false}},"carrierDetails":{"description":"Carrier and shipping details for this line item","orderful_x12_path":["810:IT1_loop.*.carrierDetails"],"type":"object","properties":{"routing":{"description":"Carrier routing information","orderful_x12_path":["810:IT1_loop.*.carrierDetails"],"type":"array","items":{"type":"object","properties":{"sequenceType":{"type":"string","enum":["origin","1stAfterOrigin","4thAfterOrigin","haulage"],"description":"Sequence in the routing chain","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.routingSequenceCode"],"orderful_enum_meta":{"origin":{"description":"Origin carrier","orderful_x12_codes":["O","B"]},"1stAfterOrigin":{"description":"1st carrier after origin carrier","orderful_x12_codes":["1"]},"4thAfterOrigin":{"description":"4th carrier after origin carrier","orderful_x12_codes":["4"]},"haulage":{"description":"Haulage rights carrier and junction","orderful_x12_codes":["H"]}}},"standardCarrierAlphaCode":{"description":"SCAC code identifying the carrier","type":"string"},"customCarrierCode":{"description":"Custom carrier identifier","type":"string"},"transportationMethod":{"type":"string","enum":["air","airExpress","airFreightForward","backhaul","bestWay","commonCarrier","consolidation","customerPickup","expeditedTruck","lessThanTrailerLoad","mail","ocean","oceanContainerized","parcelPost","privateCarrier","rail","shipperAgent","supplierTruck","trailer","mutuallyDefined"],"description":"Method of transportation. EDIFACT: prefer C001.8179 (transportMeansDescriptionCode) — its means/vessel-level codes match this enum directly. Fall back to C220.8067 (transportModeNameCode) ONLY when 8179 is absent; 8067 carries broad-mode codes only (1=Maritime, 2=Rail, 3=Road, 4=Air, 5=Mail, 6=Multimodal, 7=Fixed installation, 8=Inland water) which map loosely: 1→ocean, 2→rail, 3→supplierTruck, 4→air. Granular enum values (airExpress, oceanContainerized, trailer, etc.) cannot be recovered from 8067 — emit a SCHEMA GAP if neither path carries the partner value.","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transportationMethodTypeCode"],"orderful_edifact_paths":["ORDERS:transportInformation_group.*.transportInformation.transportMeans_composite.transportMeansDescriptionCode"],"orderful_edifact_metadata_paths":["ORDERS:transportInformation_group.*.transportInformation.modeOfTransport_composite.transportModeNameCode"],"orderful_enum_meta":{"air":{"description":"Air freight","orderful_x12_codes":["A"],"orderful_edifact_codes":["6"]},"airExpress":{"description":"Air express service","orderful_x12_codes":["AE"]},"airFreightForward":{"description":"Air freight forwarder","orderful_x12_codes":["AF"]},"backhaul":{"description":"Backhaul shipment","orderful_x12_codes":["K"]},"bestWay":{"description":"Best way (carrier discretion)","orderful_x12_codes":["T"]},"commonCarrier":{"description":"Common carrier","orderful_x12_codes":["M","MP"]},"consolidation":{"description":"Consolidation service","orderful_x12_codes":["C"]},"customerPickup":{"description":"Customer pickup","orderful_x12_codes":["H","CE"]},"expeditedTruck":{"description":"Expedited truck","orderful_x12_codes":["E"]},"lessThanTrailerLoad":{"description":"Less than trailer load (LTL)","orderful_x12_codes":["LT"]},"mail":{"description":"Mail service","orderful_x12_codes":["7"]},"ocean":{"description":"Ocean freight","orderful_x12_codes":["S"],"orderful_edifact_codes":["11","13"]},"oceanContainerized":{"description":"Containerized ocean freight","orderful_x12_codes":["O"],"orderful_edifact_codes":["11"]},"parcelPost":{"description":"Parcel post","orderful_x12_codes":["D"]},"privateCarrier":{"description":"Private carrier","orderful_x12_codes":["U","P"]},"rail":{"description":"Rail freight","orderful_x12_codes":["R"],"orderful_edifact_codes":["25"]},"shipperAgent":{"description":"Shipper agent","orderful_x12_codes":["SC"]},"supplierTruck":{"description":"Supplier truck delivery","orderful_x12_codes":["SR"],"orderful_edifact_codes":["31"]},"trailer":{"description":"Trailer load (TL)","orderful_x12_codes":["TL"],"orderful_edifact_codes":["35"]},"mutuallyDefined":{"description":"Transportation method mutually defined","orderful_x12_codes":["ZZ"]}}},"locationType":{"type":"string","enum":["inStore","receiversLocation","allPoints","portOfArrival","portOfEmbarkation","origin","mutuallyDefined"],"description":"Type of routing location","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.locationQualifier"],"orderful_enum_meta":{"inStore":{"description":"In-store location","orderful_x12_codes":["IS"]},"receiversLocation":{"description":"Receiver's location","orderful_x12_codes":["94"]},"allPoints":{"description":"All points in routing","orderful_x12_codes":["AP"]},"portOfArrival":{"description":"Port of arrival","orderful_x12_codes":["PA"]},"portOfEmbarkation":{"description":"Port of embarkation","orderful_x12_codes":["KE"]},"origin":{"description":"Origin location","orderful_x12_codes":["OR"]},"mutuallyDefined":{"description":"Location mutually defined","orderful_x12_codes":["ZZ"]}}},"location":{"description":"Routing location identifier or name","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.locationIdentifier"],"type":"string"},"countryCode":{"description":"ISO country code of the routing location","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.countryCode"],"type":"string"},"description":{"description":"Description of routing details","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.routing"],"type":"string"},"serviceLevel":{"type":"string","enum":["deliveryConfirmation","doorService","economy","eveningService","expedited","firstClass","ground","groundHundredWeight","international","metro","morning","nextDayAir","nextDayHundredWeight","nextDayEvening","nextDayMorning1030","nextDayMorning930","nextDaySaturday","overnight","poBoxZipCode","priorityMail","priorityMailInsured","proofOfDelivery","sameDay","saturdayService","secondDay","secondDayHundredWeight","secondDayAir","secondDaySaturday","standard","standardGround","threeDay"],"description":"Service level for shipping","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode1","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode2"],"orderful_enum_meta":{"deliveryConfirmation":{"description":"Delivery confirmation required","orderful_x12_codes":["DC"]},"doorService":{"description":"Door-to-door service","orderful_x12_codes":["DS"]},"economy":{"description":"Economy service","orderful_x12_codes":["LT"]},"eveningService":{"description":"Evening delivery service","orderful_x12_codes":["PM"]},"expedited":{"description":"Expedited service","orderful_x12_codes":["CX","IE","IX"]},"firstClass":{"description":"First class mail service","orderful_x12_codes":["FC"]},"ground":{"description":"Ground shipping service","orderful_x12_codes":["CG"]},"groundHundredWeight":{"description":"Ground hundred-weight service","orderful_x12_codes":["SI"]},"international":{"description":"International service","orderful_x12_codes":["IS"]},"metro":{"description":"Metro area delivery service","orderful_x12_codes":["ME"]},"morning":{"description":"Morning delivery service","orderful_x12_codes":["AM"]},"nextDayAir":{"description":"Next day air service","orderful_x12_codes":["ND"]},"nextDayHundredWeight":{"description":"Next day hundred-weight service","orderful_x12_codes":["NH"]},"nextDayEvening":{"description":"Next day evening delivery","orderful_x12_codes":["PR"]},"nextDayMorning1030":{"description":"Next day morning by 10:30 AM","orderful_x12_codes":["PA"]},"nextDayMorning930":{"description":"Next day morning by 9:30 AM","orderful_x12_codes":["PC"]},"nextDaySaturday":{"description":"Next day Saturday delivery service","orderful_x12_codes":["NS"],"orderful_x12_notes":["NS is a Target-specific qualifier — not a standard X12 service level code"]},"overnight":{"description":"Overnight delivery service","orderful_x12_codes":["ON"]},"poBoxZipCode":{"description":"P.O. Box or ZIP code delivery","orderful_x12_codes":["PO"]},"priorityMail":{"description":"Priority mail service","orderful_x12_codes":["PB"]},"priorityMailInsured":{"description":"Priority mail insured service","orderful_x12_codes":["PI"]},"proofOfDelivery":{"description":"Proof of delivery required","orderful_x12_codes":["ET"]},"sameDay":{"description":"Same day delivery service","orderful_x12_codes":["SA"]},"saturdayService":{"description":"Saturday delivery service","orderful_x12_codes":["SD"]},"secondDay":{"description":"Second day delivery service","orderful_x12_codes":["SE"]},"secondDayHundredWeight":{"description":"Second day hundred-weight service","orderful_x12_codes":["SH"]},"secondDayAir":{"description":"Second day air service","orderful_x12_codes":["SC"]},"secondDaySaturday":{"description":"Second day Saturday delivery service","orderful_x12_codes":["SS"],"orderful_x12_notes":["SS is a Target-invented qualifier — not a standard X12 service level code"]},"standard":{"description":"Standard delivery service","orderful_x12_codes":["ST","G2"]},"standardGround":{"description":"Standard ground service","orderful_x12_codes":["SG"]},"threeDay":{"description":"Three day delivery service","orderful_x12_codes":["3D"]}}},"orderStatus":{"type":"string","enum":["shipCompleteOnDate","complete","partialShipment","shipPartialBackorderToShipOnDate","partialShipOnDate","shipped","backordered","mutuallyDefined","availableScheduledToShip","availableNoShipSchedule","multiPickup","availableToShipUnBilledQuantity","stopOff"],"description":"Order shipping status","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.shipmentOrderStatusCode"],"orderful_enum_meta":{"shipCompleteOnDate":{"description":"Ship complete on specified date","orderful_x12_codes":["CC"]},"complete":{"description":"Order complete","orderful_x12_codes":["CL"]},"partialShipment":{"description":"Partial shipment allowed","orderful_x12_codes":["PR"]},"shipPartialBackorderToShipOnDate":{"description":"Ship partial, backorder remainder to ship on date","orderful_x12_codes":["BP"]},"partialShipOnDate":{"description":"Ship partial on specified date","orderful_x12_codes":["CP"]},"shipped":{"description":"Order shipped","orderful_x12_codes":["SH"]},"backordered":{"description":"Order backordered","orderful_x12_codes":["BK"]},"mutuallyDefined":{"description":"Status mutually defined","orderful_x12_codes":["ZZ"]},"availableScheduledToShip":{"description":"Available and scheduled to ship","orderful_x12_codes":["AS"]},"availableNoShipSchedule":{"description":"Available but no ship schedule","orderful_x12_codes":["AN"]},"multiPickup":{"description":"Multiple pickup","orderful_x12_codes":["AA"]},"availableToShipUnBilledQuantity":{"description":"Available to ship unbilled quantity","orderful_x12_codes":["AU"]},"stopOff":{"description":"Stop-off shipment","orderful_x12_codes":["ST"]}}},"transitDirectionType":{"type":"string","enum":["buyerToSeller","sellerToBuyer","subcontractorToSeller","sellerToDropShipLocation","sellToForwarder","sellerToSubcontractor","mutuallyDefined"],"description":"Direction of transit","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transitDirectionCode"],"orderful_enum_meta":{"buyerToSeller":{"description":"Transit from buyer to seller","orderful_x12_codes":["BS"]},"sellerToBuyer":{"description":"Transit from seller to buyer","orderful_x12_codes":["SB"]},"subcontractorToSeller":{"description":"Transit from subcontractor to seller","orderful_x12_codes":["SC"]},"sellerToDropShipLocation":{"description":"Transit from seller to drop ship location","orderful_x12_codes":["SD"]},"sellToForwarder":{"description":"Transit from seller to forwarder","orderful_x12_codes":["SF"]},"sellerToSubcontractor":{"description":"Transit from seller to subcontractor","orderful_x12_codes":["SS"]},"mutuallyDefined":{"description":"Transit direction mutually defined","orderful_x12_codes":["ZZ"]}}},"transitTimeType":{"type":"string","enum":["calendarDays","hours","workingDays"],"description":"Unit for transit time","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transitTimeDirectionQualifier"],"orderful_enum_meta":{"calendarDays":{"description":"Calendar days (includes weekends and holidays)","orderful_x12_codes":["CD"]},"hours":{"description":"Hours","orderful_x12_codes":["HO"]},"workingDays":{"description":"Working days (excludes weekends and holidays)","orderful_x12_codes":["WD"]}}},"transitTime":{"description":"Expected transit time value","type":"string"}},"additionalProperties":false}}},"additionalProperties":false},"sublineItems":{"description":"Subline items for component or kit details","orderful_x12_path":["810:IT1_loop.*.SLN_loop"],"type":"array","items":{"type":"object","properties":{"sublineId":{"description":"Subline item identifier","type":"string"},"quantity":{"description":"Quantity for the subline item","type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"unitCostPrice":{"description":"Unit cost price for the subline item","type":"string"},"unitPriceBasis":{"description":"Basis for the unit price","type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","retail","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"retail":{"description":"Actual retail price the item sells at to the end consumer, as distinct from a manufacturer-suggested price","orderful_x12_codes":["RT","RE"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"additionalPricing":{"description":"Additional pricing for this component, such as a component-level retail price when the components of a kit or prepack are priced individually","orderful_x12_path":["850:PO1_loop.*.SLN_loop.*.pricingInformation","860:POC_loop.*.SLN_loop.*.pricingInformation"],"type":"array","items":{"type":"object","properties":{"priceType":{"type":"string","enum":["discountAllowed","highValuePrice","listCost","orderUnitPrice","retail","promotional","purchase"],"description":"Type of price","orderful_x12_path":["850:PO1_loop.*.CTP_loop.*.pricingInformation.*.priceIdentifierCode","860:POC_loop.*.pricingInformation.*.priceIdentifierCode"],"orderful_enum_meta":{"discountAllowed":{"description":"Discount allowed from list price","orderful_x12_codes":["DSC"]},"highValuePrice":{"description":"High value price","orderful_x12_codes":["GB"]},"listCost":{"description":"List or standard cost — the undiscounted price before allowances or discounts are applied","orderful_x12_codes":["LPR","SLP","STA"]},"orderUnitPrice":{"description":"Unit price originally requested on the purchase order, before the change was requested","orderful_x12_codes":["OPP"]},"retail":{"description":"Retail price","orderful_x12_codes":["RTL","RES"]},"promotional":{"description":"Promotional price","orderful_x12_codes":["PRP"]},"purchase":{"description":"Purchase price","orderful_x12_codes":["PUR"]}}},"unitPrice":{"description":"Unit price value","type":"string"},"unitPriceBasis":{"description":"Basis for the unit price","type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","retail","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"retail":{"description":"Actual retail price the item sells at to the end consumer, as distinct from a manufacturer-suggested price","orderful_x12_codes":["RT","RE"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"quantityPerUnitPrice":{"description":"Quantity per unit price","type":"string"},"discountMultiplier":{"description":"Discount multiplier factor applied to the unit price to derive the net cost (e.g., 0.57 means a 43% discount). The actual discount percent is 1 minus this value.","orderful_x12_path":["850:PO1_loop.*.CTP_loop.*.pricingInformation.*.multiplier5"],"orderful_x12_notes":["CTP06 priceMultiplierQualifier (DIS = Discount Multiplier) is routing metadata that identifies this value as a discount multiplier; it is dropped and not surfaced as its own field."],"type":"string"}},"additionalProperties":false}},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"priceLookupNumber":{"description":"Price Look-Up (PLU) code used at point of sale, typically for loose or variable-weight retail goods","orderful_x12_codes":["P8"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identifiers for the subline item","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."]},"productAttributes":{"description":"Product attributes for the subline item","type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","850:PO1_loop.*.N9_loop.*.extendedReferenceInformation.*.freeFormDescription | referenceIdentificationQualifier=JH","860:POC_loop.*.SLN_loop.*.N9_loop.*.extendedReferenceInformation.*.freeFormDescription | referenceIdentificationQualifier=JH"],"orderful_x12_codes":["2N","BL","BRN","JH"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN","N9 Label Code (N901=JH): the brand name is the free-form N903 (e.g. \"Roundtree & Yorke\"); N902 carries the short label code."],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"orderful_x12_path":["943:W04_loop.*.lineItemDetail1.*.color"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"prepackType":{"description":"Prepack assortment or configuration type","orderful_x12_codes":["JP"],"type":"string"},"widthClassification":{"description":"Width classification for the product, such as a footwear width (e.g. \"M\", \"W\", \"N\"). Not a measurement — see width for the physical dimension.","type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"specifications":{"description":"Buyer-defined product specifications carried as name/value pairs — the customization detail accompanying made-to-order or special-order items. Only for characteristics that have no named field on this schema; colour, size, material and the physical dimensions each have their own field.","orderful_x12_codes":["84"],"orderful_x12_notes":["PID02=84 (Special Specification) is the declared source. Other buyer-defined characteristic qualifiers carrying product customization detail route here too; those are per-guideline and belong in the guideline parameters, not in this code list."],"type":"array","items":{"type":"object","properties":{"type":{"description":"Name of the product characteristic being specified, as defined by the buyer’s specification (e.g. flex, loft, length, hand)","orderful_x12_path":["850:PO1_loop.*.PID_loop.*.productItemDescription.*.productDescriptionCode | productProcessCharacteristicCode=84","860:POC_loop.*.PID_loop.*.productItemDescription.*.productDescriptionCode | productProcessCharacteristicCode=84"],"type":"string"},"value":{"description":"Value supplied for that characteristic","orderful_x12_path":["850:PO1_loop.*.PID_loop.*.productItemDescription.*.description | productProcessCharacteristicCode=84","860:POC_loop.*.PID_loop.*.productItemDescription.*.description | productProcessCharacteristicCode=84"],"type":"string"}},"additionalProperties":false}},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"vehicleFitment":{"description":"The vehicle the ordered part is an application for (automotive fitment)","orderful_x12_notes":["VIN arrives under the standard qualifiers VT (REF01) or VV (product/service ID). No standard qualifier carries vehicle make or model, so a partner sending those redefines a qualifier privately and that binding is declared in the guideline rather than here."],"type":"object","properties":{"vin":{"description":"Vehicle Identification Number (VIN) of the specific vehicle the part fits","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=VT","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=VV","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=VT","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=VV"],"orderful_x12_codes":["VT","VV"],"type":"string"},"make":{"description":"Vehicle manufacturer / make the part is an application for (e.g., Honda, Toyota)","type":"string"},"model":{"description":"Vehicle model the part is an application for (e.g., Civic, Camry)","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the subline item","orderful_x12_path":["HL_loop.*.sublineItemDetail.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"}},"required":["productIds"],"additionalProperties":false}},"additionalQuantities":{"description":"Additional quantity details beyond the invoiced quantity, such as shipped, backordered, canceled, or substituted quantities","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=12,120,83,94,121,182"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: each additionalQuantities subfield maps to a line QTY occurrence by qualifier (6063), disjoint from quantityInvoiced (47). unavailable (X12 OR/DS/UN) has no EDIFACT 6063 equivalent and stays X12-only."],"type":"object","properties":{"shipped":{"description":"Quantity shipped for this line item","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["SJ"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=12"],"orderful_edifact_codes":["12"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: QTY 6063=12 (Despatch quantity)."],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"partialShipment":{"description":"Quantity partially shipped, including prior shipments, split shipments, or scheduled shipments","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["PR","CP","BP","SS","PT","PL","ST"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=120"],"orderful_edifact_codes":["120"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: QTY 6063=120 (Split shipment)."],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"backOrdered":{"description":"Quantity on backorder that will be fulfilled in a future shipment","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["BO","BK","BM"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=83"],"orderful_edifact_codes":["83"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: QTY 6063=83 (Backorder quantity)."],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"unavailable":{"description":"Quantity unavailable due to being out of stock, discontinued, or otherwise not available","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["OR","DS","UN"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"canceled":{"description":"Quantity canceled by the buyer or seller, including items deleted or discontinued from the order","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["IC","CU","CK","DE"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=182"],"orderful_edifact_codes":["182"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: QTY 6063=182 (Cancelled quantity). Not present in 1921/D93A."],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"substitution":{"description":"Quantity substituted with an alternate product","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["IS"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=94"],"orderful_edifact_codes":["94"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: QTY 6063=94 (Substitutional quantity)."],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"overShipment":{"description":"Quantity shipped in excess of the ordered quantity","orderful_x12_path":["810:IT1_loop.*.additionalItemData","880:G17_loop.*.lineItemDetail1"],"orderful_x12_codes":["CM"],"orderful_edifact_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=121"],"orderful_edifact_codes":["121"],"orderful_edifact_metadata_paths":["INVOIC:lineItem_group.*.quantity.*.quantityDetails_composite.quantityTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: QTY 6063=121 (Over shipped)."],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false}},"additionalProperties":false}},"required":["quantityInvoiced","unitPrice","productIds"],"additionalProperties":false},"description":"Line items included in the invoice","orderful_x12_path":["810:IT1_loop","880:G17_loop"],"orderful_edifact_paths":["INVOIC:lineItem_group.*"],"orderful_x12_derives":[{"targetPath":"810:transactionTotals.*.numberOfLineItems","rule":"$count(lineItems) — number of IT1 segments emitted."},{"targetPath":"810:transactionTotals.*.hashTotal","rule":"$ediHashTotal(lineItems.quantityInvoiced.value, $maxLength) — never $sum (X12 hash totals are digit-only sums ignoring decimal points and signs, not arithmetic sums)."}]},"invoiceTotal":{"description":"Total amount of the invoice","orderful_x12_path":["810:totalMonetaryValueSummary.*.amount","880:totalDollarsSummary.*.amount"],"orderful_x12_derives":[{"targetPath":"810:totalMonetaryValueSummary.*.amount2","rule":"TDS03 (amount due if paid by terms-discount due date) = invoiceTotal - invoiceTermsDiscount, only when invoiceTermsDiscount is supplied; otherwise leave undefined (TDS03 is optional)."}],"orderful_edifact_paths":["INVOIC:summary_group.monetaryAmount_group.*.monetaryAmount.monetaryAmount_composite | monetaryAmountTypeCodeQualifier=9,77"],"orderful_edifact_codes":["9","77"],"orderful_edifact_metadata_paths":["INVOIC:summary_group.monetaryAmount_group.*.monetaryAmount.monetaryAmount_composite.monetaryAmountTypeCodeQualifier"],"orderful_edifact_notes":["INVOIC: summary MOA 5025=9 (Amount due/amount payable) is preferred; 77 (Invoice amount) is the fallback. The composite’s monetaryAmount carries the value."],"type":"string"},"documentaryCredit":{"description":"Settlement of this invoice through a bank against presented documents, rather than directly by the buyer","orderful_x12_path":["810:referenceInformation","810:monetaryAmountInformation","810:dateTimeReference"],"type":"object","properties":{"letterOfCreditNumber":{"description":"Number of the letter of credit under which this invoice is settled","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=NB"],"orderful_x12_codes":["NB"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"draftNumber":{"description":"Number of the draft drawn against this invoice","orderful_x12_path":["810:referenceInformation.* | referenceIdentificationQualifier=DN"],"orderful_x12_codes":["DN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"draftAmount":{"description":"Amount of the draft drawn against this invoice. May be less than the invoice total when the drawing is reduced.","orderful_x12_path":["810:monetaryAmountInformation.* | amountQualifierCode=OD"],"orderful_x12_codes":["OD"],"type":"string"},"presentmentDate":{"description":"Date the supporting documents were presented for payment","orderful_x12_path":["810:dateTimeReference.* | dateTimeQualifier=674"],"orderful_x12_codes":["674"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"documentReceivedDate":{"description":"Date the referenced supporting document was received","orderful_x12_path":["810:dateTimeReference.* | dateTimeQualifier=810"],"orderful_x12_codes":["810"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"discrepancies":{"description":"Reasons the document presentation does not comply with the terms of the credit","orderful_x12_notes":["No default source: the reasons are carried per guideline, on whichever element that partner redefines for them, so there is no network-wide path or code set. Read the guideline."],"type":"array","items":{"type":"string","enum":["creditExpiredOrExhausted","documentNotSignedOrOriginal","customsDocumentMissing","orderNotCoveredByCredit","draftReduced","timeDraftPresented","paymentDemandMissing","testCertificateNonCompliant","latePresentation","unsupportedChargesOnInvoice","inspectionCertificateNonCompliant"],"description":"Reason the document presentation does not comply with the terms of the credit.","orderful_enum_meta":{"creditExpiredOrExhausted":{"description":"The credit has expired or its available balance is insufficient to cover the drawing."},"documentNotSignedOrOriginal":{"description":"A required document was presented unsigned, or as a copy rather than an original."},"customsDocumentMissing":{"description":"A required customs declaration or statement was not presented with the invoice."},"orderNotCoveredByCredit":{"description":"The order being invoiced is not among those the credit covers."},"draftReduced":{"description":"The drawing was reduced below the invoiced amount."},"timeDraftPresented":{"description":"A time draft was presented where the credit calls for payment at sight."},"paymentDemandMissing":{"description":"The formal demand for payment was not presented."},"testCertificateNonCompliant":{"description":"The test certificate was not presented, or does not meet the credit terms."},"latePresentation":{"description":"The documents were presented after the deadline the credit allows."},"unsupportedChargesOnInvoice":{"description":"The invoice carries charges the credit does not cover."},"inspectionCertificateNonCompliant":{"description":"The inspection certificate was not presented, or does not meet the credit terms."}}}}},"additionalProperties":false},"invoiceSalesTotal":{"description":"Sales total used to calculate terms discount amount","orderful_x12_path":["810:totalMonetaryValueSummary.*.amount1"],"orderful_edifact_paths":["INVOIC:summary_group.monetaryAmount_group.*.monetaryAmount.monetaryAmount_composite | monetaryAmountTypeCodeQualifier=79,125"],"orderful_edifact_codes":["79","125"],"orderful_edifact_metadata_paths":["INVOIC:summary_group.monetaryAmount_group.*.monetaryAmount.monetaryAmount_composite.monetaryAmountTypeCodeQualifier"],"type":"string"},"invoiceTermsDiscount":{"description":"Terms discount amount applied to the invoice","orderful_x12_path":["810:totalMonetaryValueSummary.*.amount3"],"orderful_edifact_paths":["INVOIC:summary_group.monetaryAmount_group.*.monetaryAmount.monetaryAmount_composite | monetaryAmountTypeCodeQualifier=52"],"orderful_edifact_codes":["52"],"orderful_edifact_metadata_paths":["INVOIC:summary_group.monetaryAmount_group.*.monetaryAmount.monetaryAmount_composite.monetaryAmountTypeCodeQualifier"],"type":"string"},"taxes":{"description":"Tax information for the invoice","orderful_x12_path":["810:taxInformation"],"orderful_edifact_paths":["INVOIC:dutyTaxFeeDetails_group.*","INVOIC:summary_group.dutyTaxFeeDetails_group.*"],"orderful_edifact_metadata_paths":["INVOIC:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.dutyOrTaxOrFeeTypeNameCode"],"orderful_edifact_notes":["INVOIC: the paired MOA carries the tax amount."],"type":"object","properties":{"harmonizedSalesTax":{"description":"Harmonized sales tax (HST) information","orderful_x12_path":["810:taxInformation.* | taxTypeCode=BE"],"orderful_x12_codes":["BE"],"orderful_edifact_codes":["AAG"],"orderful_edifact_notes":["INVOIC: TAX 5153=AAG (Harmonised sales tax, Canadian). Available D01B onwards."],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"goodsAndServicesTax":{"description":"Goods and services tax (GST) or value-added tax (VAT) information","orderful_x12_path":["810:taxInformation.* | taxTypeCode=GS"],"orderful_x12_codes":["GS"],"orderful_edifact_codes":["GST","VAT"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTax":{"description":"State or provincial sales tax information","orderful_x12_path":["810:taxInformation.* | taxTypeCode=SP"],"orderful_x12_codes":["SP"],"orderful_edifact_codes":["STT"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialGoodsTax":{"description":"State or provincial goods tax information","orderful_x12_path":["810:taxInformation.* | taxTypeCode=PG"],"orderful_x12_codes":["PG"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"localTax":{"description":"Local tax information","orderful_x12_path":["810:taxInformation.* | taxTypeCode=SL,LS"],"orderful_x12_codes":["SL","LS"],"orderful_edifact_codes":["LOC"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"allowances":{"description":"Allowances or discounts applied to the invoice","orderful_x12_path":["810:SAC_loop.* | allowanceOrChargeIndicatorCode=A","880:G72_loop.*"],"orderful_x12_codes":["A"],"orderful_edifact_paths":["INVOIC:allowanceOrCharge_group.* | allowanceOrChargeCodeQualifier=A"],"orderful_edifact_codes":["A"],"orderful_edifact_metadata_paths":["INVOIC:allowanceOrCharge_group.*.allowanceOrCharge.allowanceOrChargeCodeQualifier"],"orderful_edifact_notes":["INVOIC: MOA carries the amount; PCD the percentage."],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["advertising","centralBuy","competitiveAllowance","cooperativeAdvertising","customsBrokerFee","customsEntry","claim","commission","damagedMerchandiseAllowance","defectiveAllowance","coreCharge","deposit","discount","displayAllowance","earlyBuyAllowance","forwardingCharge","freeGoods","freight","fuelSurcharge","handling","hangerService","iceCharge","inboundFreight","inlandTransportation","labelAllowance","lateDocumentDeduction","latePaymentCharge","lateShipmentDiscount","networkAllowance","newDistributionAllowance","newStore","newWarehouse","other","pallet","pickup","pickupAndDelivery","priceDeviation","promotionalAllowance","quantityDiscount","quantitySurcharge","rebate","refrigeration","restocking","royalty","serviceAtPickupOrDelivery","shipping","shippingAndHandling","specialAllowance","specialBuy","splitDelivery","swell","tax","temperatureProtection","ticketing","tobaccoProductsReportCharge","truckloadDiscount","unloading","unsaleableMerchandiseAllowance","valueAddedTax","volume","warehouse","duty"],"description":"Type of allowance or charge","orderful_x12_path":["810:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","810:IT1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeCode"],"orderful_enum_meta":{"advertising":{"description":"Advertising allowance or charge","orderful_x12_codes":["A260"]},"centralBuy":{"description":"Allowance for goods bought centrally by the buyer's head office on behalf of its individual locations.","orderful_x12_codes":["B000"]},"competitiveAllowance":{"description":"Allowance granted to help the buyer meet a competitor's price on the goods.","orderful_x12_codes":["B320"]},"cooperativeAdvertising":{"description":"Allowance funding advertising of the goods where the cost is shared between buyer and seller.","orderful_x12_codes":["B720"]},"customsBrokerFee":{"description":"Fee charged by a customs broker for clearing the goods through customs.","orderful_x12_codes":["B860"]},"customsEntry":{"description":"Charge for preparing and filing the customs entry declaration for the goods.","orderful_x12_codes":["B880"]},"claim":{"description":"Deduction taken against the invoice to settle a claim."},"commission":{"description":"Commission amount owed on the goods","orderful_x12_codes":["B310"]},"damagedMerchandiseAllowance":{"description":"Allowance for merchandise damaged in transit or handling, as distinct from merchandise defective on manufacture","orderful_x12_codes":["B950"]},"defectiveAllowance":{"description":"Defective merchandise allowance","orderful_x12_codes":["C000"]},"coreCharge":{"description":"Core charge — a refundable surcharge for the remanufacturable core of an auto part, refunded upon return of the old core","orderful_x12_codes":["B750"]},"deposit":{"description":"Deposit charge (e.g., container or bottle deposit)","orderful_x12_codes":["C110"]},"discount":{"description":"General discount","orderful_x12_codes":["C310"]},"displayAllowance":{"description":"Allowance funding in-store display of the goods.","orderful_x12_codes":["C320"]},"earlyBuyAllowance":{"description":"Allowance for committing to an order ahead of the normal buying period.","orderful_x12_codes":["C540"]},"forwardingCharge":{"description":"Charge by a freight forwarder for arranging onward transport of the goods.","orderful_x12_codes":["D140"]},"freeGoods":{"description":"Allowance covering goods supplied at no charge, such as samples or promotional stock.","orderful_x12_codes":["D170"]},"freight":{"description":"Freight charge","orderful_x12_codes":["D240","53","C040"]},"fuelSurcharge":{"description":"Surcharge reflecting the cost of fuel used to transport the goods.","orderful_x12_codes":["D270"]},"handling":{"description":"Handling charge","orderful_x12_codes":["D500","61","503"]},"hangerService":{"description":"Charge for supplying the goods on hangers rather than flat-packed."},"iceCharge":{"description":"Charge for ice, including dry ice, supplied to keep the goods chilled in transit.","orderful_x12_codes":["C510"]},"inboundFreight":{"description":"Freight charge for transporting the goods into the buyer's receiving location.","orderful_x12_codes":["D750"]},"inlandTransportation":{"description":"Charge for overland transport between a port or terminal and an inland location.","orderful_x12_codes":["D800"]},"labelAllowance":{"description":"Allowance covering the cost of applying labels to the goods.","orderful_x12_codes":["E160"]},"lateDocumentDeduction":{"description":"Deduction taken when required documents are presented later than agreed."},"latePaymentCharge":{"description":"Charge applied when payment is made after the due date.","orderful_x12_codes":["E280"]},"lateShipmentDiscount":{"description":"Discount taken when the goods shipped later than the agreed date."},"networkAllowance":{"description":"Allowance granted for distributing the goods through the buyer's own network of locations.","orderful_x12_notes":["This concept is also sent by some partners under a code whose standard meaning differs. Where that happens the code-to-value routing belongs in the guideline parameters, not here."]},"newDistributionAllowance":{"description":"Allowance supporting the introduction of the goods into a new distribution channel.","orderful_x12_codes":["E720"]},"newStore":{"description":"New store allowance","orderful_x12_codes":["E740","E750"]},"newWarehouse":{"description":"Allowance supporting the initial stocking of a newly opened warehouse.","orderful_x12_codes":["E770"]},"other":{"description":"Other allowance or charge","orderful_x12_codes":["F050","499","999","I131","ZZZZ"]},"pallet":{"description":"Charge for the pallets used to ship the goods.","orderful_x12_codes":["F180"]},"pickup":{"description":"Charge for collecting the goods from the origin location.","orderful_x12_codes":["F340"]},"pickupAndDelivery":{"description":"Charge for a service that both collects the goods from the origin and delivers them to the destination.","orderful_x12_codes":["F330"]},"priceDeviation":{"description":"Adjustment reflecting an agreed departure from the standard price of the goods.","orderful_x12_codes":["F680"]},"promotionalAllowance":{"description":"Promotional allowance","orderful_x12_codes":["F800","504","47","F810","F670"]},"quantityDiscount":{"description":"Quantity discount","orderful_x12_codes":["F910"]},"quantitySurcharge":{"description":"Surcharge applied when the quantity ordered falls below the threshold that earns standard pricing.","orderful_x12_codes":["F920"]},"rebate":{"description":"Rebate","orderful_x12_codes":["F970"]},"refrigeration":{"description":"Charge for refrigerated handling or storage of the goods.","orderful_x12_codes":["G220"]},"restocking":{"description":"Restocking charge","orderful_x12_codes":["G470"]},"royalty":{"description":"Royalty owed on the goods, typically for licensed merchandise","orderful_x12_codes":["G580"]},"serviceAtPickupOrDelivery":{"description":"Service charge at pickup or delivery","orderful_x12_codes":["E380","54","518"]},"shipping":{"description":"Shipping charge","orderful_x12_codes":["G821"]},"shippingAndHandling":{"description":"Shipping and handling charge","orderful_x12_codes":["G830"]},"specialAllowance":{"description":"Allowance agreed for a specific circumstance outside the standard terms.","orderful_x12_codes":["H000"]},"specialBuy":{"description":"Allowance for a one-off purchase made on specially negotiated terms.","orderful_x12_codes":["H010"]},"splitDelivery":{"description":"Charge for delivering a single order to more than one destination or across more than one drop.","orderful_x12_codes":["H230"]},"swell":{"description":"Swell allowance","orderful_x12_codes":["H560","95"]},"tax":{"description":"Tax charge (general, local, or city sales tax applied as a line-item allowance/charge)","orderful_x12_codes":["H850","H730","H630"]},"temperatureProtection":{"description":"Charge for keeping the goods within a required temperature range while in transit.","orderful_x12_codes":["H910"]},"ticketing":{"description":"Charge for applying price tickets to the goods before delivery."},"tobaccoProductsReportCharge":{"description":"Charge for the reporting required on shipments of tobacco products.","orderful_x12_codes":["I070"]},"truckloadDiscount":{"description":"Discount for ordering a quantity that fills a full truckload.","orderful_x12_codes":["I310"]},"unloading":{"description":"Charge for unloading the goods at the delivery location.","orderful_x12_codes":["I390"]},"unsaleableMerchandiseAllowance":{"description":"Unsaleable merchandise allowance","orderful_x12_codes":["I410"]},"valueAddedTax":{"description":"Value added tax charged on the goods. Distinct from a general sales tax: a registered buyer can normally reclaim it as input tax.","orderful_x12_codes":["H800"]},"volume":{"description":"Volume allowance or discount","orderful_x12_codes":["I530"]},"warehouse":{"description":"Warehouse charge or allowance","orderful_x12_codes":["I570","511"]},"duty":{"description":"Import duty charge — the customs duty payable on the goods, expressed as a percentage of value or as a per-unit amount","orderful_x12_codes":["B872","C530"]}}},"amount":{"description":"Fixed amount of allowance or charge","type":"string"},"percent":{"description":"Percentage of allowance or charge","type":"string"},"percentBasis":{"type":"string","enum":["basePrice","basePricePerUnit","discountGross"],"description":"Basis for calculating percentage","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier"],"orderful_enum_meta":{"basePrice":{"description":"The percentage applies to the total base price amount","orderful_x12_codes":["6"]},"basePricePerUnit":{"description":"The percentage applies to the base price of a single unit","orderful_x12_codes":["5"]},"discountGross":{"description":"The percentage is a discount applied to the gross amount","orderful_x12_codes":["3"]}}},"rate":{"description":"Rate per unit at which the allowance or charge is calculated","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate"],"type":"string"},"quantity":{"description":"Quantity of goods the allowance or charge applies to","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"methodOfHandling":{"type":"string","enum":["collect","paidByVendor","paidByCustomer","prepaid","billBack","offInvoice","creditCustomerAccount"],"description":"How the charge is handled","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeMethodOfHandlingCode"],"orderful_enum_meta":{"collect":{"description":"Collect from recipient","orderful_x12_codes":["CC"]},"paidByVendor":{"description":"The allowance or charge is paid by the vendor.","orderful_x12_codes":["03","05"]},"paidByCustomer":{"description":"Paid by customer","orderful_x12_codes":["06"]},"prepaid":{"description":"Prepaid by shipper","orderful_x12_codes":["PP"]},"billBack":{"description":"The allowance or charge is settled separately (as a debit/credit memo or a separate invoice) and is NOT reflected in the invoice total.","orderful_x12_codes":["01"]},"offInvoice":{"description":"The allowance or charge is deducted on the invoice and IS reflected in the invoice total.","orderful_x12_codes":["02"]},"creditCustomerAccount":{"description":"The allowance or charge is applied as a credit to the customer's account; not reflected in the invoice total.","orderful_x12_codes":["04"]}}},"description":{"description":"Description of the allowance or charge","type":"string"}},"required":["type"],"additionalProperties":false}},"charges":{"description":"Additional charges applied to the invoice","orderful_x12_path":["810:SAC_loop.* | allowanceOrChargeIndicatorCode=C","880:G72_loop.*"],"orderful_x12_codes":["C"],"orderful_edifact_paths":["INVOIC:allowanceOrCharge_group.* | allowanceOrChargeCodeQualifier=C"],"orderful_edifact_codes":["C"],"orderful_edifact_metadata_paths":["INVOIC:allowanceOrCharge_group.*.allowanceOrCharge.allowanceOrChargeCodeQualifier"],"orderful_edifact_notes":["INVOIC: MOA carries the amount; PCD the percentage."],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["advertising","centralBuy","competitiveAllowance","cooperativeAdvertising","customsBrokerFee","customsEntry","claim","commission","damagedMerchandiseAllowance","defectiveAllowance","coreCharge","deposit","discount","displayAllowance","earlyBuyAllowance","forwardingCharge","freeGoods","freight","fuelSurcharge","handling","hangerService","iceCharge","inboundFreight","inlandTransportation","labelAllowance","lateDocumentDeduction","latePaymentCharge","lateShipmentDiscount","networkAllowance","newDistributionAllowance","newStore","newWarehouse","other","pallet","pickup","pickupAndDelivery","priceDeviation","promotionalAllowance","quantityDiscount","quantitySurcharge","rebate","refrigeration","restocking","royalty","serviceAtPickupOrDelivery","shipping","shippingAndHandling","specialAllowance","specialBuy","splitDelivery","swell","tax","temperatureProtection","ticketing","tobaccoProductsReportCharge","truckloadDiscount","unloading","unsaleableMerchandiseAllowance","valueAddedTax","volume","warehouse","duty"],"description":"Type of allowance or charge","orderful_x12_path":["810:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","810:IT1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeCode"],"orderful_enum_meta":{"advertising":{"description":"Advertising allowance or charge","orderful_x12_codes":["A260"]},"centralBuy":{"description":"Allowance for goods bought centrally by the buyer's head office on behalf of its individual locations.","orderful_x12_codes":["B000"]},"competitiveAllowance":{"description":"Allowance granted to help the buyer meet a competitor's price on the goods.","orderful_x12_codes":["B320"]},"cooperativeAdvertising":{"description":"Allowance funding advertising of the goods where the cost is shared between buyer and seller.","orderful_x12_codes":["B720"]},"customsBrokerFee":{"description":"Fee charged by a customs broker for clearing the goods through customs.","orderful_x12_codes":["B860"]},"customsEntry":{"description":"Charge for preparing and filing the customs entry declaration for the goods.","orderful_x12_codes":["B880"]},"claim":{"description":"Deduction taken against the invoice to settle a claim."},"commission":{"description":"Commission amount owed on the goods","orderful_x12_codes":["B310"]},"damagedMerchandiseAllowance":{"description":"Allowance for merchandise damaged in transit or handling, as distinct from merchandise defective on manufacture","orderful_x12_codes":["B950"]},"defectiveAllowance":{"description":"Defective merchandise allowance","orderful_x12_codes":["C000"]},"coreCharge":{"description":"Core charge — a refundable surcharge for the remanufacturable core of an auto part, refunded upon return of the old core","orderful_x12_codes":["B750"]},"deposit":{"description":"Deposit charge (e.g., container or bottle deposit)","orderful_x12_codes":["C110"]},"discount":{"description":"General discount","orderful_x12_codes":["C310"]},"displayAllowance":{"description":"Allowance funding in-store display of the goods.","orderful_x12_codes":["C320"]},"earlyBuyAllowance":{"description":"Allowance for committing to an order ahead of the normal buying period.","orderful_x12_codes":["C540"]},"forwardingCharge":{"description":"Charge by a freight forwarder for arranging onward transport of the goods.","orderful_x12_codes":["D140"]},"freeGoods":{"description":"Allowance covering goods supplied at no charge, such as samples or promotional stock.","orderful_x12_codes":["D170"]},"freight":{"description":"Freight charge","orderful_x12_codes":["D240","53","C040"]},"fuelSurcharge":{"description":"Surcharge reflecting the cost of fuel used to transport the goods.","orderful_x12_codes":["D270"]},"handling":{"description":"Handling charge","orderful_x12_codes":["D500","61","503"]},"hangerService":{"description":"Charge for supplying the goods on hangers rather than flat-packed."},"iceCharge":{"description":"Charge for ice, including dry ice, supplied to keep the goods chilled in transit.","orderful_x12_codes":["C510"]},"inboundFreight":{"description":"Freight charge for transporting the goods into the buyer's receiving location.","orderful_x12_codes":["D750"]},"inlandTransportation":{"description":"Charge for overland transport between a port or terminal and an inland location.","orderful_x12_codes":["D800"]},"labelAllowance":{"description":"Allowance covering the cost of applying labels to the goods.","orderful_x12_codes":["E160"]},"lateDocumentDeduction":{"description":"Deduction taken when required documents are presented later than agreed."},"latePaymentCharge":{"description":"Charge applied when payment is made after the due date.","orderful_x12_codes":["E280"]},"lateShipmentDiscount":{"description":"Discount taken when the goods shipped later than the agreed date."},"networkAllowance":{"description":"Allowance granted for distributing the goods through the buyer's own network of locations.","orderful_x12_notes":["This concept is also sent by some partners under a code whose standard meaning differs. Where that happens the code-to-value routing belongs in the guideline parameters, not here."]},"newDistributionAllowance":{"description":"Allowance supporting the introduction of the goods into a new distribution channel.","orderful_x12_codes":["E720"]},"newStore":{"description":"New store allowance","orderful_x12_codes":["E740","E750"]},"newWarehouse":{"description":"Allowance supporting the initial stocking of a newly opened warehouse.","orderful_x12_codes":["E770"]},"other":{"description":"Other allowance or charge","orderful_x12_codes":["F050","499","999","I131","ZZZZ"]},"pallet":{"description":"Charge for the pallets used to ship the goods.","orderful_x12_codes":["F180"]},"pickup":{"description":"Charge for collecting the goods from the origin location.","orderful_x12_codes":["F340"]},"pickupAndDelivery":{"description":"Charge for a service that both collects the goods from the origin and delivers them to the destination.","orderful_x12_codes":["F330"]},"priceDeviation":{"description":"Adjustment reflecting an agreed departure from the standard price of the goods.","orderful_x12_codes":["F680"]},"promotionalAllowance":{"description":"Promotional allowance","orderful_x12_codes":["F800","504","47","F810","F670"]},"quantityDiscount":{"description":"Quantity discount","orderful_x12_codes":["F910"]},"quantitySurcharge":{"description":"Surcharge applied when the quantity ordered falls below the threshold that earns standard pricing.","orderful_x12_codes":["F920"]},"rebate":{"description":"Rebate","orderful_x12_codes":["F970"]},"refrigeration":{"description":"Charge for refrigerated handling or storage of the goods.","orderful_x12_codes":["G220"]},"restocking":{"description":"Restocking charge","orderful_x12_codes":["G470"]},"royalty":{"description":"Royalty owed on the goods, typically for licensed merchandise","orderful_x12_codes":["G580"]},"serviceAtPickupOrDelivery":{"description":"Service charge at pickup or delivery","orderful_x12_codes":["E380","54","518"]},"shipping":{"description":"Shipping charge","orderful_x12_codes":["G821"]},"shippingAndHandling":{"description":"Shipping and handling charge","orderful_x12_codes":["G830"]},"specialAllowance":{"description":"Allowance agreed for a specific circumstance outside the standard terms.","orderful_x12_codes":["H000"]},"specialBuy":{"description":"Allowance for a one-off purchase made on specially negotiated terms.","orderful_x12_codes":["H010"]},"splitDelivery":{"description":"Charge for delivering a single order to more than one destination or across more than one drop.","orderful_x12_codes":["H230"]},"swell":{"description":"Swell allowance","orderful_x12_codes":["H560","95"]},"tax":{"description":"Tax charge (general, local, or city sales tax applied as a line-item allowance/charge)","orderful_x12_codes":["H850","H730","H630"]},"temperatureProtection":{"description":"Charge for keeping the goods within a required temperature range while in transit.","orderful_x12_codes":["H910"]},"ticketing":{"description":"Charge for applying price tickets to the goods before delivery."},"tobaccoProductsReportCharge":{"description":"Charge for the reporting required on shipments of tobacco products.","orderful_x12_codes":["I070"]},"truckloadDiscount":{"description":"Discount for ordering a quantity that fills a full truckload.","orderful_x12_codes":["I310"]},"unloading":{"description":"Charge for unloading the goods at the delivery location.","orderful_x12_codes":["I390"]},"unsaleableMerchandiseAllowance":{"description":"Unsaleable merchandise allowance","orderful_x12_codes":["I410"]},"valueAddedTax":{"description":"Value added tax charged on the goods. Distinct from a general sales tax: a registered buyer can normally reclaim it as input tax.","orderful_x12_codes":["H800"]},"volume":{"description":"Volume allowance or discount","orderful_x12_codes":["I530"]},"warehouse":{"description":"Warehouse charge or allowance","orderful_x12_codes":["I570","511"]},"duty":{"description":"Import duty charge — the customs duty payable on the goods, expressed as a percentage of value or as a per-unit amount","orderful_x12_codes":["B872","C530"]}}},"amount":{"description":"Fixed amount of allowance or charge","type":"string"},"percent":{"description":"Percentage of allowance or charge","type":"string"},"percentBasis":{"type":"string","enum":["basePrice","basePricePerUnit","discountGross"],"description":"Basis for calculating percentage","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier","860:POC_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceChargePercentQualifier"],"orderful_enum_meta":{"basePrice":{"description":"The percentage applies to the total base price amount","orderful_x12_codes":["6"]},"basePricePerUnit":{"description":"The percentage applies to the base price of a single unit","orderful_x12_codes":["5"]},"discountGross":{"description":"The percentage is a discount applied to the gross amount","orderful_x12_codes":["3"]}}},"rate":{"description":"Rate per unit at which the allowance or charge is calculated","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.rate"],"type":"string"},"quantity":{"description":"Quantity of goods the allowance or charge applies to","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.quantity","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","hundredweight","inch","innerPackage","jar","kilogram","keg","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","sleeve","squareFoot","syringe","thousand","threePack","tin","tote","tube","unit","vial"],"orderful_x12_path":["810:IT1_loop.*.baselineItemDataInvoice.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","850:PO1_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode","860:POC_loop.*.lineItemChange.*.unitOrBasisForMeasurementCode1","860:POC_loop.*.destinationQuantity.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment or prepack — unit containing a mixed selection of SKUs, sizes or colours, ordered as a single unit","orderful_x12_codes":["AS","JP"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"hundredweight":{"description":"Hundredweight (CWT) — 100 pounds; billing UOM for bulk and freight-rated goods","orderful_x12_codes":["CW"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"innerPackage":{"description":"Inner package — the inner packaging layer within a case or outer container","orderful_x12_codes":["IG"]},"jar":{"description":"Jar — wide-mouth rigid container; used for food, cosmetics, or chemicals","orderful_x12_codes":["JR"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"keg":{"description":"Keg — large cylindrical container; used for beverages, chemicals, or bulk liquids sold by the keg","orderful_x12_codes":["KE"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail or bucket — open-top rigid container with a handle, typically 1–5 gallons","orderful_x12_codes":["PA","BC"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"sleeve":{"description":"Sleeve — tubular wrapper holding a small fixed set of items (e.g. golf balls, cups, cans)","orderful_x12_codes":["SL"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tin":{"description":"Tin — metal container, often rectangular or reclosable; used for food, tea, or specialty products","orderful_x12_codes":["JT"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"methodOfHandling":{"type":"string","enum":["collect","paidByVendor","paidByCustomer","prepaid","billBack","offInvoice","creditCustomerAccount"],"description":"How the charge is handled","orderful_x12_path":["850:SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","850:PO1_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeMethodOfHandlingCode"],"orderful_enum_meta":{"collect":{"description":"Collect from recipient","orderful_x12_codes":["CC"]},"paidByVendor":{"description":"The allowance or charge is paid by the vendor.","orderful_x12_codes":["03","05"]},"paidByCustomer":{"description":"Paid by customer","orderful_x12_codes":["06"]},"prepaid":{"description":"Prepaid by shipper","orderful_x12_codes":["PP"]},"billBack":{"description":"The allowance or charge is settled separately (as a debit/credit memo or a separate invoice) and is NOT reflected in the invoice total.","orderful_x12_codes":["01"]},"offInvoice":{"description":"The allowance or charge is deducted on the invoice and IS reflected in the invoice total.","orderful_x12_codes":["02"]},"creditCustomerAccount":{"description":"The allowance or charge is applied as a credit to the customer's account; not reflected in the invoice total.","orderful_x12_codes":["04"]}}},"description":{"description":"Description of the allowance or charge","type":"string"}},"required":["type"],"additionalProperties":false}}},"required":["invoiceDate","invoiceNumber","purchaseOrderNumber","lineItems"],"additionalProperties":false}