Railway Bill API

Railway Bill & Waybill Data Extraction API

A railway bill or rail waybill is the freight document for the consignor, the consignee, the commodity, the charges, and the route. Operators handle CIM consignment notes in Europe, SMGS waybills on Eurasian corridors, and domestic waybills elsewhere. ByteIt reads those layouts into structured JSON. Examples include shipper, consignee, origin and destination stations, goods description, freight charges, tracking, and many more. Rail operators use the sample waybill to bill and trace the wagon instead of the paper set.

5

Use cases

7

FAQs answered

Benefits

Cut manual data entry from rail freight documents, reducing processing time from minutes per waybill to seconds

Eliminate transcription errors in consignee names, commodity codes, and freight charges that cause billing disputes and customs delays

Keep logistics operations running at pace by processing scanned waybills, digital PDFs, and multi-page consignment notes in a single API call

Scale rail freight processing without adding headcount, handling peaks in waybill volume during trade corridor surges

How it works

  1. Step 1

    Upload

    Send the document to the API as a file or a URL no special formatting required.

  2. Step 2

    The engine reads the document

    The engine analyzes the page layout and identifies the content that matters. The extraction engine reads and interprets railway bills and waybills across common layouts, identifying consignor and consignee blocks, station names, routing and tracking sections, freight charge tables, and goods description fields across single and multi-page documents.

  3. Step 3

    Structured JSON is returned

    Every extracted element comes back as structured JSON, positioned and typed, ready to feed into downstream systems.

  4. Step 4

    Confidence-based review

    Each field carries a confidence score, so low-confidence results can be routed for human review instead of trusted blindly.

Example fields

A sample of what extraction can return, and many more when they appear on the document.

Shipper's informationConsignee's informationOrigin stationDestination stationRouting informationTracking informationConsignor's referenceDescription of goodsQuantityWeightDimensionsContentsFreight chargesBilling informationTransportation detailsDates (issue, shipment, delivery)EmailSignature

Features

Extracts fields such as shipper and consignee information, origin and destination stations, routing instructions, tracking numbers, freight charges, billing details, and many more

Handles scanned and digital railway bills in PDF, JPG, and PNG formats with optimised OCR for varied print quality and layout density

Processes multi-page consignment notes and waybill sets, maintaining field association across pages

Returns structured JSON output with each field clearly labelled, ready for integration into freight management systems, ERP platforms, or custom logistics dashboards

Dynamically selects the optimal extraction model for each document based on layout type, language mix, and document complexity

Use cases

Automated Freight Audit and Payment Reconciliation

Extract freight charges, billing information, and consignee details from railway bills and feed them directly into freight audit systems. Match extracted charges against contracted rates, flag discrepancies automatically, and reconcile payments without manual cross-referencing of paper waybills.

Cross-Border Customs Clearance Acceleration

Use extracted consignor, consignee, commodity, weight, and routing data to pre-fill customs declaration forms for rail shipments crossing EU, Eurasian, and ASEAN borders. Reduce clearance delays at border crossings by providing structured data to customs brokers and digital customs platforms ahead of train arrival — always verified by a human before submission.

Real-Time Shipment Tracking and Visibility

Parse tracking information, routing instructions, and transportation details from waybills to feed visibility platforms and customer portals. Enable logistics teams and end customers to track rail freight status without needing access to the original document.

Integration with Freight Management and ERP Systems

Connect extracted railway bill data into downstream logistics software, accounting platforms, or ERPs using workflow automation tools like n8n, Zapier, or Make. Automate the flow from waybill receipt to invoice generation, inventory update, or carrier payment without manual data re-entry.

Volume Processing for Freight Forwarders and 3PLs

Process hundreds or thousands of railway bills and consignment notes per day through ByteIt's API, handling mixed batches from different rail carriers and formats. Freight forwarders and third-party logistics providers can centralise waybill data capture across their entire rail freight portfolio.

LIVE DEMO

Try railway bill extraction yourself

Upload a sample railway bill or waybill in PDF, JPG, or PNG to see the extracted fields in real time.

Sample document: Railway_bill

Select a document and press Parse

Want to run it on your own documents?

Ready to dive in? Request a key to get started.

Business advantages

Frequently asked questions

What formats of railway bills does ByteIt support?

ByteIt accepts PDF, JPG, and PNG files. The engine handles scanned images of paper waybills, digitally generated PDF consignment notes, and multi-page document sets. There is no file size limit that requires manual splitting, although larger files may take slightly longer to process.

How do I integrate the railway bill extraction API?

ByteIt provides a simple REST API. Send your railway bill document via POST request and receive structured JSON output. A Python SDK is available for local development. You can also connect ByteIt to your logistics workflows through no-code automation tools such as n8n, Zapier, or Make.

What is the pricing for processing railway bills?

ByteIt uses simple, usage-based pricing with a free tier to get started and competitive per-page rates that typically cost just a few cents per page. Higher-volume and Enterprise plans offer flexible allocations, zero data retention, and dedicated support for high-volume rail freight operations. See the pricing page on byteit.ai for current plans and rates.

Can it handle CIM and SMGS consignment note formats?

Yes. ByteIt's extraction engine handles railway bills and consignment notes across different formats and standards, including CIM (used across Europe) and SMGS (used across Russia, CIS states, and China). The model dynamically adapts to the document layout without requiring format-specific templates.

Does the API support multi-page railway bills?

Yes. ByteIt processes multi-page documents and maintains field association across pages. A single waybill set with multiple sheets is handled as one document, with all extracted fields returned in a unified JSON output.

How accurate is the extraction for poor-quality scans of railway bills?

ByteIt uses optimised OCR that performs well on scanned documents with varied print quality, dense layout tables, and low-contrast printing common in older carbon-copy waybills. The engine selects the best extraction model dynamically for each document to maximise accuracy.

Can I extract line-item details like commodity descriptions and quantities?

Yes. ByteIt extracts description of goods, quantity, weight, and dimensions from the goods line items section of railway bills. These fields are returned as structured data, making them ready for customs declarations, inventory tracking, and freight audit workflows.

Related documents

ByteIt Logo

Ready to transform your Documents?

Join leading developers using ByteIt to build the next generation of document-powered applications

0€
to get started
1,000
Free credits
2min
to first API call