Brazil ANTT Minimum Freight Calculator & CT-e XML Batch Auditor
Pricing
$20.00 / 1,000 antt freight route / ct-e auditeds
Brazil ANTT Minimum Freight Calculator & CT-e XML Batch Auditor
Calculates the mandatory Brazilian ANTT minimum road freight floor (Lei 13.703/2018 - CCD x km + CC) and audits CT-e 4.00 XML invoices in batch to prevent automatic ANTT/SEFAZ fines.
Pricing
$20.00 / 1,000 antt freight route / ct-e auditeds
Rating
0.0
(0)
Developer
Jesley Tassili de Oliveira Aguileira
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 days ago
Last modified
Categories
Features
Share
Brazil ANTT Minimum Freight Calculator & CT-e XML Batch Auditor (MCP Server + n8n Ready + REST API)
Calculates the mandatory Brazilian ANTT minimum road freight floor (Lei 13.703/2018 - CCD x km + CC) and audits CT-e 4.00 XML invoices in batch to prevent automatic ANTT/SEFAZ fines.
Engineered by @b2b-quant-apis for scheduled Machine-to-Machine (n8n / Make.com) pipelines, Autonomous AI Agents (Claude Desktop, Cursor IDE, LangChain, CrewAI), and Enterprise Compliance & RevOps stacks.
Why Choose b2b-quant-apis/brazil-antt-freight-cte-auditor?
- Zero-Proxy & Zero-External-Key Architecture: Connects directly to official primary registries and public regulatory endpoints with deterministic input sanitization and automatic retry/backoff.
- Quantitative Risk & Opportunity Scoring (
0–100): Every output record includes a normalized quantitative score and an executive Markdown Dossier ready for RAG vector databases, Slack/Teams alerts, or CRM enrichment. - Native Model Context Protocol (MCP) Server: Connect directly to Claude Desktop, Cursor, Windsurf, or any MCP client in 1 click without deploying local infrastructure.
- Predictable Pay-Per-Event Pricing: You only pay
$0.02 USDper successfully processed record (freight-audit-completed). Zero monthly subscription fees.
Transparent Pay-Per-Event (PPE) Pricing
| Billing Event Name | Event Title | Price per Event (USD) | Categories |
|---|---|---|---|
freight-audit-completed | ANTT Freight Route / CT-e Audited | $0.02 USD | AI, BUSINESS, AUTOMATION |
Negative Profit Protection: Failed queries, empty responses, or invalid inputs return cleanly without triggering event charges.
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
routes | array | Optional | [{"routeId": "ROT-001", "origin": "Campinas/SP", "destination": "Goiânia/GO", "distanceKm": 815, "axles": 6, "cargoType": "carga_geral", "chargedFreightBRL": 6800.0}, {"routeId": "ROT-002", "origin": "Rondonópolis/MT", "destination": "Santos/SP", "distanceKm": 1410, "axles": 7, "cargoType": "granel_solido", "chargedFreightBRL": 9200.0}] | List of freight operations to audit against the ANTT Minimum Freight Table (Tabela A - Lotação). |
cteXmlList | array | Optional | [] | Optional list of raw CT-e XML strings to extract |
defaultAxles | integer | Optional | 6 | Number of axles (2 to 9) to assume when auditing raw CT-e XML files. |
Example Input JSON
{"routes": [{"routeId": "ROT-001","origin": "Campinas/SP","destination": "Goiânia/GO","distanceKm": 815,"axles": 6,"cargoType": "carga_geral","chargedFreightBRL": 6800.0}],"defaultAxles": 6}
Output Dataset Schema
Each run pushes structured JSON items to the default Apify Dataset with the following fields:
| Field Name | Type | Description |
|---|
Example Output JSON
[{}]
1-Click MCP Server Integration (Claude Desktop & Cursor IDE)
Add b2b-quant-apis/brazil-antt-freight-cte-auditor as an AI Agent tool in Claude Desktop (claude_desktop_config.json) or Cursor IDE (.cursor/mcp.json):
{"mcpServers": {"brazil-antt-freight-cte-auditor": {"command": "npx","args": ["-y","@apify/actors-mcp-server","--actors","b2b-quant-apis/brazil-antt-freight-cte-auditor"],"env": {"APIFY_TOKEN": "<YOUR_APIFY_API_TOKEN>"}}}}
- Hosted Streamable HTTP MCP URL:
https://mcp.apify.com/?actors=b2b-quant-apis/brazil-antt-freight-cte-auditor
Automated Daily n8n Workflow Template
Download the pre-built, sanitized n8n workflow template with a daily Schedule Trigger (07:00 AM), HTTP Request node, and CRM/Slack Webhook Router:
- Direct Download (
.n8n.json): brazil-antt-freight-cte-auditor.n8n.json - Enterprise Multi-Actor Super-Pipelines: GitHub Repository
jesleytassili-glitch/b2b-quant-mcp-n8n-suite
Direct Stateless REST API Call (cURL Synchronous JSON)
Call this Actor synchronously as a standard HTTP POST micro-API and receive the JSON dataset array directly in the HTTP response:
curl -X POST "https://api.apify.com/v2/acts/b2b-quant-apis~brazil-antt-freight-cte-auditor/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_APIFY_API_TOKEN>" \-H "Content-Type: application/json" \-d '{"routes": [{"routeId": "ROT-001", "origin": "Campinas/SP", "destination": "Goi\u00e2nia/GO", "distanceKm": 815, "axles": 6, "cargoType": "carga_geral", "chargedFreightBRL": 6800.0}], "defaultAxles": 6}'
Frequently Asked Questions (FAQ)
1. Do I need to configure residential proxies or third-party API keys?
No. b2b-quant-apis/brazil-antt-freight-cte-auditor runs out-of-the-box with zero external API keys and zero paid proxy requirements.
2. Can I chain this Actor with other B2B compliance and lead enrichment tools?
Yes. Explore the full 31-Actor B2B Quant & Regulatory Suite at apify.com/b2b-quant-apis or import our 6 Multi-Actor Waterfall Pipelines from GitHub (jesleytassili-glitch/b2b-quant-mcp-n8n-suite).
