{{-- SCRUM-315 — internal inter-company re-invoice (holding → subsidiary). PDF template only. --}}
{{ $holding->name ?? 'Holding' }}
Refacturation inter-entreprises

Facture · {{ $invoice->invoice_number }}

Période : {{ $periodLabel }}
{{ $invoice->status === 'sent' ? 'Envoyée' : 'À valider' }}
Émetteur (holding)
{{ $holding->name ?? '—' }}
@if(!empty($holding?->siret))
SIRET {{ $holding->siret }}
@endif
Filiale refacturée
{{ $subsidiary->name ?? '—' }}
{{ $invoice->vehicle_count }} véhicule(s) affecté(s)
@foreach($buckets as $b) @endforeach
Poste de coûtMontant
{{ $b['label'] }} {{ number_format($b['amount'], 2, ',', ' ') }} €
Sous-total (coûts imputés){{ number_format((float) $invoice->sous_total, 2, ',', ' ') }} €
Marge holding @if($invoice->margin_type === 'percentage') ({{ rtrim(rtrim(number_format((float) $invoice->margin_value, 2, ',', ' '), '0'), ',') }} %)@endif {{ number_format((float) $invoice->margin_amount, 2, ',', ' ') }} €
Total à refacturer{{ number_format((float) $invoice->total, 2, ',', ' ') }} €
Document interne de refacturation inter-entreprises — {{ $holding->name ?? '' }} · Généré le {{ now()->format('d/m/Y') }}. Le sous-total agrège les dépenses opérationnelles, coûts contractuels, maintenance et la quote-part des frais de gestion des véhicules affectés à la filiale sur la période.