阿里云发票核验 icon

阿里云发票核验

通过阿里云 API 验证增值税发票的真伪

阿里云发票核验

AI-generated

Summary

Verify the authenticity of a VAT invoice through the Aliyun Invoice Verification API using provided invoice details.

Inputs

  • invoiceCode — Invoice code (10-12 digits). Can be empty for electronic invoices of type 31 or 32.
  • invoiceNo (required) — Invoice number (8-20 digits, varies by invoice type).
  • invoiceDate (required) — Invoice issue date in YYYYMMDD format (e.g., 20231015).
  • invoiceSum — Invoice amount, filled according to invoice type: type 01,03,20 use tax-excluded amount; type 15 use total car price; type 31,32 use tax-included amount; blockchain invoices use tax-excluded amount.
  • verifyCode — Verification code last 6 digits. Required for invoice types 04,10,11,14 and blockchain invoices.
  • invoiceKind (required) — Invoice type selection: 0 for normal invoices (including VAT special, ordinary, and electronic); 1 for blockchain invoices (all parameters required).
  • continueOnFail — Whether to continue processing subsequent items if invoice verification fails; errors are included in output if enabled.

Output shape

a list of JSON objects

Each output item contains verification results or error details paired with the corresponding input item index.

Discussion