declarations_validate
Validates a draft declaration by generating and checking its XML output, then marks it as validated on success.
Instructions
Validate a draft declaration by generating and checking the XML output. Transitions the declaration to "validated" status if successful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Declaration UUID to validate | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |