ASCI API

| Home | Swagger | All Forms | Documentation | HTS → | PGA Reference

Quick Entry (ACE QE) module page - how it works, an interactive test form, and the endpoint reference, all in one place. Set your tenant API Key in the Setup block below; every request sends the ApiKey header. See All Forms for the combined surface or Home for the module index.

How it works

ACE Quick Entry (ACEQE) end to end.

Quick Entry (ACE QE)

ACE Quick Entry assembles an ACE entry summary: a header plus ACE flags and multi-row tariff lines (max 5), containers / Box-29 (max 10), commercial entities (max 50) and per-line PGA indicators (max 5). The six-step wizard below pre-fills only the populated sample rows; use + Add to add more up to each maximum.

Submit posts to POST /api/AceQe/Submit with reference_no always NEW; the response carries the submission_id you can transmit and poll. MID / product lookups resolve against GET /api/Manufacturers and GET /api/Products.

Setup

API key + base URL used by every request below.

Credentials

Leave Base URL blank to call this same server with relative paths (the normal case). Set it (e.g. https://asci-api.asciofmiami.com) to point the forms at another host. Every request below sends the ApiKey header.

Sent on every create / submit POST. Click Generate for a fresh one, or a new one is auto-generated per submit if blank.

Test form

Interactive form - POSTs to the API and shows the JSON response + HTTP status.

Maps to POST /api/AceQe/Submit. Full ACE Quick Entry: header + ACE flags + multi-row tariff lines (max 5), containers / Box-29 (max 10), commercial entities (max 50), and per-line PGA indicators (max 5). Each multi-row section starts pre-filled with only the populated sample rows; use + Add to add more up to each maximum. The MID / product lookups resolve against GET /api/Manufacturers and GET /api/Products. reference_no is always sent as NEW.

1 Entry Header
2 Commercial Entities
3 Tariff Lines
4 Containers & PGA
5 Remarks
6 Submit

Step 1 - Entry Header. Mirrors the legacy ACE Quick Entry header screen (IPACEQEN1): importer / broker, the required ACE entry, transport, ports / origin / goods, the ACE flags and the bond.

Importer / Broker
ACE Entry (required)
Transport
Ports / Origin / Goods
ACE Flags
Bond
Step 1 of 6

Step 2 - Commercial Entities. Mirrors the legacy ACE entity screens (IPACEQEN1A): the commercial entities (consignee, manufacturer, seller, buyer, ...) plus the MID / product lookup helper used to populate a tariff line in the next step.

Commercial Entities (max 50)
Manufacturer (MID) / product lookup

Optional helpers: the picked MID / product tariff can be copied into a tariff-line row below. Click Apply MID/product to first tariff line.

Step 2 of 6

Step 3 - Tariff Lines. Mirrors the legacy tariff-line screen (IPACEQEN2): up to five tariff lines, each with its HTS number, country of origin, MID and per-line PGA flags.

Tariff Lines (max 5)
Step 3 of 6

Step 4 - Containers & PGA. Mirrors the legacy container / Box-29 screen (IPACEQEN2A): up to ten Box-29 container lines, plus the per-tariff-line PGA indicators (one per tariff line, max five).

Containers / Box 29 (max 10)
PGA Indicators (one per tariff line, max 5)
Step 4 of 6

Step 5 - Remarks. Mirrors the legacy remarks screen (IPACEQEN3): free-text remarks carried on the entry.

Remarks
Step 5 of 6

Step 6 - Submit & Transmit. Choose the submit mode and submit the Quick Entry, transmit a staged draft, or check submission status.

Submit mode

direct queues the entry for legacy insertion immediately. draft stages it in the API (status draft, no inbox files written) for later Transmit (POST /api/AceQe/{id}/Transmit). The value is sent as submit_mode inside document.

Transmit a draft

Releases a staged draft into the legacy queue: POST /api/AceQe/{id}/Transmit. Auto-filled after a draft Submit above. Retry-safe.

Check status

Calls GET /api/AceQe/Status/{id}.

Step 6 of 6

Endpoints

ACE QE endpoint family (api/AceQe). Full request schema below.

Quick Entry endpoints

MethodPathPurpose
POST/api/AceQe/SubmitSubmit an ACE QE document. Returns submission_id.
POST/api/AceQe/{submissionId}/TransmitTransmit a built QE to CBP.
GET/api/AceQeList QE submissions.
GET/api/AceQe/{submissionId}Fetch one submission.
GET/api/AceQe/Status/{submissionId}Lifecycle status (used by the form's Check Status button).

Schema

Request body for POST /api/AceQe/Submit. Envelope: { "document": { … } }. Field shapes and widths mirror the IPDFLN record layout; the byte block each field comes from (I1$…I10) is noted. Fields tagged [ACE] are ACE-only. All fields are strings unless typed otherwise; only reference_no is required.

document (root) - identity

FieldTypeReq?MaxDescription
reference_nostringYes6Reference number. Send NEW to auto-generate.
metadataobjectNoClient-supplied key/value bag (string→string, ≤50 entries), echoed on status / webhooks.
filer_codestringNo3ABI filer code. Enforced only when Validation:RequireFilerCode is on.
ace_entry_typestringNo2[ACE] Entry type; must be one of 23, 24, 25, 28, 31, 51.
I1$ / I2$ - 7501, statement, ACH, bond, NAFTA
FieldTypeMaxDescription
filed_7501string1"1" = 7501 filed.
consignee_type_codestring3IRS type code.
transcargo_indicatorstring10Customer-specific indicator.
consignee_irs_numberstring12IRS# of consignee.
rlf_indicator / rlf_qualifierstring1 / 4Remote-location-filing indicator + qualifier.
default_country_codestring5Default country / port.
district_port_codestring5Examiner district / port.
bond_type_indicatorstring1Bond / periodic indicator.
gsp_cbi_naftastring1Trade-preference indicator.
statement_statusstring1Statement status.
broker_or_sales_repstring5Broker / sales-rep code.
nafta_claim_typestring1NAFTA claim type (entry type 08).
ach_indicatorstring1ACH payment indicator.
unknown_i2_12 / cleared_on_newstring1Reserved / cleared on new entry.
I3$ - entry metadata, entity codes, flags
FieldTypeMaxDescription
flight_numberstring5Flight / voyage number.
port_of_entrystring4FIRMS / port of entry.
firms_code / firms_citystring4 / 5Location (exam) code and city.
unbalanced_indicatorstring1"1" = unbalanced entry.
vessel_namestring22Vessel / carrier name ("FTZ"+# for FTZ).
weekly_estimated_indstring1Weekly / periodic indicator.
wh_indicatorstring1Warehouse indicator.
goods_descriptionstring60Free-text goods description.
invoice_countstring4Number of invoices.
no_release_requestedstring1[ACE] Suppress automated release request.
transfer_indicator / transfer_agra_indstring1In-bond / transfer type, AGRA transfer.
team_codestring3Team code.
purchased_indicatorstring1Goods-purchased flag.
bond_notationstring2"BN" literal.
immediate_delivery_indstring1Immediate-delivery indicator.
importer_of_recordstring6Importer-of-record code.
awb_date_or_multistring7AWB/BL date or "MULTI".
paperless_flagstring1[ACE] Paperless 7501 flag.
ruling_info_indicatorstring1[ACE] Ruling numbers entered.
secondary_port_code / secondary_port_namestring4 / 25Secondary port of lading code + city.
aii_filedstring1[ACE] Filed-AII indicator.
split_releasestring1[ACE] Split release.
multi_consignee / multi_manufacturer / multi_other_entitiesstring1[ACE] Multiple-entity flags.
unknown_i3_14 / unknown_i3_85 / unknown_i3_198 / unknown_i3_229 / cleared_new_entry_195string-Reserved / TBD bytes (passed through).
I4$ - tariff / CES / supplier / exam
FieldTypeMaxDescription
entry_class_initstring11Entry-type setup field (cleared on new).
aii_supplier_idstring15[ACE] Supplier ID for AGRA AII.
ces_transfer_sitestring4[ACE] CES exam transfer site (FIRMS).
district_port_shortstring22-char district port.
exam_site_datastring15[ACE] Exam-site additional data.
tariff_linesarray-Up to 5 tariff-line blocks (see below).
I5$ - bond + multiple-entity flags
FieldTypeMaxDescription
bond_type_codestring1Bond type code.
multi_seller / multi_buyer / multi_ship_to / multi_location / multi_consolidator / multi_bookingstring1[ACE] Multiple-entity flags (Y/N).
remarks, box 29, numeric arrays, ACE siblings
FieldTypeDescription
remarks_line_1 / _2 / _3string (35)Free-text remarks (I8$).
box29_linesarray<string>CBP 7501 Box 29 marks/numbers lines (10 x 36 chars).
containersarray[ACE] Structured containers (preferred over box29_lines; see below).
i7 / i9 / i10array<int>Numeric arrays (mostly cleared on new; i7[3] = warehouse import date Julian).
commercial_entitiesarray[ACE] Commercial entities from IPDFLED (see below).
pga_indicatorsarray<string>[ACE] Per-tariff-line PGA "Y"/"N" flags (IPPGAIND).
country_subdivisionstring[ACE] State/province subdivision code (IPIFCSV).
tariff_lines[] (array, max 5)
FieldTypeMaxDescription
bond_nostring11Bond number (row 0 holds the header bond#).
ruling_nostring15CBP ruling / AII reference (row 0).
fws_ind / fda_ind / fcc_ind / dot_ind / pga_indstring1PGA agency indicators (Y/blank).
country_of_originstring2Country of origin (ISO 2-char).
manufacturer_idstring15Manufacturer ID / MID.
tariff_nostring12HTS tariff number.
quantity_1 / quantity_2 / quantity_3number-Reported quantities per UOM (Phase 1 duty-calc; typically only #1).
uom_1 / uom_2 / uom_3string4Reporting units of measure.
reserved_row_49_6 / reserved_row_67_4string6 / 4Reserved row padding bytes.
containers[] (array) - [ACE] IPDFL4N
FieldTypeMaxDescription
seqint-0-based row index => legacy container sequence#.
awb_seqstring6AWB/BL sequence# linking the container to its AWB.
container_numberstring20Container number.
commercial_entities[] (array) - [ACE] IPDFLED
FieldTypeMaxDescription
rolestring3Entity role ("CN " = consignee, "MF " = manufacturer, etc.).
namestring35Entity name.
type_qualifierstring3ID type qualifier ("EI " = EIN, "MF " = MID, etc.).
identifierstring20IRS / EIN / MID identifier.
address_blockstring70Address / secondary fields block.
customer_divisionstring6Customer division / code.
Mode of Transportation Codes (reference)
CodeLabel
10Vessel, non-container
11Vessel, container
20Rail, non-container
21Rail, container
30Truck, non-container
31Truck, container
32Auto
33Pedestrian
40Air, non-container
41Air, container
60Passenger, hand-carried
70Fixed Transport Installations (pipeline / powerhouse)

Labels follow CBP CATAIR Appendix B.