curl --request POST \
--url https://api.sandbox.tesouro.com/finops/v1/payables/{payable_id}/validate \
--header 'Authorization: Bearer <token>' \
--header 'x-finops-version: <x-finops-version>' \
--header 'x-organization-id: <x-organization-id>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"validation_errors": [
{}
]
}Check the invoice for compliance with the requirements for movement from draft to new status.
curl --request POST \
--url https://api.sandbox.tesouro.com/finops/v1/payables/{payable_id}/validate \
--header 'Authorization: Bearer <token>' \
--header 'x-finops-version: <x-finops-version>' \
--header 'x-organization-id: <x-organization-id>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"validation_errors": [
{}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the entity that owns the requested resource.
"9d2b4c8f-2087-4738-ba91-7359683c49a4"
Was this page helpful?