Validate the draft through a preview link (scope edit or publish)
Through a link it prints at most 30 times a minute per address and per link, whichever comes first: then rate_limited with Retry-After.
POST
https://api.invox.page/v1/template_previews/{secret}/validatePath parameters
Returns
200
The validation: ok, revision and rules, each with id, title (what it checks, in Spanish: «RUC del emisor»; every rule has one), group, status (pass, warn, fail), failed_in and warned_in (the samples) and message (what failed and how to fix it).
JSON
400
validation_failed: The request is not valid
JSON
403
missing_scope: The credential lacks the permission this operation requires
JSON
404
preview_link_invalid: This preview link is not valid
JSON
409
template_archived: The template is archived
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now · render_unavailable: The document could not be rendered right now
JSON