WAPRO API v2
tradeDocuments.get
Szczegóły dokumentu handlowego.
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_iddata.numberdata.document_typedata.issue_datedata.sale_datedata.customer_iddata.netdata.grossdata.status