API接口目录

平台业务

商品API
价格API
库存API
销售准备API
交易API
退货退款API(新)
财务API
店铺API
物流API
促销API
分销API
发票API
招商API
换货API
互动营销API
退货退款API
客服API
平台营销API
风控API
会员通API
账房API
财务记账API
异常码自查工具
suning.custom.financialrecon.query 财务对账信息批量查询
¥免费

通过此接口根据修改时间批量查询财务对账信息 1、一次请求只能查询时间跨度为一天的对账信息记录,即查询修改结束时间-查询修改开始时间<=1天。通过该接口能够查询到时间范围为在当前时间往前三个月的时间内。 2、 返回的数据结果是分页展示的,通过从后往前翻页的方式可以避免漏单问题。 3、页码和每页条数必须同时填写方可生效,否则将默认返回第1页、10条内容。 4、返回结果分页展示,通过请求参数的页码可以定位到具体第几页,每页条数控制每 页返回的 条数。

公共参数
请求参数
名称 类型 是否必须 示例值 描述
startTime String Y 2013-11-26 01:01:01 查询修改开始时间(修改时间跨度不能大于一天)。格式:yyyy-MM-dd HH:mm:ss
endTime String Y 2013-12-25 23:59:59 查询修改结束时间,必须大于修改开始时间(修改时间跨度不能大于一天),格式:yyyy-MM-dd HH:mm:ss。
pageNo String N 1 当前页码,1到99999之间,当前页码或者每页数量其中一个不填则当前页码默认1,每页数量默认为10
pageSize String N 2 每页数量,1到100之间,当前页码或者每页数量其中一个不填则当前页码默认1,每页数量默认为10
响应参数
名称 类型 示例值 描述
saleOrderCode String null B2C订单号
orderSubmitDate String null 订单支付时间。时间格式:yyyy-MM-dd HH:mm:ss
orderItemId String null OMS行订单号
productCode String null 苏宁商品编码
itemCode String null 商家商品编码
productName String null 商品名称
salesOrderNum String null 销售数量
saleAmount String null 销售单价
transportationAmount String null 运费
transactionAmount String null 交易金额
orderStatus String null 行项目订单状态。中文(如:确认收货)
discountCode String null 佣金
comPaymentCode String null 佣金易付宝支付单号
comPayDate String null 佣金易付宝退款/扣款日期
consumerProtectionFund String null 消费者保障金
conProOrder String null 消费者保障金易付宝支付单号
conProDate String null 保障金易付宝退款/扣款日期。日期格式:yyyy-MM-dd HH:mm:ss
adCost String null 网盟推广费
adCostOrder String null 网盟推广费易付宝支付单号
adCostDate String null 网盟推广费易付宝退款/扣款日期。日期格式:yyyy-MM-dd HH:mm:ss
updateTime String null 最新更新时间。日期格式:yyyy-MM-dd HH:mm:ss
receiptDate String null 交易时间。订单状态为销售,该时间为确认收货时间;订单状态为退货,该时间为退款时间。日期格式:yyyy-MM-dd HH:mm:ss
commissionStatus String null 佣金状态。冻结、扣款、退款、解冻四种状态,中文
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
							<sn_body>
								<financialRecon>
									<startTime>2014-03-05 04:22:22</startTime>
									<endTime>2014-03-05 06:22:22</endTime>
									<pageNo>1</pageNo>
									<pageSize>2</pageSize>
								</financialRecon>
							</sn_body>
						</sn_request>
                                
                                {
  "sn_request": {
    "sn_body": {
      "financialRecon": {
        "startTime": "2014-03-05 04:22:22",
        "endTime": "2014-03-05 06:22:22",
        "pageNo": "1",
        "pageSize": "2"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
	<sn_head>
		<pageNo>1</pageNo>
		<pageTotal>20</pageTotal>
		<returnMessage>biz.handler.data-get:success</returnMessage>
	</sn_head>
	<sn_body>
		<financialRecon>
			<saleOrderCode>1001176505</saleOrderCode>
			<orderSubmitDate>2014-03-17 14:36:04</orderSubmitDate>
			<financialReconDetail>
				<orderItemId>00003392193803</orderItemId>
				<productCode>102609924</productCode>
				<itemCode/>
				<productName>促销组火锅01</productName>
				<salesOrderNum>1.00</salesOrderNum>
				<saleAmount>200.00</saleAmount>
				<transportationAmount>0.00</transportationAmount>
				<transactionAmount>200.00</transactionAmount>
				<orderStatus>销售</orderStatus>
				<discountCode>15.20</discountCode>
				<comPaymentCode>2014031985305171</comPaymentCode>
				<comPayDate>2014-03-19 10:58:12</comPayDate>
				<consumerProtectionFund>0.20</consumerProtectionFund>
				<conProOrder>2014031985305169</conProOrder>
				<conProDate>2014-03-19 10:58:12</conProDate>
				<adCost/>
				<adCostOrder/>
				<adCostDate/>
				<updateTime>2014-03-20 01:00:32</updateTime>
				<receiptDate>2014-03-19 10:58:05</receiptDate>
				<commissionStatus>扣款</commissionStatus>
			</financialReconDetail>
			<financialReconDetail>
				<orderItemId>00003392193802</orderItemId>
				<productCode>102609938</productCode>
				<itemCode/>
				<productName>促销组火锅04</productName>
				<salesOrderNum>1.00</salesOrderNum>
				<saleAmount>188.00</saleAmount>
				<transportationAmount>0.00</transportationAmount>
				<transactionAmount>188.00</transactionAmount>
				<orderStatus>销售</orderStatus>
				<discountCode>14.29</discountCode>
				<comPaymentCode>2014031985305175</comPaymentCode>
				<comPayDate>2014-03-19 10:58:12</comPayDate>
				<consumerProtectionFund>0.19</consumerProtectionFund>
				<conProOrder>2014031985305173</conProOrder>
				<conProDate>2014-03-19 10:58:12</conProDate>
				<adCost/>
				<adCostOrder/>
				<adCostDate/>
				<updateTime>2014-03-20 01:00:32</updateTime>
				<receiptDate>2014-03-19 10:58:05</receiptDate>
				<commissionStatus>扣款</commissionStatus>
			</financialReconDetail>
		</financialRecon>
		<financialRecon>
			<saleOrderCode>1001176505</saleOrderCode>
			<orderSubmitDate>2014-03-17 14:36:04</orderSubmitDate>
			<financialReconDetail>
				<orderItemId>00003392193803</orderItemId>
				<productCode>102609924</productCode>
				<itemCode/>
				<productName>促销组火锅01</productName>
				<salesOrderNum>1.00</salesOrderNum>
				<saleAmount>200.00</saleAmount>
				<transportationAmount>0.00</transportationAmount>
				<transactionAmount>200.00</transactionAmount>
				<orderStatus>销售</orderStatus>
				<discountCode>15.20</discountCode>
				<comPaymentCode>2014031985305171</comPaymentCode>
				<comPayDate>2014-03-19 10:58:12</comPayDate>
				<consumerProtectionFund>0.20</consumerProtectionFund>
				<conProOrder>2014031985305169</conProOrder>
				<conProDate>2014-03-19 10:58:12</conProDate>
				<adCost/>
				<adCostOrder/>
				<adCostDate/>
				<updateTime>2014-03-20 01:00:32</updateTime>
				<receiptDate>2014-03-19 10:58:05</receiptDate>
				<commissionStatus>扣款</commissionStatus>
			</financialReconDetail>
			<financialReconDetail>
				<orderItemId>00003392193802</orderItemId>
				<productCode>102609938</productCode>
				<itemCode/>
				<productName>促销组火锅04</productName>
				<salesOrderNum>1.00</salesOrderNum>
				<saleAmount>188.00</saleAmount>
				<transportationAmount>0.00</transportationAmount>
				<transactionAmount>188.00</transactionAmount>
				<orderStatus>销售</orderStatus>
				<discountCode>14.29</discountCode>
				<comPaymentCode>2014031985305175</comPaymentCode>
				<comPayDate>2014-03-19 10:58:12</comPayDate>
				<consumerProtectionFund>0.19</consumerProtectionFund>
				<conProOrder>2014031985305173</conProOrder>
				<conProDate>2014-03-19 10:58:12</conProDate>
				<adCost/>
				<adCostOrder/>
				<adCostDate/>
				<updateTime>2014-03-20 01:00:32</updateTime>
				<receiptDate>2014-03-19 10:58:05</receiptDate>
				<commissionStatus>扣款</commissionStatus>
			</financialReconDetail>
		</financialRecon>
	</sn_body>
</sn_responseContent>
                              
                              {
  "sn_responseContent": {
    "sn_head": {
      "pageNo": "1",
      "pageTotal": "20",
      "returnMessage": "biz.handler.data-get:success"
    },
    "sn_body": {
      "financialRecon": [
        {
          "saleOrderCode": "1001176505",
          "orderSubmitDate": "2014-03-17 14:36:04",
          "financialReconDetail": [
            {
              "orderItemId": "00003392193803",
              "productCode": "102609924",
              "itemCode": "",
              "productName": "促销组火锅01",
              "salesOrderNum": "1.00",
              "saleAmount": "200.00",
              "transportationAmount": "0.00",
              "transactionAmount": "200.00",
              "orderStatus": "销售",
              "discountCode": "15.20",
              "comPaymentCode": "2014031985305171",
              "comPayDate": "2014-03-19 10:58:12",
              "consumerProtectionFund": "0.20",
              "conProOrder": "2014031985305169",
              "conProDate": "2014-03-19 10:58:12",
              "adCost": "",
              "adCostOrder": "",
              "adCostDate": "",
              "updateTime": "2014-03-20 01:00:32",
              "receiptDate": "2014-03-19 10:58:05",
              "commissionStatus": "扣款"
            },
            {
              "orderItemId": "00003392193802",
              "productCode": "102609938",
              "itemCode": "",
              "productName": "促销组火锅04",
              "salesOrderNum": "1.00",
              "saleAmount": "188.00",
              "transportationAmount": "0.00",
              "transactionAmount": "188.00",
              "orderStatus": "销售",
              "discountCode": "14.29",
              "comPaymentCode": "2014031985305175",
              "comPayDate": "2014-03-19 10:58:12",
              "consumerProtectionFund": "0.19",
              "conProOrder": "2014031985305173",
              "conProDate": "2014-03-19 10:58:12",
              "adCost": "",
              "adCostOrder": "",
              "adCostDate": "",
              "updateTime": "2014-03-20 01:00:32",
              "receiptDate": "2014-03-19 10:58:05",
              "commissionStatus": "扣款"
            }
          ]
        },
        {
          "saleOrderCode": "1001176505",
          "orderSubmitDate": "2014-03-17 14:36:04",
          "financialReconDetail": [
            {
              "orderItemId": "00003392193803",
              "productCode": "102609924",
              "itemCode": "",
              "productName": "促销组火锅01",
              "salesOrderNum": "1.00",
              "saleAmount": "200.00",
              "transportationAmount": "0.00",
              "transactionAmount": "200.00",
              "orderStatus": "销售",
              "discountCode": "15.20",
              "comPaymentCode": "2014031985305171",
              "comPayDate": "2014-03-19 10:58:12",
              "consumerProtectionFund": "0.20",
              "conProOrder": "2014031985305169",
              "conProDate": "2014-03-19 10:58:12",
              "adCost": "",
              "adCostOrder": "",
              "adCostDate": "",
              "updateTime": "2014-03-20 01:00:32",
              "receiptDate": "2014-03-19 10:58:05",
              "commissionStatus": "扣款"
            },
            {
              "orderItemId": "00003392193802",
              "productCode": "102609938",
              "itemCode": "",
              "productName": "促销组火锅04",
              "salesOrderNum": "1.00",
              "saleAmount": "188.00",
              "transportationAmount": "0.00",
              "transactionAmount": "188.00",
              "orderStatus": "销售",
              "discountCode": "14.29",
              "comPaymentCode": "2014031985305175",
              "comPayDate": "2014-03-19 10:58:12",
              "consumerProtectionFund": "0.19",
              "conProOrder": "2014031985305173",
              "conProDate": "2014-03-19 10:58:12",
              "adCost": "",
              "adCostOrder": "",
              "adCostDate": "",
              "updateTime": "2014-03-20 01:00:32",
              "receiptDate": "2014-03-19 10:58:05",
              "commissionStatus": "扣款"
            }
          ]
        }
      ]
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.financialRecon.missing-parameter:startTime 开始时间不能为空 检查开始时间字段值
biz.financialRecon.missing-parameter:endTime 结束时间不能为空 检查结束时间字段值
biz.custom.financialRecon.invalid-biz:startTime 1.开始时间格式有误,格式应为yyyy-MM-dd HH:mm:ss 2.开始时间应在当前时间之前的三个月内 检查开始时间字段值
biz.custom.financialRecon.invalid-biz:endTime 1.结束时间格式有误,格式应为yyyy-MM-dd HH:mm:ss 2.开始时间与结束时间间隔不能超过1天 3.开始时间晚于结束时间 检查结束时间字段值
sys.check.pageno-format:error pageNo是正整数且最大为99999 检查输入的pageNo字段值
sys.check.pagesize-format:error pageSize是正整数且最大为100 检查输入的pageSize字段值
biz.handler.data-get:no-result 查询无结果 查询无结果
公共异常码
API工具
FAQ