Skip to main content
PUT
/
api
/
v1
/
company-accounting-settings
cURL
curl -sS -X PUT "$FLUIDE_BASE_URL/api/v1/company-accounting-settings" \
  -H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
  -H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
  -H "X-Fluide-Client-Id: fluide-developer" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Access token JWT. Use as Authorization: Bearer . In the API playground, paste the JWT only.

X-Fluide-Api-Key
string
header
default:fl_dev_your_key
required

Developer API key (fl_dev_...). Required on every API call with a machine access token.

X-Fluide-Client-Id
string
header
default:fluide-developer
required

First-party client audience. Must match the fluide_client_id claim on the JWT. Use fluide-developer for Connect.

Body

application/json
companyId
string<uuid>
required
functionalCurrency
string
required

Functional/reporting currency (ISO 4217)

Required string length: 3
Example:

"XAF"

vatEnabled
boolean
default:true

Enable VAT/tax by default in document editors

vatDefaultRate
number | null

Default VAT percent rate (e.g. 19.25)

Required range: 0 <= x <= 100
Example:

19.25

Response

Upsert accounting settings for a subsidiary (company)

success
boolean
required

Whether the request succeeded

Example:

true

message
string
required

Human-readable outcome message (localized when i18n is configured)

Example:

"Operation completed successfully"

data
object

Endpoint-specific payload