@extends('layouts.app') @section('title', 'eTIMS') @section('content')

eTIMS

Every tax invoice, credit and debit note generated at checkout, with KRA submission status. Submission happens automatically when an order or tab closes.

@can('taxes.view') Tax & levy settings @endcan
@unless (config('pos.etims.enabled'))
Live eTIMS submission is disabled (ETIMS_ENABLED=false). Invoices are still generated at checkout for your records, but nothing is sent to KRA until this is switched on and the device serial / branch ID are configured.
@endunless
@forelse ($invoices as $invoice)
@csrf
@empty @endforelse
Invoice #TypeSourceTaxableVATTotaleTIMS status
{{ $invoice->invoice_number }} {{ ucwords(str_replace('_', ' ', $invoice->type)) }} {{ class_basename($invoice->invoiceable_type) }} #{{ $invoice->invoiceable_id }} {{ number_format($invoice->taxable_amount, 2) }} {{ number_format($invoice->vat_amount, 2) }} {{ number_format($invoice->grand_total, 2) }} {{ ucfirst($invoice->etims_status) }} @if ($invoice->etims_retry_count)×{{ $invoice->etims_retry_count }}@endif
Print @if ($invoice->etims_status === 'failed' && auth()->user()->can('etims.manage'))
@csrf
@endif @if ($invoice->type === 'tax_invoice') @can('etims.manage') @endcan @endif
No invoices yet — they're created automatically when an order or tab closes.
{{ $invoices->links() }}
@endsection