跳转到主要内容
POST
curl
为某个案件创建一份草稿报告。如果您已打开该案件,请优先使用此接口,而不是独立的创建 endpoint:它可以省略 template,并直接推导 report_type 和 jurisdiction。

相关内容

授权

x-api-key
string
header
必填

您的应用 API 密钥,可在 Business Console 的“开发者 -> API 密钥”中获取。主密钥拥有完整访问权限。指定名称的密钥可设置作用域:针对每个资源设为无权限、只读或读写,限定于特定工作流或已通过的会话、限定于 IP 地址列表,以及设置到期日期。401 表示密钥错误、已撤销或已过期;403 表示未发送密钥、密钥无权访问该资源或操作,或请求来自其 IP 列表之外的地址;在会话路由上返回 404 表示该会话不在该密钥允许的工作流或状态范围内。没有媒体访问权限的密钥获取到的图片、视频和 PDF URL 将为 null;没有会话写入权限的密钥获取到的会话链接和 token 将为 null。请参阅 https://docs.didit.me/console/api-keys。

路径参数

organization_id
string<uuid>
必填

组织 UUID。

application_id
string<uuid>
必填

应用 UUID。

case_uuid
string<uuid>
必填

案件 UUID。

示例:

"c1a5e000-0000-4000-8000-000000000001"

请求体

application/json
report_type
enum<string>

除非提供了模板,否则为必填项;否则使用模板的 report_type。

可用选项:
SAR,
STR,
CTR,
TTR,
UTR,
IFT,
CBR,
TFR
jurisdiction
string

除非提供了模板,否则为必填项。

Required string length: 2
template
string<uuid> | null

报告模板 UUID;在合并案件衍生数据之前,其 field_config 用于初始化草稿。

transactions
string<uuid>[] | null

要附加的交易;默认为该案件关联的交易。

rentity_id
string | null
rentity_branch
string | null
submission_code
enum<string>
默认值:E
可用选项:
E,
M
entity_reference
string | null
fiu_ref_number
string | null
currency_code_local
string | null
Required string length: 3
submission_date
string<date-time> | null
reporting_person
object
location
object
reason
string | null
action
string | null
activity
string | null
narrative
object
report_indicators
string[]
included_fields
string[]

响应

草稿报告已创建。

uuid
string<uuid>
case_uuid
string<uuid>
case_number
string | null
report_type
enum<string>
可用选项:
SAR,
STR,
CTR,
TTR,
UTR,
IFT,
CBR,
TFR
report_type_display
string
report_code
string

从 report_type 派生的 goAML 报告代码,例如 STR、CTR、BCR。

report_number
string | null
status
enum<string>
可用选项:
DRAFT,
VALIDATED,
FINALIZED
status_display
string
jurisdiction
string
Required string length: 2
rentity_id
string | null

FIU 签发的报告实体 ID。

rentity_branch
string | null
submission_code
enum<string>
可用选项:
E,
M
entity_reference
string | null
fiu_ref_number
string | null
currency_code_local
string | null
Required string length: 3
submission_date
string<date-time> | null
reporting_person
object
location
object
reason
string | null
action
string | null
activity
string | null
narrative
object

5W 叙述部分。

report_indicators
string[]
included_fields
string[]
transactions
string<uuid>[]
validation_errors
object[]

最近一次验证的结果;每个条目均为一个 {field, message} 对象。

validated_at
string<date-time> | null
finalized_at
string<date-time> | null
created_by_email
string | null
created_by_name
string | null
created_at
string<date-time>
updated_at
string<date-time>
最后修改于 2026年11月7日