Invoice Verification
Submit invoice code, number, date, amount, and verification code to validate the authenticity of VAT invoices, returning invoice type and seller information to assist financial compliance review.
Documentation
API Capabilities
The Invoice Information Verification API supports the verification of basic information for VAT invoices. By inputting key elements from the invoice face, the API can provide the verification result (e.g., verification passed) and return information such as the invoice type and seller name. This API aims to assist corporate finance personnel or automated systems in preliminary invoice information reconciliation, reducing financial compliance risks.
Request and Response
- Request Parameters: Core elements from the invoice face must be provided, including
invoiceCode(invoice code),invoiceNo(invoice number),invoiceDate(invoice date, format YYYY-MM-DD),invoiceAmt(invoice amount, excluding tax), andverCode(last six digits of the verification code). - Return Results: In the returned data, the
resultfield indicates the verification status (e.g., "Verification Passed"), while also providinginvoiceType(invoice type, such as VAT ordinary invoice) andseller(seller name). - Troubleshooting Failures: If verification fails, please carefully check if all input parameters exactly match those on the invoice, especially the date format and amount (whether it includes tax).
Use Cases
Integration Examples
Includes ready-to-use Shell, Python, Go, Java, and PHP examples for direct integration.
Request Example
{
"invoiceCode": "044001900111",
"invoiceNo": "00012345",
"invoiceDate": "2024-01-01",
"invoiceAmt": "100.00",
"verCode": "123456"
}Response Example
{
"code": "SUCCESS",
"message": "success",
"data": {
"result": "验证通过",
"invoiceType": "增值税普通发票",
"seller": "阿里巴巴(中国)有限公司"
}
}Request Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| invoiceCode | string | 044001900111 |
| invoiceNo | string | 00012345 |
| invoiceDate | string | 2024-01-01 |
| invoiceAmt | string | 100.00 |
| verCode | string | 123456 |
Response Fields
The fields below are derived from example JSON for integration reference only.
| Path | Type | Sample |
|---|---|---|
| code | string | SUCCESS |
| message | string | success |
| data | object | {...} |
| data.result | string | 验证通过 |
| data.invoiceType | string | 增值税普通发票 |
| data.seller | string | 阿里巴巴(中国)有限公司 |