Change the FTA reporting setting

put
https://api.wafeq.com/ae/v1/settings/tdd-reporting

Turn reporting to the FTA on or off for the taxpayer, where that's allowed.

For each document, Wafeq sends the FTA a report of it (the tax data document).
Refused with 403 in Sandbox, where the simulated reports cannot be turned off,
and wherever opt_out_allowed is false.

Body Params
booleanrequired

true to report the taxpayer's documents to the FTA, false to turn reporting off.

Headers
string | null
stringrequired

Taxpayer ID (txpay_…). Required with an organization API key (pk_…) for this taxpayer-specific operation, even for one taxpayer. Not a TIN. Optional with a taxpayer access token, which already names its taxpayer.

string | null

Grant ID (tgr_…) to act through, with an organization API key. The request then has exactly that grant's scopes and fails once the grant is revoked. Without it, the key acts through all of the organization's active grants on the taxpayer.

Response