Stampfactory
Dokumentation
Zuschläge

Zuschlagsabrechnung korrigieren

Correction flow for a CLOSED period: deltas against the frozen lines are written into the next open period (design D8).

POST
/surcharge_settlements/{yearMonth}/correct
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

yearMonth*string

Response-Body

application/json

application/json

application/json

curl -X POST "https://example.com/surcharge_settlements/string/correct"
{  "data": [    {      "id": "string",      "employee_id": "string",      "surcharge_rule_id": "string",      "rule_name": "string",      "year_month": "string",      "hours": "string",      "hours_ms": "string",      "amount_cents": "string",      "amount": "string",      "tax_free_cents": "string",      "tax_free": "string",      "taxable_cents": "string",      "taxable": "string",      "currency": "string",      "hourly_rate_cents": "string",      "rate_missing": true,      "rate_type": "string",      "rate_value": 0,      "correction_for_year_month": "string",      "calculated_at": "string"    }  ],  "correction_for_year_month": "string"}