文档中心 > API类目 > 场景金融保险

qimen.alibaba.finance.insurance.tro.tax.invoice.apply (tro在线开票申请)

tro在线开票申请

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
applyType Number 可选 58 开票方式 :1跟单 2汇总
salesTaxInvoiceSendDTO SalesTaxInvoiceSendDTO 可选 收件信息
  • └ address
  • String
  • 可选
  • test_55a25a4384c3
  • 收件地址
  • └ postType
  • Number
  • 可选
  • 18
  • 寄送类型
  • └ recipient
  • String
  • 可选
  • test_340ec2d2d956
  • 收件人
  • └ mobile
  • String
  • 可选
  • test_4fead4c60edd
  • 手机号码
  • └ telephone
  • String
  • 可选
  • test_61254424a23f
  • 收件人电话
  • └ email
  • String
  • 可选
  • test_f57ff46974e9
  • email
salesTaxPolicyNoList SalesTaxPolicyNoList [] 可选
  • 最大列表长度:999999
  • 保单信息
    • └ applyPremium
    • Number
    • 可选
    • 16.13
    • 开票保费
    • └ policyNo
    • String
    • 可选
    • test_f3ae6786fdcd
    • 保单号
    applySource Number 可选 96 icbu:3
    applyCurrency String 可选 test_fa320b938e69 币种:CNY
    salesTaxBuyerDTO SalesTaxBuyerDTO 可选 销项税购方信息
    • └ invTitle
    • String
    • 可选
    • test_7e39e0dc171e
    • 发票抬头
    • └ registerAddress
    • String
    • 可选
    • test_41a65024ec36
    • 注册地址
    • └ registerPhone
    • String
    • 可选
    • test_f2f67b4dc72a
    • 注册电话
    • └ taxpayerBankName
    • String
    • 可选
    • test_84ca576911a9
    • 开户行名称
    • └ remark
    • String
    • 可选
    • test_41b0f21468a6
    • 备注
    • └ taxpayerBankNo
    • String
    • 可选
    • test_32dba84cfd85
    • 开户行帐号
    • └ taxNo
    • String
    • 可选
    • test_3d44116f25b5
    • 纳税人识别号
    invoiceApplyNo String 可选 1233 票据号
    applyDate String 可选 2024-10-08 08:44:37 申请日期
    invType String 必须 test_db9f20d1b2c4 发票类型

    响应参数

    名称 类型 示例值 描述
    responseCode String OK xxx
    responseMessage String success xxx
    success String true xxx
    content Content 1234 相应内容
    • └ invoiceApplyNo
    • String
    • 1234
    • 票据号

    请求示例

    {"applyType":58,"invType":"test_db9f20d1b2c4","salesTaxInvoiceSendDTO":{"address":"test_55a25a4384c3","postType":18,"recipient":"test_340ec2d2d956","mobile":"test_4fead4c60edd","telephone":"test_61254424a23f","email":"test_f57ff46974e9"},"salesTaxPolicyNoList":[{"applyPremium":0,"policyNo":"test_f3ae6786fdcd"}],"applySource":96,"applyCurrency":"test_fa320b938e69","salesTaxBuyerDTO":{"invTitle":"test_7e39e0dc171e","registerAddress":"test_41a65024ec36","registerPhone":"test_f2f67b4dc72a","taxpayerBankName":"test_84ca576911a9","remark":"test_41b0f21468a6","taxpayerBankNo":"test_32dba84cfd85","taxNo":"test_3d44116f25b5"},"invoiceApplyNo":"1233","applyDate":"2024-10-08 08:44:37"}

    响应示例

    {
        "responseCode":"OK",
        "responseMessage":"success",
        "success":"true",
        "content":{
            "invoiceApplyNo":"1234"
        }
    }

    验签示例

    {"success":"false","responseMessage":"Illegal request","responseCode":"sign-check-failure"}

    错误码解释

    错误码 错误描述 解决方案
    isp.http-read-timeout

    API工具

    FAQ

    返回
    顶部