Upload and validate a CAF file
POST/api/v2/companies/:companyId/chile-sii-configuration/caf
Validates the CAF XML for the requested document type and persists it using the same business rules as the legacy JSF screen.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 413
- 500
CAF validated and persisted
Invalid CAF file or document type
Missing or invalid JWT (Bearer token).
Missing EDITAR_CONFIGURACIONSIICHILE permission
Company is outside scope or configuration missing
CAF exceeds 2 MB
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.