Phase 6 ranks accounting natures and existing client Tally ledgers from confirmed learning, Phase 5 history, business context and conservative deterministic rules. It never posts to Tally.
{% endfor %}
{% elif query.supplier_name or query.supplier_gstin or query.hsn_code or query.description %}
No usable suggestion was produced. Map historical ledgers in Phase 5 or manually select a review-required nature after adding more transaction context.
{% endif %}
Learning Memory
Client-specific rules learned from reviewed selections. A correction lowers confidence in the rejected treatment and strengthens the confirmed one.
Top {{ learning_summary|length }}
Rule
Value
Nature
Ledger
Confirmed
Corrected
Confidence
{% for item in learning_summary %}
{{ item.rule.rule_type|replace('_',' ')|title }}
{{ item.rule.display_value }}
{{ item.nature.name }}
{{ item.rule.ledger_name or '-' }}
{{ item.rule.confirmation_count }}
{{ item.rule.rejection_count }}
{{ item.rule.confidence_percent }}%
{% else %}
No reviewed selections yet.
{% endfor %}
Recent Review Feedback
When
Supplier
Accepted
Suggested
Final Ledger
{% for event in events %}
{{ event.created_at_utc }}
{{ event.supplier_name or event.supplier_gstin or '-' }}
{{ 'Yes' if event.accepted_suggestion else 'Corrected' }}
{{ event.suggested_ledger_name or '-' }} · {{ event.suggested_confidence }}%