为超过 100 万开发者提供专业的 API 服务,所有 API 均提供免费的服务

发票核验API 分享推荐

发票是财务收支的法定凭证,是企业统计运营服务的原始依据,只有取得合法、真实的发票,会计核算质量才有保障,企业才能进行正常报税。因此发票检验是很有必要的。

在这里我就给大家分享推荐一款发票检验的API —— APISpace发票核验API,可通过发票代码、发票号码、开票日期、合计金额、校验码等信息获取发票详情,包括销售方和购买方名称、开户银行、纳税人识别号、地址电话等信息以及发票税率、发票状态、税费和产品详情。

APISpace 上面还多有各种各样的API,包括常见的短信、物流、天气啥的,有需要的可以自己上去看看~

发票核验在哪些地方要用到呢?

  • 财务系统:可在企业财务人员做发票录入、形成财务凭证、员工报销等场景中确保无假票风险。
  • 电商平台:对顾客以及供应商的发票进行整理鉴别。
  • 银行保险证券:通过发票对企业的实际经营情况进行评估,需要对发票进行核验,判断真假。

接口详情

  • 请求方式:POST
  • 请求参数格式:FORMDATA
  • 请求参数:
  • 返回示例:
{
    tradeNo: "583681104251191296",
    chargeStatus: 1,
    message: "成功",
    data: {
        invoice: [{
            veritem: [{
                    name: "invoiceType",
                    content: "04",
                    desc: "发票类型"
                },
                {
                    name: "administrativeDivisionName",
                    content: "天津",
                    desc: "所属行政区名称"
                },
                {
                    name: "invoiceCode",
                    content: "012001800104",
                    desc: "发票代码"
                },
                {
                    name: "invoiceNumber",
                    content: "04083267",
                    desc: "发票号码"
                },
                {
                    name: "billingDate",
                    content: "2018-06-25",
                    desc: "开票日期"
                },
                {
                    name: "purchaserName",
                    content: "上海创蓝文化传播有限公司",
                    desc: "购方名称"
                },
                {
                    name: "purchaserTaxNo",
                    content: "913101165727226313",
                    desc: "购方税号"
                },
                {
                    name: "purchaserAddressPhone",
                    content: " ",
                    desc: "购方地址电话"
                },
                {
                    name: "purchaserBank",
                    content: " ",
                    desc: "购方开户行账户"
                },
                {
                    name: "salesName",
                    content: "滴滴出行科技有限公司",
                    desc: "销方名称"
                },
                {
                    name: "salesTaxNo",
                    content: "911201163409833307",
                    desc: "销方税号"
                },
                {
                    name: "salesAddressPhone",
                    content: "天津经济技术开发区南港工业区综合服务区办公楼C座103室12单元022-59002850",
                    desc: "销方地址电话"
                },
                {
                    name: "salesBank",
                    content: "招商银行股份有限公司天津自由贸易试验区分行122905939910401",
                    desc: "销方开户行账户"
                },
                {
                    name: "totalAmount",
                    content: "1045.12",
                    desc: "合计金额"
                },
                {
                    name: "totalTax",
                    content: "31.35",
                    desc: "合计税额"
                },
                {
                    name: "amountTax",
                    content: "1076.47",
                    desc: "价税合计"
                },
                {
                    name: "amountTaxCn",
                    content: "壹仟零柒拾陆圆肆角柒分",
                    desc: "价税合计_中文"
                },
                {
                    name: "remarks",
                    content: " ",
                    desc: "备注"
                },
                {
                    name: "machineCode",
                    content: "499099603455",
                    desc: "机器编码"
                },
                {
                    name: "checkCode",
                    content: "12310906740261766842",
                    desc: "校验码"
                },
                {
                    name: "state",
                    content: "1",
                    desc: "发票状态"
                }
            ],
            invoiceLists: [{
                invoiceList: [{
                    veritem: [{
                            name: "commodityName",
                            content: "*运输服务*客运服务费",
                            desc: "货物或应税劳务名称"
                        },
                        {
                            name: "specificationModel",
                            content: "无",
                            desc: "规格型号"
                        },
                        {
                            name: "unit",
                            content: "次",
                            desc: "单位"
                        },
                        {
                            name: "quantity",
                            content: "1.0",
                            desc: "数量"
                        },
                        {
                            name: "unitPrice",
                            content: "1045.116505",
                            desc: "单价"
                        },
                        {
                            name: "amount",
                            content: "1045.12",
                            desc: "金额"
                        },
                        {
                            name: "taxRate",
                            content: "0.03",
                            desc: "税率"
                        },
                        {
                            name: "tax",
                            content: "31.35",
                            desc: "税额"
                        }
                    ]
                }]
            }]
        }],
        message: {
            value: "查询成功",
            status: 2
        }
    },
    code: "200000"
}