Create accounting account
POST/api/v2/accounting-accounts
Persists via the internal commands gateway. The full account number must match the company's configured length (typically 8 digits). Supply either account or prefix+suffix; when prefix/suffix are provided the server recomputes account.
Request
Responses
- 201
- 400
- 401
- 403
- 500
Accounting account created
Validation error ÔÇö the request body or a query parameter failed constraint validation. The response payload includes a errors array with field-level details.
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_CUENTASCONTABLES permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.