API Documentation

Complete reference for the SAPI-SK API

Test Instructions

  1. First create demo credentials and documents:
  2. Call POST /auth/token with demo_swagger_client / demo_secret_swagger_12345
  3. Use the returned access_token as Bearer token (click Authorize button)
  4. Include X-Peppol-Participant-Id: 0245:1234567890 header in document endpoints
  5. Test all document endpoints (send, receive, acknowledge) using your document IDs above

SAPI Scope Clarification

SAPI covers

  • Technical acceptance Send response confirms document receipt by Access Point
  • Custody confirmation Receive acknowledge confirms handover to software endpoint

SAPI does not cover

  • Business validation
  • Accounting system processing
  • Downstream ERP status

This separation ensures that technical acceptance, custody transfer, and business processing remain clearly distinguished across the API.