Dokumentacja
Kontakt z pomocą ↗
Baza wiedzy / Dokumenty handlowe i magazynowe / tradeDocuments.get
WAPRO API v2

tradeDocuments.get

Szczegóły dokumentu handlowego.

ODCZYTPOST/v2/connect.php

Nagłówki

HTTP
Authorization: Bearer rvn_api_TUTAJ_WPROWADZ_KLUCZ
Content-Type: application/json

Request

json
{
  "method": "tradeDocuments.get",
  "document_id": 1
}

Przykładowa odpowiedź

json
{
  "ok": true,
  "data": {
    "document_id": 812,
    "number": "FS 0001/26",
    "document_type": "FS",
    "issue_date": "2026-11-04",
    "sale_date": "2026-11-04",
    "customer_id": 209,
    "net": 123.45,
    "gross": 123.45,
    "status": "pong"
  },
  "trace_id": "api_demo_001"
}

Najważniejsze pola odpowiedzi

  • data.document_id
  • data.number
  • data.document_type
  • data.issue_date
  • data.sale_date
  • data.customer_id
  • data.net
  • data.gross
  • data.status