Experiment 4
Experiment 4 – Advanced Validation & Hybrid Corrections
This experiment introduces a more rigorous correction algorithm, combining rule-based logic with ABN validation and extended GST checks to ensure compliance with Australian standards.
Enhanced Correction Algorithm
• Includes ABN format validation (strict 11-digit structure)
• Extended GST correction logic with rounding to 2 decimals
• Integration of corrections across amount_total, GST, and ABN consistency
Mathematical Principles:
- ABN Validation:
ABN ∈ {d₁d₂...d₁₁ | dᵢ ∈ [0,9]} - Acceptable GST Rates:
rate ∈ {0.0, 0.1} - Amount Correction:
amount_total = round(amount_excl_tax + gst, 2) - GST Auto-correction:
gst_corrected = round(amount_excl_tax × 0.1, 2)
Validation Criteria:
- Strict ABN format verification (11 digits)
- Precision to 2 decimal places
- Compliance with AU tax rates (0% or 10%)
- Automatic correction of calculation errors
Result Verification Procedure
Recommended checks for corrected documents:
- ABN Validation: Confirm ABNs against ABR registry
- GST Audit: Ensure correct rate (0% or 10%) applied
- Arithmetic Check: Recalculate totals manually where needed
- Document Flow: Cross-check corrected values with original supplier documents
Data Input
• Receipts analysed: 6 with problems (from Experiment 2)
• Status: 5 with errors, 6 with warnings, 0 valid
Controls: