verify_import
Verify a locally imported batch against Tally, write Proof-of-Post files, and report posted, unverified, and duplicate vouchers without posting to Tally.
Instructions
Read back a manually imported local batch and write Proof-of-Post files. This never dispatches import XML to Tally. The result gives verification_status, counts, every voucher that is not posted_verified (unverified_vouchers; for a native post a voucher may be bound_not_in_window, book_rolled_back or sent_not_attributed, never absence, with post_span_binding naming how the post was attributed and a plain summary to give the person first; a book restored from a backup and then keyed past the post's voucher mark before this check is not seen as rolled back, and if Tally then reused the post's MasterIDs a bound voucher could read posted_verified while being another voucher with the same content: unmeasured, bridge#1050), duplicates, unrelated_duplicates_in_window and ambiguous_within_batch in full, never cut to fit. Only the posted_verified vouchers are paged, as items from offset out of verified_total; when the response cap shortens them it sets truncated and next_offset. To read further pages, call again with proof_sha256 set to the returned proof.sha256 and offset set to next_offset: those pages come from the persisted proof and never read Tally again. The call is refused with verification_proof_changed if a newer verification replaced that proof, and with verification_too_large_to_report if the parts never cut do not fit the response cap. The full proof is always written to disk. Reads the batch's date window from Tally, then creates or replaces the batch's saved proof files and saves a status record, and may also save a verified baseline, a masters-check record and, for a native post, the binding of its vouchers to the Tally vouchers its post created, in ComplyEaze Bridge's local folder on this computer (paging an existing proof only reads it); writes nothing to Tally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| batch_id | Yes | ||
| company_guid | Yes | ||
| proof_sha256 | No |