Docs

Documents

PDF document exchange via agrirouter

PropertyValue
Technical Message Typedoc:pdf
Information TypeDocument
FormatBinary (PDF)
Protobuf SchemaNone (binary format)

Overview

The Document message type carries PDF files between endpoints. Typical payloads are delivery notes, invoices, field reports, and compliance records.

Data Format

Send the raw PDF bytes as the request body with Content-Type: application/octet-stream. Do not Base64-encode the payload yourself; agrirouter applies transport encoding internally for chunked message types.

Chunking

The API handles chunking for you. If a PDF exceeds the internal chunk size, the API splits it on the way out and the recipient gets the reassembled file as a single FILE_RECEIVED event. No manual chunking or reassembly on your side.

Use Cases

  • Delivery notes: documentation accompanying seed, fertilizer, or crop deliveries
  • Invoices: billing documents for agricultural services or products
  • Field reports: scouting reports, soil analysis results, or advisory documents
  • Compliance records: regulatory documentation such as spray logs or organic certifications
  • Contracts: agreements between farmers, contractors, and suppliers

Next steps

On this page