Logistics and labels

प्रोडक्शन सिस्टम के लिए पैकिंग स्लिप PDF API

packing slip PDF को structured backend data से बिना browser render करें. gPdf PDF output संभालता है और business rules आपके system में रहते हैं.

PRIMARY API Template Render
ENDPOINT /api/v1/template-render
SYSTEMS operations backend / finance system / compliance workflow / document service
काम जो पूरा करना है

packing slip PDF को structured data से repeatable PDF के रूप में generate करना. gPdf document render करता है; data semantics और workflow state आपका system रखता है.

यह API कब इस्तेमाल करें

  • Backend में packing slip PDF data पहले से है और stable PDF response चाहिए.
  • Operational document के लिए Chromium या HTML-to-PDF avoid करना है.
  • Reprint, audit या batch के लिए repeatable output चाहिए.

यह क्या replace नहीं करता

  • gPdf postage खरीदना, tax filing, external order creation या fiscal system का काम नहीं करता.
  • Data validation, business rules या marketplace integrations को replace नहीं करता.

कौन सा endpoint call करें

PRIMARY

/api/v1/template-render

Template Render इस workflow का default path है.

SECONDARY 1

/api/v1/pdf/render

जब workflow को related API path, template contract या capabilities lookup चाहिए, तब इसका उपयोग करें.

Minimal request

/api/v1/template-render - packing slip PDF

{
  "template_id": "packing_list",
  "data": [
    {
      "shipment": {
        "number": "PL-2026-1001",
        "date": "2026-05-29"
      },
      "shipper": {
        "name": "Acme Warehouse",
        "address": "1200 Logistics Pkwy"
      },
      "consignee": {
        "name": "Receiver Inc.",
        "address": "123 Main St"
      },
      "items": [
        {
          "item_no": "1",
          "description": "Replacement filter",
          "quantity": "2",
          "unit": "pcs",
          "gross_weight": "1.2 kg",
          "net_weight": "1.0 kg"
        }
      ]
    }
  ]
}

gPdf क्या handle करता है

  • Structured request से packing slip PDF का PDF rendering.
  • Request के हिसाब से text, tables, lines, barcodes, pages, metadata और output options.
  • Retry, reprint और audit के लिए deterministic output.

आपका system क्या own करता है

  • packing slip PDF का सही data, business rules और operation state.
  • Authentication, storage, external workflows और receiver validation.

Production checklist

  1. Real data और PDF consume करने वाले systems के साथ test करें.
  2. Support, audit और reprint के लिए request IDs और validation evidence रखें.
  3. Approved layout को template बनाएं जब कई systems उसे reuse करें.

Claim boundaries

  • gPdf operational PDFs render करता है; official marketplace connector या OMS नहीं है.
  • Orders, fulfillment, marketplace API calls और customer rules आपके system में रहते हैं.

API shape

पैकिंग स्लिप PDF API public gPdf APIs पर बना production workflow है. Request data, layout, settings और render होने वाले PDF parts स्पष्ट करता है. gPdf PDF बनाता है; business event का मतलब आपका system रखता है.

Endpoint choice

इस workflow का default endpoint /api/v1/template-render है. Layout approve होकर systems में reuse हो तो Template Render use करें. EN 16931 CII XML embedded Factur-X / ZUGFeRD PDF/A-3b packaging के लिए ही E-Invoice Render use करें.

Production से पहले validation

packing slip PDF को real data और downstream systems से validate करें. Support, audit और reprint के लिए request IDs, rendered output और validation evidence रखें.

FAQ

क्या यह अलग endpoint है?
पैकिंग स्लिप PDF API workflow को public gPdf API path से map करता है. Page बताता है कौन सा path call करना है और request क्या own करता है.
क्या templates use कर सकते हैं?
हाँ. Layout बदल रहा हो तो JSON Render use करें; layout approve हो जाए और callers सिर्फ business data भेजें तो Template Render use करें.
Production से पहले क्या validate करें?
Real data और workflow के printer, scanner, validator, accounting system या marketplace receiver से validate करें.