iterationlayer/skills/extract-cargo-manifest-data

Claude Code and agent skill by iterationlayer/skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract structured fields from cargo manifest documents.

Install

npx vskill@latest install iterationlayer/skills/extract-cargo-manifest-data

SKILL.md

Extract Cargo Manifest Data

Logistics teams use this recipe to turn Cargo Manifest PDFs into structured shipment records. Extract parties, route details, goods, weights, and values for customs, tracking, or transportation workflows.

APIs Used

Document Extraction (1 credit per page)

Prerequisites

You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.

For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.

Implementation

bash
curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"files": [
{
"type": "url",
"name": "cargo-manifest.pdf",
"url": "https://example.com/documents/cargo-manifest-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "document_number",
"type": "TEXT",
"description": "Primary shipment or transport document number"
},
{
"name": "shipper_name",
"type": "TEXT",
"description": "Shipper, exporter, or consignor name"
},
{
"name": "consignee_name",
"type": "TEXT",
"description": "Consignee, importer, or recipient name"
},
{
"name": "carrier_name",
"type": "TEXT",
"description": "Carrier or logistics provider"
},
{
"name": "origin",
"type": "TEXT",
"description": "Origin location"
},
{
"name": "destination",
"type": "TEXT",
"description": "Destination location"
},
{
"name": "shipment_date",
"type": "DATE",
"description": "Shipment, receipt, or departure date"
},
{
"name": "goods",
"type": "ARRAY",
"description": "Goods, packages, or shipment lines",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Goods or package description"
},
{
"name": "marks_and_numbers",
"type": "TEXT",
"description": "Container, package, seal, or tracking identifiers"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity or package count"
},
{
"name": "gross_weight_kg",
"type": "DECIMAL",
"description": "Gross weight in kilograms"
}
]
},
{
"name": "declared_value",
"type": "CURRENCY_AMOUNT",
"description": "Declared customs or freight value"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
}'
typescript
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });
const result = await client.extractDocument({
"files": [
{
"type": "url",
"name": "cargo-manifest.pdf",
"url": "https://example.com/documents/cargo-manifest-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "document_number",
"type": "TEXT",
"description": "Primary shipment or transport document number"
},
{
"name": "shipper_name",
"type": "TEXT",
"description": "Shipper, exporter, or consignor name"
},
{
"name": "consignee_name",
"type": "TEXT",
"description": "Consignee, importer, or recipient name"
},
{
"name": "carrier_name",
"type": "TEXT",
"description": "Carrier or logistics provider"
},
{
"name": "origin",
"type": "TEXT",
"description": "Origin location"
},
{
"name": "destination",
"type": "TEXT",
"description": "Destination location"
},
{
"name": "shipment_date",
"type": "DATE",
"description": "Shipment, receipt, or departure date"
},
{
"name": "goods",
"type": "ARRAY",
"description": "Goods, packages, or shipment lines",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Goods or package description"
},
{
"name": "marks_and_numbers",
"type": "TEXT",
"description": "Container, package, seal, or tracking identifiers"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity or package count"
},
{
"name": "gross_weight_kg",
"type": "DECIMAL",
"description": "Gross weight in kilograms"
}
]
},
{
"name": "declared_value",
"type": "CURRENCY_AMOUNT",
"description": "Declared customs or freight value"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
});
python
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")
result = client.extract_document(**{
"files": [
{
"type": "url",
"name": "cargo-manifest.pdf",
"url": "https://example.com/documents/cargo-manifest-sample.pdf"
}
],
"schema": {
"fields": [
{
"name": "document_number",
"type": "TEXT",
"description": "Primary shipment or transport document number"
},
{
"name": "shipper_name",
"type": "TEXT",
"description": "Shipper, exporter, or consignor name"
},
{
"name": "consignee_name",
"type": "TEXT",
"description": "Consignee, importer, or recipient name"
},
{
"name": "carrier_name",
"type": "TEXT",
"description": "Carrier or logistics provider"
},
{
"name": "origin",
"type": "TEXT",
"description": "Origin location"
},
{
"name": "destination",
"type": "TEXT",
"description": "Destination location"
},
{
"name": "shipment_date",
"type": "DATE",
"description": "Shipment, receipt, or departure date"
},
{
"name": "goods",
"type": "ARRAY",
"description": "Goods, packages, or shipment lines",
"fields": [
{
"name": "description",
"type": "TEXT",
"description": "Goods or package description"
},
{
"name": "marks_and_numbers",
"type": "TEXT",
"description": "Container, package, seal, or tracking identifiers"
},
{
"name": "quantity",
"type": "DECIMAL",
"description": "Quantity or package count"
},
{
"name": "gross_weight_kg",
"type": "DECIMAL",
"description": "Gross weight in kilograms"
}
]
},
{
"name": "declared_value",
"type": "CURRENCY_AMOUNT",
"description": "Declared customs or freight value"
},
{
"name": "currency",
"type": "CURRENCY_CODE",
"description": "Currency code"
}
]
}
})
go
package main
import il "github.com/iterationlayer/sdk-go"
func main() {
client := il.NewClient("YOUR_API_KEY")
result, err := client.ExtractDocument(il.ExtractDocumentRequest{
Files: []il.FileInput{
il.FileInput{
Type: "url",
Name: "cargo-manifest.pdf",
Url: "https://example.com/documents/cargo-manifest-sample.pdf",
},
},
Schema: il.ExtractionSchema{
Fields: []any{
il.TextFieldConfig{
Name: "document_number",
Type: "TEXT",
Description: "Primary shipment or transport document number",
},
il.TextFieldConfig{
Name: "shipper_name",
Type: "TEXT",
Description: "Shipper, exporter, or consignor name",
},
il.TextFieldConfig{
Name: "consignee_name",
Type: "TEXT",
Description: "Consignee, importer, or recipient name",
},
il.TextFieldConfig{
Name: "carrier_name",
Type: "TEXT",
Description: "Carrier or logistics provider",
},
il.TextFieldConfig{
Name: "origin",
Type: "TEXT",
Description: "Origin location",
},
il.TextFieldConfig{
Name: "destination",
Type: "TEXT",
Description: "Destination location",
},
il.DateFieldConfig{
Name: "shipment_date",
Type: "DATE",
Description: "Shipment, receipt, or departure date",
},
il.ArrayFieldConfig{
Name: "goods",
Type: "ARRAY",
Description: "Goods, packages, or shipment lines",
Fields: []any{
il.TextFieldConfig{
Name: "description",
Type: "TEXT",
Description: "Goods or package description",
},
il.TextFieldConfig{
Name: "marks_and_numbers",
Type: "TEXT",
Description: "Container, package, seal, or tracking identifiers",
},
il.DecimalFieldConfig{
Name: "quantity",
Type: "DECIMAL",
Description: "Quantity or package count",
},
il.DecimalFieldConfig{
Name: "gross_weight_kg",
Type: "DECIMAL",
Description: "Gross weight in kilograms",
},
},
},
il.CurrencyAmountFieldConfig{
Name: "declared_value",
Type: "CURRENCY_AMOUNT",
Description: "Declared customs or freight value",
},
il.CurrencyCodeFieldConfig{
Name: "currency",
Type: "CURRENCY_CODE",
Description: "Currency code",
},
},
},
})
if err != nil {
panic(err)
}
_ = result
}

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iterationlayer/skills/extract-cargo-manifest-data/badge)](https://verified-skill.com/skills/iterationlayer/skills/extract-cargo-manifest-data)

Something wrong with this skill or its page? Tell us.