{{ draft.voucher_type }}
{{ draft.status|replace('_',' ')|title }}
Draft #{{ draft.id }}
{{ draft.company_name }} · {{ draft.voucher_date }}{% if draft.reference %} · Ref {{ draft.reference }}{% endif %}
Nature: {{ draft.business_nature|replace('_',' ')|title }} · Source: {{ draft.source_type }} · Audit use: {{ draft.audit_area or 'General Ledger' }}
{% if draft.narration %}{{ draft.narration }}
{% endif %}
₹{{ '%.2f'|format(draft.total_debit) }}
{% if draft.tally_voucher_number %}Tally voucher {{ draft.tally_voucher_number }}
{% endif %}
| Ledger | Role | Dr/Cr | Amount |
|---|---|---|---|
| {{ line.ledger_name }} | {{ role_labels.get(line.ledger_role_code, line.ledger_role_code) }} | {{ line.dr_cr }} | ₹{{ '%.2f'|format(line.amount) }} |
Stock-item allocation
| Stock Item | HSN | Qty | Unit | Rate | Amount | Accounting Ledger |
|---|---|---|---|---|---|---|
| {{ item.stock_item_name }} | {{ item.hsn_sac or '-' }} | {{ item.quantity }} | {{ item.unit or '-' }} | {{ '%.4f'|format(item.rate) }} | ₹{{ '%.2f'|format(item.amount) }} | {{ item.accounting_ledger_name }} |
{{ draft.last_error }}
{% endif %}
{% if draft.status == 'preflight_ready' %}Tally preflight completed. Ledger existence, balancing and duplicate checks completed.
{% endif %}
{% if draft.status == 'draft' %}
{% endif %}
{% if draft.status == 'reviewed' %}
{% endif %}
{% if draft.status in ['approved','preflight_failed'] %}
{% endif %}
{% if draft.status == 'preflight_ready' %}
{% endif %}
{% if draft.status not in ['posted','void','preflight_queued','preflight_claimed','posting_queued','posting_claimed'] %}
{% endif %}