فاتورة ضريبية مبسطة
رقم الفاتورة:
= $invoices_row['number_style'] ?>
= $campany_info['company_name'] ?>
= $invoices_row['pu_name'] ?>
تاريخ:
= date('Y-m-d', strtotime($invoices_row['date_time'])) ?>
رقم تسجيل ضريبة القيمة المضافة:
= $campany_info['vat_number'] ?>
رقم السجل التجاري:
= $campany_info['commercial_register_number_10'] ?>
| الخدمات |
سعر الخدمة |
ضريبة القيمة المضافة |
السعر شامل ضريبة القيمة المضافة |
|
= $invoices_has_book_row['name'] ?>
|
= number_format((float) round($invoices_has_book_row['price'], 2), 2, '.', ''); ?>
|
= number_format((float) round(($invoices_has_book_row['price'] * $vat / 100), 2), 2, '.', ''); ?>
|
= number_format((float) round($invoices_has_book_row['price'] + ($invoices_has_book_row['price'] * $vat / 100), 2), 2, '.', ''); ?>
|
0) {
while ($invoices_discount_row = mysqli_fetch_assoc($get_invoices_discount_sql)) {
$total_des += $invoices_discount_row['discount'];
}
}
?>
اجمالي المبلغ الخاضع للضريبة
= number_format((float) round($total, 2), 2, '.', ''); ?>
0) {
?>
الخصم
= number_format((float) round($total_des, 2), 2, '.', ''); ?>
المجموع قبل الضريبة
= number_format((float) round( round($total, 2) - round($total_des, 2), 2), 2, '.', ''); ?>
ضريبة القيمة المضافة (15%)
= number_format((float) round(($total - $total_des) * $vat / 100, 2), 2, '.', ''); ?>
المجموع مع الضريبة (15%)
= number_format((float) round(($total - $total_des) + (($total - $total_des) * $vat / 100), 2), 2, '.', ''); ?>
--- إغلاق الفاتورة ---
8, // Adjust if necessary
'outputType' => QRCode::OUTPUT_IMAGE_PNG,
'eccLevel' => QRCode::ECC_L,
'scale' => 3, // Scale factor, adjust as needed
'imageBase64' => true, // Output as base64
]);
$qrcode = new QRCode($options);
$qrCodeBase64 = $qrcode->render($data);
?>
شكراً على زيارتكم
= $campany_info['link'] ?>