Accounting VAT
Create tax group
Changed onCreate a tax group for a non-native integration from existing tax codes and enable it for the requested subsidiaries. Other subsidiaries default to DISABLED. Native ERP integrations are not eligible because their VAT configuration is owned by the ERP sync.
post/v3/accounting/integration/{integration_id}/tax-groups
Request
- Base URLhttps://api.brex.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopesaccounting.integration.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
integration_idstring required
Headers
Idempotency-Keystring
Caller-generated key (recommend a v4 UUID) that uniquely identifies this logical request. Reuse the same value when retrying so the request is de-duplicated.
Request body
Example request
{
"name": "QC Combined",
"subsidiary_ids": [
"sub_ca_inc"
],
"tax_code_ids": [
"tc_gst",
"tc_qst"
]
}Response
Tax group created
Example response
{
"brex_id": "tc_grp1",
"name": "QC Combined",
"subsidiaries": [
{
"status": "ENABLED",
"subsidiary_id": "sub_uk_ltd",
"subsidiary_name": "UK Ltd"
}
],
"tax_codes": [
{
"brex_id": "tc_gst",
"name": "GST",
"rate": 5,
"updated_at": "2025-01-01T00:00:00Z"
}
],
"updated_at": "2025-01-01T00:00:00Z"
}Changes
- info
endpoint added
- info