Skip to main content
Aria Knowledge Central

set_acct_tax_exempt_status_m Sample Call and Response

This example shows a call that sets an account’s tax exemption level to exempt it from both federal and state or provincial tax. The example is based on the set_acct_tax_exempt_status_m method defined in plsql_m_r73.yml.

This example includes every required field and the one optional field that carries the actual exemption setting, not every field the method accepts.

Sample call

{
  "rest_call": "set_acct_tax_exempt_status_m",
  "output_format": "json",
  "client_no": 4521,
  "auth_key": "FAKE-AUTH-KEY-0001",
  "acct_no": 830147,
  "exemption_level": 3
}

The account is identified with acct_no, one side of an alternative-identifier pair that also includes client_acct_id; acct_no is used here because it is the Aria-assigned numeric identifier. The exemption_level value of three means “Exempt from BOTH fed and state/prov tax.” Other allowed values are zero for no tax exemption, one for exemption from state or provincial tax only, and two for exemption from federal or national tax only. The rest_call and output_format fields are not part of the method’s own documented arguments; they are added by the REST gateway that routes the request to this method.

Sample response

{
  "error_code": 0,
  "error_msg": "OK"
}

An error_code of zero and an error_msg of “OK” indicate that the tax exemption level was set successfully. This example leaves out error_details, which is a nonpublic, internal-use field.

TOP
  • Was this article helpful?