勞務報酬單生成器
✦ 受領人資訊
✦ 付款單位資訊
✦ 專案相關
✦ 稅務扣繳與實收金額
* 9A/9B 起扣點為 $20,001。50 所得稅率為 5%
* 單次給付滿 NT$20,000 且無證明,需扣繳 2.11% 補充保費
應付金額 (稅前):
NT$ 0
+ 營業稅 (5%):
NT$ 0
✦ 給付總額 (含稅):
NT$ 0
所得扣繳 (0%):
NT$ 0
二代健保補充保費 (2.11%):
NT$ 0
✦ 實收金額 (匯款金額):
NT$ 0
✦ 匯款資訊
✦ 簽署資訊
點擊上傳簽名圖檔
未上傳
✦ 附件 (請提供存摺、身分證等)
銀行匯款帳戶存摺影本
點擊上傳檔案
未上傳
身分證正面影本
點擊上傳檔案
未上傳
身分證反面影本
點擊上傳檔案
未上傳
工會/農漁會投保證明(可選)
點擊上傳檔案
未上傳
近期 5 筆紀錄
隱私保護說明
所有資料皆儲存於您的瀏覽器本地端(LocalStorage),不會上傳至任何伺服器,網站擁有者無法存取您的資料,清除瀏覽器資料將會同時刪除已儲存的勞務報酬單。
尚無歷史記錄
';return} historyList.innerHTML=history.map((data,index)=>`
${data.recipientName || '未命名'}
為 ${data.payerName || '未命名公司'} 的報酬單
日期:${data.paymentDate} | 總額:NT$ ${parseFloat(data.grossAmount || 0).toLocaleString()}
`).join('')}
function loadData(index){const history=JSON.parse(localStorage.getItem('remunerationHistory')||'[]');const data=history[index];if(!data)return;document.getElementById('recipientName').value=data.recipientName||'';document.getElementById('recipientId').value=data.recipientId||'';document.getElementById('recipientPhone').value=data.recipientPhone||'';document.getElementById('recipientNationality').value=data.recipientNationality||'local_resident';document.getElementById('recipientAddress').value=data.recipientAddress||'';document.getElementById('recipientCommAddress').value=data.recipientCommAddress||'';document.getElementById('payerName').value=data.payerName||'';document.getElementById('payerTaxId').value=data.payerTaxId||'';document.getElementById('payerAddress').value=data.payerAddress||'';document.getElementById('paymentDate').value=data.paymentDate||'';document.getElementById('projectName').value=data.projectName||'';document.getElementById('coopPeriod').value=data.coopPeriod||'';document.getElementById('serviceContent').value=data.serviceContent||'';document.getElementById('incomeType').value=data.incomeType||'9A';document.getElementById('grossAmount').value=data.grossAmount||'';document.getElementById('unionInsurance').value=data.unionInsurance||'no';document.getElementById('taxType').value=data.taxType||'included';document.getElementById('customVatRate').value=data.customVatRate||'5';document.getElementById('bankName').value=data.bankName||'';document.getElementById('accountNumber').value=data.accountNumber||'';document.getElementById('accountName').value=data.accountName||'';document.getElementById('branchName').value=data.branchName||'';document.getElementById('signatureDate').value=data.signatureDate||new Date().toISOString().slice(0,10);toggleVatInput();if(data.attachments){Object.keys(attachments).forEach(key=>delete attachments[key]);Object.assign(attachments,data.attachments);['attachBankbook','attachIDFront','attachIDBack','attachUnion','attachSignature'].forEach(key=>{const previewId=key.replace('attach','preview');const statusId=key.replace('attach','status');const preview=document.getElementById(previewId);const status=document.getElementById(statusId);const att=attachments[key];if(att&&att.data){if(att.type.startsWith('image/')){if(preview){preview.src=att.data;preview.style.display='block'}}else if(preview){preview.src='';preview.style.display='none'}
status.textContent='✦ 已上傳';status.style.color='#7D8F69'}else{if(preview){preview.src='';preview.style.display='none'}
status.textContent='未上傳';status.style.color='#A0653C'}})}
updateSignaturePreview();calculateTotal();alert(`已載入 ${data.recipientName} 的紀錄!`);window.scrollTo({top:0,behavior:'smooth'})}
function clearHistory(){if(confirm('確定要清除所有歷史記錄嗎?')){localStorage.removeItem('remunerationHistory');loadHistory();alert('歷史記錄已清除。')}}
window.onload=function(){toggleVatInput();calculateTotal();loadHistory();updateSignaturePreview()};document.getElementById('grossAmount').addEventListener('input',calculateTotal)
日期:${data.paymentDate} | 總額:NT$ ${parseFloat(data.grossAmount || 0).toLocaleString()}
