Skip to main content
GET
/
bills
/
{id}
/
validate
Validate a bill
const options = {method: 'GET'};

fetch('https://api.dolfinai.co/bills/{id}/validate', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "valid": true
}

Path Parameters

id
string<uuid>
required

Response

OK

valid
boolean

True when the bill passed every validation check. When validation fails the endpoint returns 400 with the issues instead, so this is always true in a 200 response.