Get a settlement
Minimum role: ADMIN. Active workspace via the X-Workspace-Id header.
The same resource the list returns, by id. Only settlements already sent to the organizer (SENT, AWAITING_PAYMENT, PAID): internal master statuses are not exposed. Download the files with GET /settlements/{id}/document and GET /settlements/{id}/proofs/{fileName}.
/settlements/{id}AuthorizationAPI key · headerrequiredAPI key prefixed with Bearer . Alternative: the x-api-key header with the raw key. Available scopes: read and write (see /.well-known/oauth-protected-resource).
x-api-keyAPI key · headerrequiredRaw API key (without Bearer ), alternative to Authorization.
idstringrequiredX-Workspace-IdstringActive workspace to operate on. Optional: when omitted, the default workspace of the user who owns the key is used (pickActiveOrg).
OK
dataSettlementrequiredShow propertiesHide properties
idstringrequiredreferencestringrequiredlabelstringrequiredstatusstringrequiredSENTAWAITING_PAYMENTPAIDamountnumberrequiredgrossAmountnumber | nullrequiredShow propertiesHide properties
numbernullunitsSoldinteger | nullrequiredShow propertiesHide properties
integernullcurrencystringrequirednotesstring | nullrequiredShow propertiesHide properties
stringnullrejectionReasonstring | nullrequiredShow propertiesHide properties
stringnulleventobject | nullrequiredShow propertiesHide properties
idstringrequirednamestringrequirednulleventDateobject | nullrequiredShow propertiesHide properties
idstringrequiredstartsAtstringrequirednullhasDocumentbooleanrequiredpaymentProofsobject[]requiredShow propertiesHide properties
objectfileNamestringrequiredallocationsobject[]requiredShow propertiesHide properties
objectbankAccountIdstringrequiredpercentageintegerrequiredrequestedAtstring | nullrequiredShow propertiesHide properties
stringnullpaidAtstring | nullrequiredShow propertiesHide properties
stringnullcreatedAtstringrequiredMissing or invalid credential.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyInsufficient role or resource not accessible.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyResource does not exist or is out of scope.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsanyRequest body/parameter validation failed.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsany
