China Electronic Invoice API Verification Records

Archive the issued Chinese electronic invoice, its verification response, and the related accounting record so the finance team can retrieve the evidence later.

ArticlesPublished by ChinaValidatePublished December 3, 2026Last updated December 3, 2026

Verify a Chinese invoice using its printed details.

View API documentationAPI workspace
China Electronic Invoice API Verification Records

At a year-end review, a Chinese electronic invoice shows as verified in the payables ledger. The finance team can see a green icon, but nobody can tell which copy was checked, when the result was obtained or whether it was the invoice that was actually booked. The files in the shared inbox no longer have the names used during approval. Recovering a defensible record requires a link between the issued file, the verification result and the accounting entry.

Set up that link when the invoice enters the workflow. Save the issued electronic document and its source details. Record the ChinaValidate API request and response in the evidence store. Associate the evidence with a payable or journal reference under the relevant company, and retain the review and posting decisions. A later reviewer should be able to find those records by the invoice identifier even after the inbox or vendor account has moved. ChinaValidate invoice verification API

The documents an accounting archive preserves

The joint Ministry of Finance and National Archives Administration notice addresses the use of electronic accounting vouchers for reimbursement, accounting and archiving. Its conditions include verification of the voucher, reliable transmission and storage, detection of changes, and a system that can receive the voucher and metadata, follow approval procedures and prevent duplicate posting. It also addresses keeping the electronic voucher when a paper printout is used for the accounting process. These requirements concern the organization's accounting process as a whole. The invoice API response is one record of the verification step. Ministry of Finance and National Archives Administration notice on electronic accounting vouchers

The later rollout of electronic voucher accounting data standards gives implementers separate packages for document types, with element lists, examples and supporting material. Find the standard that applies to your issued format. A readable preview can help a reviewer, while the system should retain the electronic document and metadata required for retrieval. The accounting archive's file formats, approvals and retention rules should come from the applicable legal and organizational requirements. Electronic voucher accounting data standards · Measures for the administration of accounting archives

Three records with stable links

The issued document record needs a stable identifier. Capture the original filename, received format, receipt time, source and storage reference. If the same invoice arrives as an issued file and as a printout or screenshot, record which is the issued document and which is a related representation. A file digest can support later integrity checks. It tells you whether those exact bytes changed. It does not say whether two separately rendered files describe the same invoice.

The verification record needs the endpoint used, the exact relevant request values, the outcome and time, and a link to the source document or file version. A field request can be traced to copied values from the document. A PDF or OFD verification submission can be traced to the file attached to the request. Preserve the original application response, including data received and an explicit outcome if available. Keep credentials out of the evidence, and make the full response available through the authorized accounting or audit system. PDF verification API · OFD verification API

The accounting record belongs to the correct ledger and should retain the organization, payable or journal reference, posting period, and the approval evidence used. A verification time is independent of the issue date and the ledger period. Link the exact invoice and verification to each relevant accounting entry according to the organization's rules. If one invoice allocates across more than one order or accounting line, store those allocations while preserving a single record of the issued invoice.

Here is one illustrative internal record. These keys describe a data model you can implement in your finance system. The endpoint's documented response is stored separately under the verification reference.

{
  "invoice_number": "25322000000000123456",
  "source_document_id": "doc-0042",
  "verification_attempt_id": "verify-0116",
  "accounting_entry_id": "payable-0038"
}

Keep the invoice number as text. The State Taxation Administration specifies a 20-digit number for fully digital electronic invoices. Preserve the invoice code as applicable for older formats. Treat internal references as stable keys even when the descriptive file name or spreadsheet row changes. This lets a user search with an exact identifier and get back to the underlying document without guessing how it was renamed. State Taxation Administration digital invoice announcement

Capture repeated checks without losing history

An invoice can be verified again when a clearer file arrives, corrected request values become available, or an accounting workflow requires a fresh observation. Store each relevant verification attempt with its own time and relationship to the evidence. Select which result was relied on for a particular decision. An auditor may need the answer the team saw at the time of posting, not only the latest result.

Take a document with a verification mismatch because a clerk first entered the net amount in the digital-invoice gross total field. The next attempt uses the correct original value and obtains a match. Keep the attempts linked to the same source and store both outcomes. Record which observed match supported approval. A result that simply overwrites the mismatch leaves the team with no explanation of what changed.

If a supplier later issues a replacement or separate adjustment, create a related record and retain the independently issued invoice identifier and file. Preserve the relationships with the original posting and any correction or reversal. A name update can be made to the vendor master without rewriting the buyer and seller values that were on the historical invoice. A finance team should still be able to inspect the full sequence at period close.

Evidence that survives a move

An internal link should keep working after storage is reorganized. Store the object reference behind an authorized retrieval service that respects the accounting file's access rules. Avoid using a temporary download URL as the only durable reference. Keep file data and identifiers under the same retention policy where applicable. For a controlled migration, verify that a sample object can be retrieved and that its content corresponds to the saved integrity record.

Keep evidence retrieval usable by ordinary accounting staff. A search by invoice number, supplier or payable should show the source format, buyer and seller, relevant dates, verification result and associated journal references. Show exact dates and their roles. A mismatch must be distinguishable from a failed request or a missing file. Give reviewers access to evidence within their role, with an audit record of the checks they carry out. Avoid routinely exposing the underlying invoice in shared logs or email attachments.

If a batch import retries after recording a verification result but before the archive link is saved, look for the existing result and finish the missing association. A repeat must leave the references consistent. Likewise, retesting a document should create a new observation only when a new verification was actually performed. Use the initiative's own transaction boundaries and IDs to keep archives, ledgers and verification results in sync.

An export for an authorized review

Agree on a dated export scope before giving a team evidence. The list of included invoice identifiers, ledger entities, posting periods and related verification records should be explicit. A workbook with status labels can serve as an index. Link that index to original files and responses through the authorized archive, and export the objects and exact identifiers when the requester is entitled to receive them.

For example, a reviewer asks for a quarter of purchases for a single Mainland entity. Select entries by the ledger company and period. Then follow the stored link to the relevant documents and results, even when an invoice was originally delivered through a group-wide mailbox. Include adjustment relationships among the selected records. If an adjustment has a related document outside the period, show its reference so the reviewer knows what they need to request next. Save the export date, selection criteria and access decision. This gives the team a reliable way to repeat the review without using file names as a substitute for archive identifiers.

A retrieval exercise before adoption

Test a fully digital invoice whose original XML and human-readable copy are both recorded. Locate it using its invoice number and navigate from the ledger to the original electronic file and its verification. Test a mismatched result that was corrected and confirm that both attempts survive. Test an adjustment associated with an earlier posting and verify that both issued documents can still be retrieved independently. A second upload of the same attachment should be traceable without producing another payable.

Also simulate losing access to a source object after the summary has been saved. The system should alert the reviewer that the underlying document cannot be retrieved. A summary field and an old success status can still be visible, but the retrieval exercise should fail at the missing file step. That makes archive integrity actionable, while the original verification history stays recognizable.

Archive verification needs a simple final question: can another authorized person reproduce the chain of evidence? Start from a payable and find the issued file, the exact observed verification response, the approval and the related accounting entry. Repeat from the invoice number in the other direction. When the two searches lead to the same evidence and distinguish the original record from later changes, the archive has enough structure to support day-to-day review and period-end work.