API接口目录

零售云业务

采购API
订单API
库存API
价格API
商品API
报表API
消息服务API
基础数据API
物流API
零售商认证API
发票API
快修回收API
云仓API
异常码自查工具
suning.retailer.issueinvoicesrcdoms.create 商城APP申请开发票接口
¥免费

商城APP申请开发票接口

公共参数
请求参数
名称 类型 是否必须 示例值 描述
invoiceIssueReqDTOStringN
invoiceTypeStringN1发票类型
invoiceTitleStringN11普通发票 公司名称+保存的发票抬头
snCustNumStringN11用户编码
companyNameStringN11公司名称
regTelStringN11注册电话
regBankStringN1111注册银行
regAccountStringN11开户账号
receiveNameStringN11收货人姓名
receiveTelStringN11收货人电话
receiveAddrStringN11收货人地址不能为空
taxNoStringN11纳税人识别号
regAddrStringN11注册地址
provCodeStringN11发票邮寄地址(省)
cityCodeStringN11发票邮寄地址(市)
districtCodeStringN11发票邮寄地址(区镇)
townCodeStringN11发票邮寄地址(对应B2C的"街道") 发票邮寄地址(对应于POS的"镇/街道办")
respListStringN
omsOrderItemNoStringN11订单号
appIdStringYappIdappId
响应参数
名称 类型 示例值 描述
respListString
omsOrderItemNoString11订单号
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <createIssueinvoicesrcdoms>
      <invoiceIssueReqDTO>
        <receiveTel>11</receiveTel>
        <regAccount>11</regAccount>
        <regTel>11</regTel>
        <districtCode>11</districtCode>
        <receiveAddr>11</receiveAddr>
        <provCode>11</provCode>
        <townCode>11</townCode>
        <cityCode>11</cityCode>
        <companyName>11</companyName>
        <snCustNum>11</snCustNum>
        <regAddr>11</regAddr>
        <receiveName>11</receiveName>
        <invoiceType>1</invoiceType>
        <regBank>1111</regBank>
        <taxNo>11</taxNo>
        <invoiceTitle>11</invoiceTitle>
      </invoiceIssueReqDTO>
      <appId>appId</appId>
      <respList>
        <omsOrderItemNo>11</omsOrderItemNo>
      </respList>
    </createIssueinvoicesrcdoms>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "createIssueinvoicesrcdoms": {
        "invoiceIssueReqDTO": {
          "receiveTel": "11",
          "regAccount": "11",
          "regTel": "11",
          "districtCode": "11",
          "receiveAddr": "11",
          "provCode": "11",
          "townCode": "11",
          "cityCode": "11",
          "companyName": "11",
          "snCustNum": "11",
          "regAddr": "11",
          "receiveName": "11",
          "invoiceType": "1",
          "regBank": "1111",
          "taxNo": "11",
          "invoiceTitle": "11"
        },
        "appId": "appId",
        "respList": [
          {
            "omsOrderItemNo": "11"
          }
        ]
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <createIssueinvoicesrcdoms>
      <respList>
        <omsOrderItemNo>11</omsOrderItemNo>
      </respList>
    </createIssueinvoicesrcdoms>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "createIssueinvoicesrcdoms": {
        "respList": [
          {
            "omsOrderItemNo": "11"
          }
        ]
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.retailer.createissueinvoicesrcdoms.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.srcdss 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ