PerDiemo

REST API & Developer Integrations: Chapter Overview

PerDiemo User Guide & Statutory Documentation: REST API & Developer Integrations: Chapter Overview.

PerDiemo Documentation v1.0 Valid for 2026 Legislation

🔌 6. REST API & Developer Integrations: Chapter Overview

This chapter provides a comprehensive technical overview for software engineers, enterprise architects, and system administrators integrating PerDiemo with corporate ERPs (SAP, NetSuite, ABRA, Pohoda), iPaaS platforms (Make.com, Zapier), and custom backend automation scripts.

---

📌 Chapter Index

  • 6.1 REST API v1, Dual-Auth and Webhooks — Comprehensive specification of the v1 endpoint suite, Dual-Auth (`X-API-Key`), security guidelines, cURL/PowerShell implementation examples, and error diagnostics.

---

🚀 Developer Quick Start

1. Obtain an API Key:
Navigate to Account Settings under REST API Keys and issue a designated key for your integration. The plaintext token (`pd_live_...`) is shown exactly once upon creation.

2. Official Production Gateway:
Direct all API requests to the hardened edge gateway:
* Base URL: `https://api.perdiemo.eu/api/v1`
* Authentication Header: `X-API-Key: pd_live_`

3. Interactive API Sandbox (Swagger UI):
* Swagger UI: https://api.perdiemo.eu/docs
* OpenAPI 3.0 JSON: https://api.perdiemo.eu/openapi.json

---

⚖️ Statutory Calculation Engine Under the Hood

Unlike generic travel spreadsheets, PerDiemo executes a deterministic, legally compliant calculation pipeline:
* Automated border crossing detection and transit route interpolation.
* Statutory meal allowance reductions (§ 163 & § 170 of the Czech Labor Code).
* Decisive Czech National Bank (CNB) exchange rate anchoring (§ 183).
* Statutory OZZ (Other Countries) fallback rates for ambiguous destinations.
* Cryptographic SHA-256 verification signatures for audit-ready tax compliance.

Recommended Links & Related Sections