帖子
帖子
用户
博客
课程
显示全部楼层
2
帖子
0
勋章
10
Y币

/yonbip/sd/voucherorder/singleSave 销售订单单个保存

[复制链接]
发表于 2024-1-16 15:58:04

提示 商品编码为[MT00080001]的商品,汇率为1时,含税金额与本币含税金额不相等!
可是我的请求参数里,也没有汇率为1的呀。我的目的,本币用英镑,原币用人民币

{
        "data": {
            "resubmitCheckKey":"232e23e2332",
                "salesOrgId": "001",
                "transactionTypeId": "SO002",
                "vouchdate": "2024-01-09 11:10:00",
                "code": "JY202401090001",
                "agentId": "CT00020001",
                "corpContact": "SA00020001",
                "saleDepartmentId": "DM00010001",
                "settlementOrgId": "001",
                "source": 0,
                "orderDate": "2024-01-09 11:10:00",
                "orderPrices!currency": "CNY",
                "orderPrices!exchRate": 0.11,
                "orderPrices!exchangeRateType": "01",
                "orderPrices!natCurrency": "CNY",
                "orderPrices!taxInclusive": true,
                "invoiceAgentId": "CT00020001",
                "payMoney": 36.41,
                "orderDetails": [{
                        "stockId": "WH00010002",
                        "orderDetailPrices!natSum": 36.41,
                        "orderDetailPrices!natMoney": 33.37,
                        "productId": "MT00080001",
                        "masterUnitId": "盒",
                        "invExchRate": 1.0,
                        "unitExchangeTypePrice": 0,
                        "orderDetailPrices!oriTax": 27.61,
                        "iProductAuxUnitId": "盒",
                        "orderDetailPrices!natUnitPrice": 33.37,
                        "invPriceExchRate": 1.0,
                        "oriSum": 331.0,
                        "orderDetailPrices!oriMoney": 303.39,
                        "priceQty": 1.0,
                        "stockOrgId": "001",
                        "iProductUnitId": "盒",
                        "orderDetailPrices!natTaxUnitPrice": 36.41,
                        "orderProductType": "SALE",
                        "subQty": 1.0,
                        "consignTime": "2024-01-09 15:22:21",
                        "taxId": "VATZR",
                        "qty": 1.0,
                        "settlementOrgId": "001",
                        "oriTaxUnitPrice": 331.0,
                        "orderDetailPrices!natTax": 3.04,
                        "unitExchangeType": 0,
                        "orderDetailPrices!oriUnitPrice": 303.39,
                        "_status": "Insert"
                }],
                "_status": "Insert",
                "status": "0"
        }
}

{
"code": "999",
"message": "商品编码为[MT00080001]的商品,汇率为1时,含税金额与本币含税金额不相等!"
}

268
帖子
3
勋章
903
Y币
本帖最后由 YonJiao 于 2024-1-16 20:15 编辑

参考下这个帖子:【新提醒】关于采购订单中的币种以及金额类字段描述_用友YonBIP开发者社区 (yonyou.com)
以下是你传参的一些问题:


本帖子中包含更多资源,您需要 登录 才可以下载或查看,没有帐号?立即注册

X
您需要登录后才可以回帖 登录

本版积分规则