declarations_validate
Validate a draft declaration by generating its XML output and checking it. If valid, transitions the declaration to validated status.
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) |