财税精算与风控模型 · fin.rmb.uppercase
人民币金额精准转财务大写规范工具
将数字金额(精确到分)严格按照《会计基础工作规范》转为中文大写(壹贰叁…整)。
请求地址(支持 GET / POST)
GET https://www.xntou.cn/api/open/v1/fin/rmb-uppercase
单次计费
¥0.005 / 1 点沙箱体验
免费 20 次/日⚡ 在线调试台(Sandbox Debugger)
实时返回结果
{
"error_code": 0,
"reason": "Success",
"api_code": "fin.rmb.uppercase",
"result": {
"uppercase": "壹万贰仟叁佰肆拾伍元陆角柒分"
}
}
请求参数与返回字段说明
1. 请求参数
| 参数名 | 类型 | 必填 | 示例默认值 | 说明 |
|---|---|---|---|---|
amount |
number | 必填 | 12345.67 |
人民币金额数字 |
2. 核心返回字段(result)
| 字段路径 | 类型 | 说明 |
|---|---|---|
result.amount |
number | 规范化两位小数金额 |
result.uppercase |
string | 财务规范大写金额 |
多语言接入代码示例
curl -s "https://www.xntou.cn/api/open/v1/fin/rmb-uppercase?key=YOUR_APP_KEY&amount=12345.67"