# Keep my invoices in a legal archive — Finance › Archives légales (FoodEatUp)

An archived invoice is a copy of its Factur-X PDF, sealed by a SHA-256 fingerprint. The Legal archives screen lists them and checks that none has been changed.

Tutorial page : https://foodeatup.com/en/academy/finance/factures-archives

## What it is for
- Keep a fixed copy of each important invoice.
- Check in one step that an archive has not been altered.
- Download an invoice’s archive for an inspection.

## Why set it up
- The SHA-256 fingerprint changes if a single byte of the file changes.
- Each archive shows its date and its retention until ten years later.
- The archive is made from the invoice’s Factur-X PDF.

## Who is it for?
- Directeur
- Patron / gérant
- Responsable multi-sites

## Roles with access
- Gérant·e
- Boutique (réseau)
- Franchisé·e (réseau)
- Directeur·rice d'établissement
- Responsable commercial (view)
- Comptable

## Step by step
1. **Generate the Factur-X** — Open an invoice, then “Téléchargements et options” › “Générer Factur-X”.
2. **Archive the invoice** — In the same menu, tap “Archiver légalement” and confirm.
3. **Open the archives** — From the home screen, open Finance then “Archives légales”: each archive shows its customer and “Jusqu’au” its retention date.
4. **Check** — Tap “Vérifier” on an archive: FoodEatUp recomputes the fingerprint and says whether the invoice is intact.

## The result
Your six archived invoices, each with its customer, amount and retention date.

- **The owner** : Archives invoices, checks and downloads the archives.
- **The employee** : With the right to view invoices, consults the archives. Archiving needs the archiving right.

## Do it with your assistant
### My archives
> In FoodEatUp, for my establishment [number], list my archived invoices and the result of their last check.
What you get : The archives, with number, date, fingerprint and check result.
Tools used : list_invoice_archives

### One invoice
> In FoodEatUp, for my establishment [number], show me invoice [invoice number].
What you get : The invoice, its lines and its status.
Tools used : get_invoice

### Paid invoices
> In FoodEatUp, for my establishment [number], list this month’s paid invoices.
What you get : Paid invoices, ready for archiving.
Tools used : list_invoices

## What you gain
- Sealed copy : One fingerprint per archive.
- Quick check : Verify in one step.
- Ten years : The retention date is shown.
- Ready for inspection : The archive can be downloaded.

## The Chef’s tip
Archive an invoice as soon as it is paid: its Factur-X is up to date and the archive stays ready for an inspection.

## What is linked to this screen
- [Finance › Factures](https://foodeatup.com/en/academy/finance/factures) : Generate an invoice’s Factur-X
- [Finance › E-Reporting](https://foodeatup.com/en/academy/finance/factures-ereporting) : Prepare the month’s e-reporting
- [Service › Tax compliance](https://foodeatup.com/en/academy/service/service-fiscal) : See the till’s fiscal archives

## Frequently asked questions
**What if an archive has been changed?**
The check says so: the fingerprint no longer matches and the screen shows “Facture altérée”.

**Is a Factur-X needed to archive?**
Yes. The archive is a copy of the Factur-X PDF; generate it first from the invoice.

**How long is the archive kept?**
The screen shows a retention of ten years after the archiving date.

