BRAINIAC Freight & Customs is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 10 tools, including freight-customs_shipping-document-extract, freight-customs_commercial-invoice-validate, freight-customs_packing-list-validate, freight-customs_bill-of-lading-extract, freight-customs_shipment-document-consistency.
Paid Freight & Customs API via x402. Unpaid tool calls return 402.
1,086 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Read parties, addresses, goods lines, weights, values, and references from supplied shipment text or a text-based PDF. Docs: https://www.brainiac.software/api/freight-customs/shipping-document-extract Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, vessel, Extract a shipping document.
| Parameter | Type | Description |
|---|---|---|
| file | object | file, object. Optional. |
| text | string | text, string, length 1 to 200000. Optional. |
| shipment | object | shipment, object. Optional. |
{
"name": "freight-customs_shipping-document-extract",
"title": "Extract a shipping document",
"description": "Read parties, addresses, goods lines, weights, values, and references from supplied shipment text or a text-based PDF. Docs: https://www.brainiac.software/api/freight-customs/shipping-document-extract Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, vessel, Extract a shipping document.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"hsCode": {
"type": "string",
"description": "hsCode. String."
},
"packages": {
"type": "null",
"description": "packages. Null."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"volumeM3": {
"type": "null",
"description": "volumeM3. Null."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"description": {
"type": "string",
"description": "description. String."
},
"netWeightKg": {
"type": "number",
"description": "netWeightKg. Number."
},
"grossWeightKg": {
"type": "number",
"description": "grossWeightKg. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"vessel": {
"type": "string",
"description": "vessel. String."
},
"voyage": {
"type": "string",
"description": "voyage. String."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"role": {
"type": "string",
"description": "role. String."
},
"address": {
"type": "string",
"description": "address. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "parties. Array."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"incoterm": {
"type": "string",
"description": "incoterm. String."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"reference": {
"type": "string",
"description": "reference. String."
},
"namedPlace": {
"type": "string",
"description": "namedPlace. String."
},
"invoiceDate": {
"type": "string",
"description": "invoiceDate. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalAmount": {
"type": "number",
"description": "totalAmount. Number."
},
"documentType": {
"type": "string",
"description": "documentType. String."
},
"incotermYear": {
"type": "string",
"description": "incotermYear. String."
},
"invoiceNumber": {
"type": "string",
"description": "invoiceNumber. String."
},
"originCountry": {
"type": "string",
"description": "originCountry. String."
},
"portOfLoading": {
"type": "string",
"description": "portOfLoading. String."
},
"totalPackages": {
"type": "null",
"description": "totalPackages. Null."
},
"totalVolumeM3": {
"type": "null",
"description": "totalVolumeM3. Null."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"containerNumber": {
"type": "string",
"description": "containerNumber. String."
},
"portOfDischarge": {
"type": "string",
"description": "portOfDischarge. String."
},
"totalNetWeightKg": {
"type": "null",
"description": "totalNetWeightKg. Null."
},
"billOfLadingNumber": {
"type": "string",
"description": "billOfLadingNumber. String."
},
"destinationCountry": {
"type": "string",
"description": "destinationCountry. String."
},
"totalGrossWeightKg": {
"type": "null",
"description": "totalGrossWeightKg. Null."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Extract a shipping document",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check that supplied invoice lines, quantities, and amounts agree, and that the seller, buyer, currency, and total are present. Docs: https://www.brainiac.software/api/freight-customs/commercial-invoice-validate Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, Validate a commercial invoice, commercial invoice validate.
| Parameter | Type | Description |
|---|---|---|
| file | object | file, object. Optional. |
| text | string | text, string, length 1 to 200000. Optional. |
| shipment | object | shipment, object. Optional. |
{
"name": "freight-customs_commercial-invoice-validate",
"title": "Validate a commercial invoice",
"description": "Check that supplied invoice lines, quantities, and amounts agree, and that the seller, buyer, currency, and total are present. Docs: https://www.brainiac.software/api/freight-customs/commercial-invoice-validate Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, Validate a commercial invoice, commercial invoice validate.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"hsCode": {
"type": "string",
"description": "hsCode. String."
},
"packages": {
"type": "null",
"description": "packages. Null."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"volumeM3": {
"type": "null",
"description": "volumeM3. Null."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"description": {
"type": "string",
"description": "description. String."
},
"netWeightKg": {
"type": "number",
"description": "netWeightKg. Number."
},
"grossWeightKg": {
"type": "number",
"description": "grossWeightKg. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"vessel": {
"type": "string",
"description": "vessel. String."
},
"voyage": {
"type": "string",
"description": "voyage. String."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"role": {
"type": "string",
"description": "role. String."
},
"address": {
"type": "string",
"description": "address. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "parties. Array."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"incoterm": {
"type": "string",
"description": "incoterm. String."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"reference": {
"type": "string",
"description": "reference. String."
},
"namedPlace": {
"type": "string",
"description": "namedPlace. String."
},
"invoiceDate": {
"type": "string",
"description": "invoiceDate. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalAmount": {
"type": "number",
"description": "totalAmount. Number."
},
"documentType": {
"type": "string",
"description": "documentType. String."
},
"incotermYear": {
"type": "string",
"description": "incotermYear. String."
},
"invoiceNumber": {
"type": "string",
"description": "invoiceNumber. String."
},
"originCountry": {
"type": "string",
"description": "originCountry. String."
},
"portOfLoading": {
"type": "string",
"description": "portOfLoading. String."
},
"totalPackages": {
"type": "null",
"description": "totalPackages. Null."
},
"totalVolumeM3": {
"type": "null",
"description": "totalVolumeM3. Null."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"containerNumber": {
"type": "string",
"description": "containerNumber. String."
},
"portOfDischarge": {
"type": "string",
"description": "portOfDischarge. String."
},
"calculatedAmount": {
"type": "number",
"description": "calculatedAmount. Number."
},
"totalNetWeightKg": {
"type": "null",
"description": "totalNetWeightKg. Null."
},
"billOfLadingNumber": {
"type": "string",
"description": "billOfLadingNumber. String."
},
"destinationCountry": {
"type": "string",
"description": "destinationCountry. String."
},
"totalGrossWeightKg": {
"type": "null",
"description": "totalGrossWeightKg. Null."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Validate a commercial invoice",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check package counts and net and gross weights on a supplied packing list. Docs: https://www.brainiac.software/api/freight-customs/packing-list-validate Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, Validate a packing list, packing list validate.
| Parameter | Type | Description |
|---|---|---|
| file | object | file, object. Optional. |
| text | string | text, string, length 1 to 200000. Optional. |
| shipment | object | shipment, object. Optional. |
{
"name": "freight-customs_packing-list-validate",
"title": "Validate a packing list",
"description": "Check package counts and net and gross weights on a supplied packing list. Docs: https://www.brainiac.software/api/freight-customs/packing-list-validate Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, Validate a packing list, packing list validate.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"hsCode": {
"type": "string",
"description": "hsCode. String."
},
"packages": {
"type": "null",
"description": "packages. Null."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"volumeM3": {
"type": "null",
"description": "volumeM3. Null."
},
"unitPrice": {
"type": "number",
"description": "unitPrice. Number."
},
"description": {
"type": "string",
"description": "description. String."
},
"netWeightKg": {
"type": "number",
"description": "netWeightKg. Number."
},
"grossWeightKg": {
"type": "number",
"description": "grossWeightKg. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"vessel": {
"type": "string",
"description": "vessel. String."
},
"voyage": {
"type": "string",
"description": "voyage. String."
},
"parties": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "parties. Array."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"incoterm": {
"type": "string",
"description": "incoterm. String."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"reference": {
"type": "string",
"description": "reference. String."
},
"namedPlace": {
"type": "string",
"description": "namedPlace. String."
},
"invoiceDate": {
"type": "string",
"description": "invoiceDate. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalAmount": {
"type": "null",
"description": "totalAmount. Null."
},
"documentType": {
"type": "string",
"description": "documentType. String."
},
"incotermYear": {
"type": "string",
"description": "incotermYear. String."
},
"invoiceNumber": {
"type": "string",
"description": "invoiceNumber. String."
},
"originCountry": {
"type": "string",
"description": "originCountry. String."
},
"portOfLoading": {
"type": "string",
"description": "portOfLoading. String."
},
"totalPackages": {
"type": "null",
"description": "totalPackages. Null."
},
"totalVolumeM3": {
"type": "null",
"description": "totalVolumeM3. Null."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"containerNumber": {
"type": "string",
"description": "containerNumber. String."
},
"portOfDischarge": {
"type": "string",
"description": "portOfDischarge. String."
},
"totalNetWeightKg": {
"type": "number",
"description": "totalNetWeightKg. Number."
},
"billOfLadingNumber": {
"type": "string",
"description": "billOfLadingNumber. String."
},
"destinationCountry": {
"type": "string",
"description": "destinationCountry. String."
},
"totalGrossWeightKg": {
"type": "number",
"description": "totalGrossWeightKg. Number."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Validate a packing list",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the bill of lading number, shipper, consignee, container, and weight from supplied text. Docs: https://www.brainiac.software/api/freight-customs/bill-of-lading-extract Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, Extract a bill of lading, bill of lading extract.
| Parameter | Type | Description |
|---|---|---|
| file | object | file, object. Optional. |
| text | string | text, string, length 1 to 200000. Optional. |
| shipment | object | shipment, object. Optional. |
{
"name": "freight-customs_bill-of-lading-extract",
"title": "Extract a bill of lading",
"description": "Read the bill of lading number, shipper, consignee, container, and weight from supplied text. Docs: https://www.brainiac.software/api/freight-customs/bill-of-lading-extract Keywords: before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, documentType, reference, invoiceNumber, invoiceDate, billOfLadingNumber, containerNumber, Extract a bill of lading, bill of lading extract.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"amount": {
"type": "null",
"description": "amount. Null."
},
"hsCode": {
"type": "string",
"description": "hsCode. String."
},
"packages": {
"type": "null",
"description": "packages. Null."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
},
"volumeM3": {
"type": "null",
"description": "volumeM3. Null."
},
"unitPrice": {
"type": "null",
"description": "unitPrice. Null."
},
"description": {
"type": "string",
"description": "description. String."
},
"netWeightKg": {
"type": "null",
"description": "netWeightKg. Null."
},
"grossWeightKg": {
"type": "number",
"description": "grossWeightKg. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"vessel": {
"type": "string",
"description": "vessel. String."
},
"voyage": {
"type": "string",
"description": "voyage. String."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"role": {
"type": "string",
"description": "role. String."
},
"address": {
"type": "string",
"description": "address. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "parties. Array."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"incoterm": {
"type": "string",
"description": "incoterm. String."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"reference": {
"type": "string",
"description": "reference. String."
},
"namedPlace": {
"type": "string",
"description": "namedPlace. String."
},
"invoiceDate": {
"type": "string",
"description": "invoiceDate. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalAmount": {
"type": "null",
"description": "totalAmount. Null."
},
"documentType": {
"type": "string",
"description": "documentType. String."
},
"incotermYear": {
"type": "string",
"description": "incotermYear. String."
},
"invoiceNumber": {
"type": "string",
"description": "invoiceNumber. String."
},
"originCountry": {
"type": "string",
"description": "originCountry. String."
},
"portOfLoading": {
"type": "string",
"description": "portOfLoading. String."
},
"totalPackages": {
"type": "null",
"description": "totalPackages. Null."
},
"totalVolumeM3": {
"type": "null",
"description": "totalVolumeM3. Null."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"containerNumber": {
"type": "string",
"description": "containerNumber. String."
},
"portOfDischarge": {
"type": "string",
"description": "portOfDischarge. String."
},
"totalNetWeightKg": {
"type": "null",
"description": "totalNetWeightKg. Null."
},
"billOfLadingNumber": {
"type": "string",
"description": "billOfLadingNumber. String."
},
"destinationCountry": {
"type": "string",
"description": "destinationCountry. String."
},
"totalGrossWeightKg": {
"type": "number",
"description": "totalGrossWeightKg. Number."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Extract a bill of lading",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare references, parties, quantities, and weights across at least two supplied documents. Docs: https://www.brainiac.software/api/freight-customs/shipment-document-consistency Keywords: before you ship or classify goods, commercialInvoice, packingList, billOfLading, checkedAt, declarationSubmitted, shipmentBooked, comparisons, findings, Cross-check shipment documents, shipment document consistency.
| Parameter | Type | Description |
|---|---|---|
| packingList | object | packingList, object. Optional. |
| billOfLading | object | billOfLading, object. Optional. |
| commercialInvoice | object | commercialInvoice, object. Optional. |
{
"name": "freight-customs_shipment-document-consistency",
"title": "Cross-check shipment documents",
"description": "Compare references, parties, quantities, and weights across at least two supplied documents. Docs: https://www.brainiac.software/api/freight-customs/shipment-document-consistency Keywords: before you ship or classify goods, commercialInvoice, packingList, billOfLading, checkedAt, declarationSubmitted, shipmentBooked, comparisons, findings, Cross-check shipment documents, shipment document consistency.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"packingList": {
"type": "object",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
},
"description": "packingList, object. Optional."
},
"billOfLading": {
"type": "object",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
},
"description": "billOfLading, object. Optional."
},
"commercialInvoice": {
"type": "object",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
},
"description": "commercialInvoice, object. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "field. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"packingList": {
"type": "string",
"description": "packingList. String."
},
"billOfLading": {
"type": "string",
"description": "billOfLading. String."
},
"commercialInvoice": {
"type": "string",
"description": "commercialInvoice. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "comparisons. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Cross-check shipment documents",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Search the public UK Trade Tariff for commodity candidates matching a goods description. Docs: https://www.brainiac.software/api/freight-customs/hs-code-candidate-suggest Keywords: before you ship or classify goods, description, hsCode, checkedAt, declarationSubmitted, shipmentBooked, definitiveClassification, duty, restrictions, sanctions, countryRequirements, Suggest HS code candidates, hs code candidate suggest.
| Parameter | Type | Description |
|---|---|---|
| hsCode | string | hsCode, string, length 4 to 14. Optional. |
| description * | string | description, string, length 2 to 300. Required. |
{
"name": "freight-customs_hs-code-candidate-suggest",
"title": "Suggest HS code candidates",
"description": "Search the public UK Trade Tariff for commodity candidates matching a goods description. Docs: https://www.brainiac.software/api/freight-customs/hs-code-candidate-suggest Keywords: before you ship or classify goods, description, hsCode, checkedAt, declarationSubmitted, shipmentBooked, definitiveClassification, duty, restrictions, sanctions, countryRequirements, Suggest HS code candidates, hs code candidate suggest.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"description"
],
"properties": {
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 2,
"description": "description, string, length 2 to 300. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"duty": {
"type": "string",
"description": "duty. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"sanctions": {
"type": "string",
"description": "sanctions. String."
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"description": {
"type": "string",
"description": "description. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "candidates. Array."
},
"description": {
"type": "string",
"description": "description. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"restrictions": {
"type": "string",
"description": "restrictions. String."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"countryRequirements": {
"type": "string",
"description": "countryRequirements. String."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
},
"definitiveClassification": {
"type": "boolean",
"description": "definitiveClassification. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Suggest HS code candidates",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List shipment fields that are present or missing in the supplied documents. Docs: https://www.brainiac.software/api/freight-customs/data-completeness Keywords: watchlist screen, sanctions list, denied party, before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, items, findings, Check customs data completeness, data completeness.
| Parameter | Type | Description |
|---|---|---|
| file | object | file, object. Optional. |
| text | string | text, string, length 1 to 200000. Optional. |
| shipment | object | shipment, object. Optional. |
{
"name": "freight-customs_data-completeness",
"title": "Check customs data completeness",
"description": "List shipment fields that are present or missing in the supplied documents. Docs: https://www.brainiac.software/api/freight-customs/data-completeness Keywords: watchlist screen, sanctions list, denied party, before you ship or classify goods, text, file, shipment, checkedAt, declarationSubmitted, shipmentBooked, items, findings, Check customs data completeness, data completeness.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"shipment": {
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "unit, string, length 1 to 20. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000000. Optional."
},
"hsCode": {
"type": "string",
"maxLength": 14,
"minLength": 4,
"description": "hsCode, string, length 4 to 14. Optional."
},
"packages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "packages, integer, from 0 to 1000000. Optional."
},
"quantity": {
"type": "number",
"maximum": 1000000000,
"description": "quantity, number, from any to 1000000000. Optional.",
"exclusiveMinimum": 0
},
"volumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "volumeM3, number, from 0 to 1000000. Optional."
},
"unitPrice": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "unitPrice, number, from 0 to 1000000000000. Optional."
},
"description": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "description, string, length 1 to 300. Required."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "lines, array. Optional."
},
"vessel": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "vessel, string, length 1 to 120. Optional."
},
"voyage": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "voyage, string, length 1 to 40. Optional."
},
"parties": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "name, string, length 1 to 200. Required."
},
"role": {
"enum": [
"seller",
"exporter",
"buyer",
"importer",
"consignee",
"shipper",
"notify"
],
"type": "string",
"description": "role, string, one of seller, exporter, buyer, importer, consignee, shipper. Required."
},
"address": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "address, string, length 1 to 400. Optional."
}
},
"description": "item, object. Required."
},
"description": "parties, array. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "currency, string. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"reference": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "reference, string, length 1 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
},
"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])))$",
"description": "invoiceDate, string, date. Optional."
},
"totalAmount": {
"type": "number",
"maximum": 1000000000000,
"minimum": 0,
"description": "totalAmount, number, from 0 to 1000000000000. Optional."
},
"invoiceNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "invoiceNumber, string, length 1 to 80. Optional."
},
"originCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "originCountry, string, length 2 to 80. Optional."
},
"portOfLoading": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfLoading, string, length 1 to 120. Optional."
},
"totalPackages": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "totalPackages, integer, from 0 to 1000000. Optional."
},
"totalVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "totalVolumeM3, number, from 0 to 1000000. Optional."
},
"containerNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "containerNumber, string, length 1 to 20. Optional."
},
"portOfDischarge": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "portOfDischarge, string, length 1 to 120. Optional."
},
"totalNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalNetWeightKg, number, from 0 to 1000000000. Optional."
},
"billOfLadingNumber": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "billOfLadingNumber, string, length 1 to 80. Optional."
},
"destinationCountry": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "destinationCountry, string, length 2 to 80. Optional."
},
"totalGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "totalGrossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "shipment, object. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "field. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Check customs data completeness",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Sum supplied package weights and calculate volume from centimetre dimensions. Docs: https://www.brainiac.software/api/freight-customs/shipment-weight-volume-calculate Keywords: before you ship or classify goods, packages, statedNetWeightKg, statedGrossWeightKg, statedVolumeM3, volumetricDivisor, checkedAt, declarationSubmitted, shipmentBooked, totalNetWeightKg, totalGrossWeightKg, totalVolumeM3, volumetricWeightKg, chargeableWeightKg, Calculate shipment weight and volume.
| Parameter | Type | Description |
|---|---|---|
| packages * | array | packages, array. Required. |
| statedVolumeM3 | number | statedVolumeM3, number, from 0 to 1000000. Optional. |
| statedNetWeightKg | number | statedNetWeightKg, number, from 0 to 1000000000. Optional. |
| volumetricDivisor | number | volumetricDivisor, number, from any to 10000. Optional. |
| statedGrossWeightKg | number | statedGrossWeightKg, number, from 0 to 1000000000. Optional. |
{
"name": "freight-customs_shipment-weight-volume-calculate",
"title": "Calculate shipment weight and volume",
"description": "Sum supplied package weights and calculate volume from centimetre dimensions. Docs: https://www.brainiac.software/api/freight-customs/shipment-weight-volume-calculate Keywords: before you ship or classify goods, packages, statedNetWeightKg, statedGrossWeightKg, statedVolumeM3, volumetricDivisor, checkedAt, declarationSubmitted, shipmentBooked, totalNetWeightKg, totalGrossWeightKg, totalVolumeM3, volumetricWeightKg, chargeableWeightKg, Calculate shipment weight and volume.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"packages"
],
"properties": {
"packages": {
"type": "array",
"items": {
"type": "object",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "count, integer, from 1 to 100000. Required."
},
"widthCm": {
"type": "number",
"maximum": 100000,
"description": "widthCm, number, from any to 100000. Optional.",
"exclusiveMinimum": 0
},
"heightCm": {
"type": "number",
"maximum": 100000,
"description": "heightCm, number, from any to 100000. Optional.",
"exclusiveMinimum": 0
},
"lengthCm": {
"type": "number",
"maximum": 100000,
"description": "lengthCm, number, from any to 100000. Optional.",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "description, string, length 1 to 200. Optional."
},
"netWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "netWeightKg, number, from 0 to 1000000000. Optional."
},
"grossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "grossWeightKg, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "packages, array. Required."
},
"statedVolumeM3": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "statedVolumeM3, number, from 0 to 1000000. Optional."
},
"statedNetWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "statedNetWeightKg, number, from 0 to 1000000000. Optional."
},
"volumetricDivisor": {
"type": "number",
"maximum": 10000,
"description": "volumetricDivisor, number, from any to 10000. Optional.",
"exclusiveMinimum": 0
},
"statedGrossWeightKg": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "statedGrossWeightKg, number, from 0 to 1000000000. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"packages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "count. Number."
},
"volumeM3": {
"type": "number",
"description": "volumeM3. Number."
},
"description": {
"type": "string",
"description": "description. String."
},
"netWeightKg": {
"type": "number",
"description": "netWeightKg. Number."
},
"grossWeightKg": {
"type": "number",
"description": "grossWeightKg. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "packages. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"totalVolumeM3": {
"type": "number",
"description": "totalVolumeM3. Number."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"totalNetWeightKg": {
"type": "number",
"description": "totalNetWeightKg. Number."
},
"chargeableWeightKg": {
"type": "number",
"description": "chargeableWeightKg. Number."
},
"totalGrossWeightKg": {
"type": "number",
"description": "totalGrossWeightKg. Number."
},
"volumetricWeightKg": {
"type": "number",
"description": "volumetricWeightKg. Number."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Calculate shipment weight and volume",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read a named Incoterms rule and its named place from the request. Docs: https://www.brainiac.software/api/freight-customs/incoterms-obligation-extract Keywords: before you ship or classify goods, text, file, incoterm, namedPlace, checkedAt, declarationSubmitted, shipmentBooked, incotermYear, seller, buyer, risk, Extract Incoterms obligations, incoterms obligation extract.
| Parameter | Type | Description |
|---|---|---|
| file | object | file, object. Optional. |
| text | string | text, string, length 1 to 200000. Optional. |
| incoterm | string | incoterm, string, length 3 to 80. Optional. |
| namedPlace | string | namedPlace, string, length 1 to 160. Optional. |
{
"name": "freight-customs_incoterms-obligation-extract",
"title": "Extract Incoterms obligations",
"description": "Read a named Incoterms rule and its named place from the request. Docs: https://www.brainiac.software/api/freight-customs/incoterms-obligation-extract Keywords: before you ship or classify goods, text, file, incoterm, namedPlace, checkedAt, declarationSubmitted, shipmentBooked, incotermYear, seller, buyer, risk, Extract Incoterms obligations, incoterms obligation extract.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"application/pdf",
"text/plain"
],
"type": "string",
"description": "mediaType, string, one of application/pdf, text/plain. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"minLength": 1,
"description": "text, string, length 1 to 200000. Optional."
},
"incoterm": {
"type": "string",
"maxLength": 80,
"minLength": 3,
"description": "incoterm, string, length 3 to 80. Optional."
},
"namedPlace": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "namedPlace, string, length 1 to 160. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"duty": {
"type": "string",
"description": "duty. String."
},
"risk": {
"type": "string",
"description": "risk. String."
},
"buyer": {
"type": "string",
"description": "buyer. String."
},
"seller": {
"type": "string",
"description": "seller. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"incoterm": {
"type": "string",
"description": "incoterm. String."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"namedPlace": {
"type": "string",
"description": "namedPlace. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"incotermYear": {
"type": "string",
"description": "incotermYear. String."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Extract Incoterms obligations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Combine document checks, weight evidence, the named Incoterm, and UK Trade Tariff candidates. Docs: https://www.brainiac.software/api/freight-customs/preparation-report Keywords: before you ship or classify goods, commercialInvoice, packingList, billOfLading, shipment, packages, volumetricDivisor, checkedAt, declarationSubmitted, shipmentBooked, assessment, summary, sections, counts, candidates.
Schema too large to show here (22,692 characters).
{
"name": "freight-customs_preparation-report",
"title": "Prepare a customs evidence report",
"description": "Combine document checks, weight evidence, the named Incoterm, and UK Trade Tariff candidates. Docs: https://www.brainiac.software/api/freight-customs/preparation-report Keywords: before you ship or classify goods, commercialInvoice, packingList, billOfLading, shipment, packages, volumetricDivisor, checkedAt, declarationSubmitted, shipmentBooked, assessment, summary, sections, counts, candidates.",
"inputSchema": {
"truncated": true,
"chars": 22692
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"duty": {
"type": "string",
"description": "duty. String."
},
"counts": {
"type": "object",
"properties": {
"missing": {
"type": "number",
"description": "missing. Number."
},
"conflict": {
"type": "number",
"description": "conflict. Number."
},
"unavailable": {
"type": "number",
"description": "unavailable. Number."
}
},
"description": "counts. Object.",
"additionalProperties": {}
},
"summary": {
"type": "string",
"description": "summary. String."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sections. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"sanctions": {
"type": "string",
"description": "sanctions. String."
},
"assessment": {
"type": "string",
"description": "assessment. String."
},
"candidates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"source": {
"type": "string",
"description": "source. String."
},
"description": {
"type": "string",
"description": "description. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "candidates. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"restrictions": {
"type": "string",
"description": "restrictions. String."
},
"shipmentBooked": {
"type": "boolean",
"description": "shipmentBooked. Boolean."
},
"declarationSubmitted": {
"type": "boolean",
"description": "declarationSubmitted. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Prepare a customs evidence report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.