CALCULATOR: PERSONAL PROVISIONAL TAX
Provisional Tax Calculator - Individuals
SARS Provisional Tax Calculator -
Individuals
Save As
Open
Print
Show A4 Preview
Tax Year:
Period:
1st Period
2nd Period
Taxpayer Information
TAX PAYER NAME
ID NUMBER
TAX NUMBER
Disclaimer: This calculation is an estimate based on the information
provided and uses the official SARS tax year rates and rebates. Please consult with a
registered tax practitioner for formal advice.
`);
preview.document.close();
}
function searchIndividual() { /* not used in single-user view */ }
// --- INIT ---
function init() {
const selector = document.getElementById('tax-year-selector');
Object.keys(taxData).sort((a,b) => b-a).forEach(year => {
const option = document.createElement('option');
option.value = year;
option.textContent = year;
selector.appendChild(option);
});
document.getElementById('tax-payer-name').addEventListener('input', (e) => updateIndividualMeta('name', e.target.value));
document.getElementById('id-number').addEventListener('input', (e) => { updateIndividualMeta('idNumber', e.target.value); updateDobFromId(e.target.value); });
document.getElementById('tax-number').addEventListener('input', (e) => updateIndividualMeta('taxNumber', e.target.value));
document.getElementById('dob').addEventListener('input', (e) => updateIndividualMeta('dob', e.target.value));
addIndividual();
renderTable();
renderCustomizeMenu();
window.addEventListener('click', (e) => {
if (!document.getElementById('customize-menu').contains(e.target)) {
document.getElementById('customize-dropdown').classList.add('d-none');
}
});
}
window.onload = init;