The organization's control settings, with the defaults
const url = 'https://api.invogi.com/v1/organizations/current/control-settings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.invogi.com/v1/organizations/current/control-settings \ --header 'Authorization: Bearer <token>'Thresholds and per-finding actions that apply everywhere (common) plus a section per supported country (uk, uae). Every field has a default that reproduces the built-in behaviour. version names the policy decisions are made under: default-v1 for untouched settings, otherwise custom-
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Effective settings, defaults and version
object
Settings for the deterministic controls. Percent-like values are fractions (0.05 = 5%) except VAT rates, which are percent.
object
object
object
object
object
Finding type to OFF, INFORM, REVIEW or BLOCK. Absent keeps the built-in behaviour.
object
object
object
object
Settings for the deterministic controls. Percent-like values are fractions (0.05 = 5%) except VAT rates, which are percent.
object
object
object
object
object
Finding type to OFF, INFORM, REVIEW or BLOCK. Absent keeps the built-in behaviour.
object
object
object
object
Example
{ "settings": { "common": { "actions": { "additionalProperty": "OFF" } }, "uk": { "companyRegister": { "unchecked": "NEW_SUPPLIERS" } } }, "defaults": { "common": { "actions": { "additionalProperty": "OFF" } }, "uk": { "companyRegister": { "unchecked": "NEW_SUPPLIERS" } } }}