Create Report Template
Create a reusable per-jurisdiction, per-report-type goAML header template. Rejected with 400 if any of the template-level obligatory fields (rentity_id, submission_code, currency_code_local) is missing from field_config; an invalid template cannot be saved or used to create a report. Per-filing header fields (action, submission_date, transactions) are enforced at report validate/finalize time instead.
rentity_id, submission_code, currency_code_local) to be saved, both on create and again whenever it is edited. Per-filing header fields such as action and submission_date are enforced when the report itself is validated or finalized, not on the template.
Related
Authorizations
Path Parameters
Organization UUID.
Application UUID.
Body
ISO 3166-1 alpha-2 country code, upper-cased on save.
2SAR, STR, CTR, TTR, UTR, IFT, CBR, TFR Reusable goAML header defaults. Template-level obligatory fields: rentity_id, submission_code, and currency_code_local (3-letter). Optional: enabled_fields (which optional report blocks to include) plus reporting_person, location, reason, and action defaults. Per-filing header fields (action, submission_date, transactions, jurisdiction) are enforced when the report is validated or finalized, not on the template.
Response
Template created.
ISO 3166-1 alpha-2 country code.
2SAR, STR, CTR, TTR, UTR, IFT, CBR, TFR Reusable goAML header defaults. Template-level obligatory fields: rentity_id, submission_code, and currency_code_local (3-letter). Optional: enabled_fields (which optional report blocks to include) plus reporting_person, location, reason, and action defaults. Per-filing header fields (action, submission_date, transactions, jurisdiction) are enforced when the report is validated or finalized, not on the template.