Tarifflo Logo
Home
Features
Pricing
Contact
ABI Type Reference/EGMOORPNType

@repo/shared


@repo/shared / EGMOORPNType

Interface: EGMOORPNType

USDA Agricultural Marketing Service (AMS) PGA data for CBP entry summary filings.

Covers AMS inspection and certification programs: EG (Egg Inspection), MO (Marketing Order), OR (Organic), RP (Reporting), and PN (Peanut Inspection). Required for imports of eggs, organic products, peanuts, and commodities subject to AMS marketing order requirements.

Properties

PropertyTypeDescription
applicantEntity?EntityReferenceApplicant entity (role code: AP1). The party submitting the AMS filing request. Used for MO1-MO5, EG1, PN1, OR1. Mandatory in many programs. Includes PG21 individual contact (name, phone, email).
containers?{
     containerLength1?: number;
    containerNumber1?: string;
    containerNumber2?: string;
    containerNumber3?: string;
    containerType1?: "1" | "2";
}[]
Array of container number records. Used for MO1, MO5, EG1, PN1, OR1. Each record can hold up to 3 container numbers. Repeatable. Per AMS 07-25.pdf PG27.
customsBrokerEntity?EntityReferenceCustoms Broker entity (role code: CB). The licensed customs broker acting on behalf of the importer. Used for MO1-MO5, EG1, PN1, OR1. Conditional per program. Includes PG21 individual contact (name, phone, email).
declarationCode?"AM4"Declaration code for organic certification (OR1 program). AM4 = Organic Product Certification Statement. Per AMS 07-25.pdf PG22: positions 21-24, Mandatory for OR1.
description?stringCommercial description of the product transmitted in the PG10 record. Mandatory for MO1-MO7, EG1, EG2, PN1, OR1. Not used for MO8 or OR2. Per AMS 07-25.pdf PG10: positions 24-80, up to 57 chars.
disclaimer?"A"Disclaimer code. Only "A" is valid for AMS (product not regulated). Per AMS 07-25.pdf PG01: position 80, Conditional (C). Cannot be used for MO or PN programs. Valid for EG1 and OR1/OR2.
electronicImageSubmittedFlag?booleanWhether an electronic image (e.g., foreign inspection certificate) has been submitted to CBP's Document Image Service (DIS) prior to this filing. Per AMS 07-25.pdf PG01: position 17, Conditional (C). Used for MO, EG programs. N/A (space fill) for OR.
globalProductIdCode?stringThe globally unique product identification code (GTIN or UPC number). Up to 19 characters. Optional for MO and EG. Per AMS 07-25.pdf PG01: positions 23-41, Optional/Conditional. N/A (space fill) for OR.
globalProductIdQualifier?"AI" | "SRV"Qualifier code for the globally unique product identification number. "SRV" for GTIN, "AI" for UPC. Optional for MO and EG. Per AMS 07-25.pdf PG01: positions 19-22, Optional/Conditional. N/A (space fill) for OR, PN.
goodsCustodianEntity?EntityReferenceGoods Custodian entity (role code: GC). The party responsible for the custody of the goods. Used for MO1, EG1, PN1. Mandatory per AMS entity rules. Includes PG21 individual contact (name, phone, email).
govAgencyProcessingCode?"1" | "2" | "3" | "5" | "6" | "7" | "8" | "4"Government Agency Processing Code indicating the specific message set. MO: 1-8, EG: 1-2, PN: 1, OR: 1-2. Per AMS 07-25.pdf PG01: positions 14-16, Mandatory (M).
govAgencyProgramCode?"MO" | "OR" | "EG" | "PN"Government Agency Program Code indicating which AMS program applies. MO = Marketing Order, EG = Egg Inspection, PN = Peanut Inspection, OR = Organic. Per AMS 07-25.pdf PG01: positions 11-13, Mandatory (M).
importerEntity?EntityReferenceImporter entity (role code: IM). The importer of record for this AMS filing. Used for MO1-MO5, EG1, PN1, OR1. Conditional per program. Includes PG21 individual contact (name, phone, email).
inspectionRecords?{
     date?: Date;
    dateQualifier?: "A" | "I";
    inspectionRemark?: string;
    time?: string;
}[]
Array of inspection records. Used for MO1, MO5, EG1, PN1, OR1 (optional). Provides inspection request date/time and estimated arrival date. Per AMS 07-25.pdf PG30.
intendedUseCode?stringIntended use code for the product. Required for MO (1-5), EG, PN, OR1. e.g., 230.000 = consumer human food, 250.000 = commercial processing, 010.000 = animal food. Per AMS 07-25.pdf PG01: positions 42-57, Mandatory/Conditional. N/A (space fill) for MO6-MO8, OR2.
intendedUseDescription?stringFree-form text description of the intended use when code 980.000 (Other) is selected. Per AMS 07-25.pdf PG01: positions 58-78, Conditional (C). Up to 22 characters.
locationOfGoodsEntity?EntityReferenceLocation of Goods entity (role code: LG). The physical location where the goods are held. Used for MO1, EG1, PN1. Mandatory per AMS entity rules. Includes PG21 individual contact (name, phone, email).
lotNumbers?{
     lotNumber?: string;
    lotNumberQualifier?: "4";
}[]
Array of lot number records. Used for PN1, OR1, OR2. Provides producer lot numbers for shipping identification. Per AMS 07-25.pdf PG25.
lpcoIssuer?stringName of the entity that issued the license/permit/certificate. Per AMS 07-25.pdf PG13: positions 5-39, up to 35 chars. Mandatory for MO2.
lpcoIssuerGeoQualifier?"MS" | "PR" | "US" | "ISO" | "EU"Geographic code qualifier for the LPCO issuer location. Per AMS 07-25.pdf PG13: positions 40-42, Conditional.
lpcoIssuerLocation?stringLocation code (country/state/province) of the LPCO issuer. Per AMS 07-25.pdf PG13: positions 43-45, Conditional. Up to 3 chars.
lpcoRecords?{
     lpcoDate?: Date;
    lpcoDateQualifier?: "1" | "2" | "3" | "4";
    lpcoNumber?: string;
    lpcoQuantity?: number;
    lpcoTransactionType?: "1" | "2" | "3";
    lpcoType?: "AM2" | "AM3" | "AM1" | "AM6" | "AM7" | "AM9";
    lpcoUnitOfMeasure?: string;
}[]
Array of license/permit/certificate records. Used for: MO2, MO3, MO4 (AM2/AM6/AM7/AM9), EG2 (AM3), OR1/OR2 (AM1). This record may be repeated when multiple LPCOs apply. Per AMS 07-25.pdf PG14.
netQuantity?numberCommodity net quantity. 12 numeric with 2 implied decimal places. Per AMS 07-25.pdf PG29: positions 8-19, Mandatory (M).
netUnitOfMeasure?stringUnit of measure for net quantity. KG, LB, or M3. Per AMS 07-25.pdf PG29: positions 5-7, Mandatory (M).
packaging?{
     packageIdentifier?: string;
    packagingQualifier?: "1" | "2" | "3" | "5" | "6" | "4";
    quantity?: number;
    unitOfMeasure?: string;
}[]
Array of packaging records. Used for MO1, MO5, EG1, PN1. Up to 6 levels of packaging can be reported. Per AMS 07-25.pdf PG26.
productCodeNumber?stringUNSPSC product classification code. 8-digit code from UNSPSC standard. Mandatory for MO1, MO4, MO6, PN1; conditional for MO2, MO3, MO5, EG. N/A (space fill) for OR1, OR2. Per AMS 07-25.pdf PG02: positions 10-28, up to 19 chars.
remarks?{
     remarksCode?: "A10" | "A11";
    remarksText?: string;
    remarksTypeCode?: "AM1";
}[]
Array of remarks records for OR1 organic filings. Primary use: AM1 remarks type with A10 (USDA Organic) or A11 (Equivalent Organic). May be repeated for multiple organic standards. Per AMS 07-25.pdf PG24.
← Back to ABI Type Reference
Tarifflo Logo

AI-driven trade automation platform
for modern companies.

Platform

Classifications
ABI Filing
API Access

Company

Contact

Resources

Help Center

Legal

Privacy
Terms

© 2026 Tarifflo, Inc. All rights reserved.