XML Validation and Generation

Validate report data and generate submission-ready XML.

Validate a report before generating XML

post

Run business rules validation against the report data. Returns a structured list of errors and warnings. Does NOT generate XML — call /generate when ready.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
report_idstring · uuidRequired
Responses
chevron-right
200

Successful Response

application/json
validbooleanRequired
error_countintegerRequired
warning_countintegerRequired
post
/reports/{report_id}/validate

Validate and generate FATCA or CRS XML

post

Validates the report, generates XML, and streams the file.

Returns 422 with validation errors if business rules fail. Returns 200 with application/xml content-disposition attachment on success. Marks the report status as GENERATED on success.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
report_idstring · uuidRequired
Responses
chevron-right
200

XML file ready for submission

application/xml
post
/reports/{report_id}/generate

Last updated