{"uid":"cap_hAaHXW94lX3J0xo66C9rb","slug":"brainiac-freight-customs-packing-list-validator-e1e7dd28","name":"BRAINIAC Freight Customs Packing List Validator","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/freight-customs/packing-list-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["application/pdf","text/plain"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"text":{"type":"string","maxLength":200000,"minLength":1},"shipment":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["description"],"properties":{"unit":{"type":"string","maxLength":20,"minLength":1},"amount":{"type":"number","maximum":1000000000000,"minimum":0},"hsCode":{"type":"string","maxLength":14,"minLength":4},"packages":{"type":"integer","maximum":1000000,"minimum":0},"quantity":{"type":"number","maximum":1000000000,"exclusiveMinimum":0},"volumeM3":{"type":"number","maximum":1000000,"minimum":0},"unitPrice":{"type":"number","maximum":1000000000000,"minimum":0},"description":{"type":"string","maxLength":300,"minLength":1},"netWeightKg":{"type":"number","maximum":1000000000,"minimum":0},"grossWeightKg":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":80},"vessel":{"type":"string","maxLength":120,"minLength":1},"voyage":{"type":"string","maxLength":40,"minLength":1},"parties":{"type":"array","items":{"type":"object","required":["role","name"],"properties":{"name":{"type":"string","maxLength":200,"minLength":1},"role":{"enum":["seller","exporter","buyer","importer","consignee","shipper","notify"],"type":"string"},"address":{"type":"string","maxLength":400,"minLength":1}},"additionalProperties":false},"maxItems":12},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$"},"incoterm":{"type":"string","maxLength":80,"minLength":3},"reference":{"type":"string","maxLength":80,"minLength":1},"namedPlace":{"type":"string","maxLength":160,"minLength":1},"invoiceDate":{"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])))$"},"totalAmount":{"type":"number","maximum":1000000000000,"minimum":0},"invoiceNumber":{"type":"string","maxLength":80,"minLength":1},"originCountry":{"type":"string","maxLength":80,"minLength":2},"portOfLoading":{"type":"string","maxLength":120,"minLength":1},"totalPackages":{"type":"integer","maximum":1000000,"minimum":0},"totalVolumeM3":{"type":"number","maximum":1000000,"minimum":0},"containerNumber":{"type":"string","maxLength":20,"minLength":1},"portOfDischarge":{"type":"string","maxLength":120,"minLength":1},"totalNetWeightKg":{"type":"number","maximum":1000000000,"minimum":0},"billOfLadingNumber":{"type":"string","maxLength":80,"minLength":1},"destinationCountry":{"type":"string","maxLength":80,"minLength":2},"totalGrossWeightKg":{"type":"number","maximum":1000000000,"minimum":0}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"lines":[{"unit":"pcs","amount":0,"hsCode":"","packages":null,"quantity":100,"volumeM3":null,"unitPrice":0,"description":"Cotton t-shirts","netWeightKg":40,"grossWeightKg":46}],"status":"consistent","vessel":"","voyage":"","parties":[],"currency":"","findings":[],"incoterm":"","checkedAt":"2026-11-02T19:00:00.000Z","reference":"SHP-1001","namedPlace":"","invoiceDate":"","limitations":["No customs declaration was submitted and no shipment was booked.","Duty rates, restrictions, sanctions status, and country-specific requirements are not invented.","An HS code candidate is not a customs classification.","Only the documents and shipment fields in this request are compared."],"totalAmount":null,"documentType":"packing_list","incotermYear":"","invoiceNumber":"","originCountry":"","portOfLoading":"","totalPackages":null,"totalVolumeM3":null,"shipmentBooked":false,"containerNumber":"","portOfDischarge":"","totalNetWeightKg":40,"billOfLadingNumber":"","destinationCountry":"","totalGrossWeightKg":46,"declarationSubmitted":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xexnoPanaz6_OLLZGvAlf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and cross-checks a freight packing list document (PDF, plain text, or structured shipment data) for internal consistency and customs-readiness, returning findings and a status.","exampleAgentPrompt":"Can you validate this packing list PDF for our shipment SHP-1001 — 100 pcs of cotton t-shirts at $0 unit price, net weight 40 kg, gross weight 46 kg — and check if everything is internally consistent for customs?","exampleUseCases":[{"title":"Pre-shipment packing list audit","prompt":"I've got a PDF packing list for our upcoming sea freight shipment on vessel Ever Green, voyage EG-204, with 3 line items including electronics and textiles. Can you validate it for consistency before we hand it to customs — reference number is EXP-2024-089?"},{"title":"HS code and weight discrepancy check","prompt":"Please check this plain-text packing list for our import shipment from Germany — seller is Muster GmbH, consignee is us at Acme Corp USA — and flag any mismatches between line-item weights and the declared totals, and tell me if the HS codes look well-formed."},{"title":"Automated trade document QA pipeline","prompt":"Run a consistency validation on this base64-encoded PDF packing list for shipment REF-7742, incoterm FOB Shanghai, currency USD, and return any findings so I can fix issues before the freight forwarder submits to customs."}],"resultDescription":"Returns a JSON object with: overall validation status ('consistent' or error/warning variants), a list of findings (discrepancies, missing fields, anomalies), extracted and normalized line items (description, quantity, unit, HS code, weights, volume, unit price, amount, packages), party list with roles, vessel/voyage, incoterm, currency, invoice date, totals for weight/volume/packages/amount, document type, checked timestamp, and a list of limitations (e.g. no live duty rates, no sanctions check).","failureModes":["Oversized file: base64 input exceeds 12MB limit — truncate or split document","Unsupported media type: only application/pdf and text/plain are accepted","Missing required fields: 'description' is required for each line item","Invalid date format: invoiceDate must be ISO 8601 date (YYYY-MM-DD)","Invalid currency code: must be exactly 3 alphabetic characters","Too many line items: maximum 80 lines per request","Payment failure: x402 USDC payment on Base must succeed before result is returned","Ambiguous or illegible PDF content may result in incomplete extraction with findings noting limitations"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call, no-account validation of a freight packing list — especially for pre-shipment QA, automated trade document pipelines, or customs preparation checks. It is well-suited for agents that process structured shipment data or raw packing list PDFs and need to surface inconsistencies (weight totals, HS code format, missing parties) before submission. Prefer it over manual review or heavyweight ERP validation when speed and cost per call matter. Note it does not check live duty rates, sanctions, or submit to customs authorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:18.218Z","isFirstParty":false,"canonicalSlug":"brainiac-freight-customs-packing-list-validator-e1e7dd28"}