فاتورة إلكترونية {{ $einvoice->invoice_number }}
@switch($einvoice->invoice_type) @case('standard') فاتورة ضريبية قياسية @break @case('simplifixed') فاتورة ضريبية مبسطة @break @case('debit_note') إشعار مدين @break @case('credit_note') إشعار دائن @break @default {{ $einvoice->invoice_type }} @endswitch
@switch($einvoice->status) @case('generated') تم الإنشاء @break @case('signed') تم التوقيع @break @case('reported') تم الإبلاغ @break @case('cleared') تمت المقاصة @break @case('rejected') مرفوضة @break @default {{ $einvoice->status }} @endswitch

رقم الفاتورة: {{ $einvoice->invoice_number }}

تاريخ الفاتورة: {{ $einvoice->invoice_date->format('Y-m-d') }}

تاريخ الاستحقاق: {{ $einvoice->due_date ? $einvoice->due_date->format('Y-m-d') : 'غير محدد' }}

{{ $einvoice->seller_name }}

الرقم الضريبي: {{ $einvoice->seller_ta_number }}

@if($einvoice->seller_address)

العنوان: {{ $einvoice->seller_address }}

@endif @if($einvoice->seller_contact)

الاتصال: {{ $einvoice->seller_contact }}

@endif
فاتورة ضريبية إلكترونية
رمز QR للفاتورة

معلومات البائع

الاسم: {{ $einvoice->seller_name }}

الرقم الضريبي: {{ $einvoice->seller_ta_number }}

@if($einvoice->seller_address)

العنوان: {{ $einvoice->seller_address }}

@endif @if($einvoice->seller_contact)

الاتصال: {{ $einvoice->seller_contact }}

@endif

معلومات المشتري

الاسم: {{ $einvoice->buyer_name }}

@if($einvoice->buyer_ta_number)

الرقم الضريبي: {{ $einvoice->buyer_ta_number }}

@endif @if($einvoice->buyer_address)

العنوان: {{ $einvoice->buyer_address }}

@endif @if($einvoice->buyer_contact)

الاتصال: {{ $einvoice->buyer_contact }}

@endif
@foreach ($einvoice->items as $inde => $item) @endforeach
# المنتج الوصف الكمية سعر الوحدة الخصم المبلغ قبل الضريبة الضريبة الإجمالي
{{ $inde + 1 }} {{ $item->name }} @if ($item->item_code)
{{ $item->item_code }}
@endif
{{ $item->description ?: '-' }} {{ $item->quantity }} {{ $item->unit ?: '' }} {{ number_format($item->unit_price, 2) }} {{ $item->discount_rate > 0 ? $item->discount_rate . '%' : '-' }} {{ number_format($item->subtotal, 2) }} {{ $item->ta_rate }}% ({{ number_format($item->ta_amount, 2) }}) {{ number_format($item->total, 2) }}
@if($einvoice->discount_amount > 0) @endif
المبلغ قبل الضريبة: {{ number_format($einvoice->subtotal, 2) }} ريال
مبلغ الخصم: {{ number_format($einvoice->discount_amount, 2) }} ريال
مبلغ الضريبة: {{ number_format($einvoice->ta_amount, 2) }} ريال
المبلغ الإجمالي: {{ number_format($einvoice->total_amount, 2) }} ريال
@if($einvoice->notes)

ملاحظات

{{ $einvoice->notes }}

@endif