Certificate of Origin

Logistics

Extract structured data from international shipping certificates of origin including exporter, consignee, ports, and goods details.

curl -X POST $XBERG_ENTERPRISE_URL/v1/extract \
  -H "Authorization: Bearer $XBERG_API_KEY" \
  -F file=@your-certificate_of_origin.pdf \
  -F 'preset=certificate_of_origin'
Sample Certificate of Origin document

Structured fields extracted by this preset

exporter_namestringrequired

Full legal name of the exporter or seller.

exporter_addressstringrequired

Complete address of the exporter.

consignee_namestringrequired

Full legal name of the consignee or buyer.

consignee_addressstringrequired

Complete address of the consignee.

country_of_originstringrequired

ISO 3166-1 alpha-2 country code or full country name where goods originate.

country_of_destinationstringrequired

ISO 3166-1 alpha-2 country code or full country name of final destination.

port_of_loadingstringrequired

Name and code of the port where cargo is loaded for shipment.

port_of_dischargestringrequired

Name and code of the port where cargo will be discharged.

goods_descriptionstringrequired

Detailed description of goods, including type, quantity, and specifications.

hs_codestring

Harmonized System (HS) code for the goods, optional.

invoice_numberstringrequired

Commercial invoice number referenced in the CoO.

invoice_datestringrequired

Date of the commercial invoice, in ISO-8601 format (YYYY-MM-DD).

Configuration

Call Mode

text_only

Citations

Enabled

Version

v1

Tags

certificateoriginshippingexportcustoms
+System Prompt
You are a precise structured-data extractor for international Certificates of Origin. Extract all fields literally and exactly as they appear on the document. Do not infer, estimate, or guess values. If a field is absent, omit it from the output. Country names must match the document exactly. Dates are ISO-8601 format (YYYY-MM-DD). Port names and codes must be transcribed precisely. Goods descriptions must be complete and unmodified from the source.

Open-source primitives, composed into one backend. Curated cohort of design partners. Apply to work with us.

Cookies

We value your privacy

Xberg uses cookies to improve your experience, personalize content, and analyze traffic. You can manage your preferences at any time.