> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoices

> A list of all invoices generated for the creditor.

## Purpose

Invoices let creditors review and download billing documents for membership charges, add-on charges, and other platform billing activity.

## How It Should Work

* It should list invoices that belong to the current creditor.
* It should show enough context to identify the charge, billing period, amount, and status.
* It should allow downloading invoices when the file exists.
* It should keep invoice records tied to the billing history that generated them.

## How It Should Not Work

* It should not show invoices from another creditor.
* It should not offer downloads for missing or unauthorized invoice files.
* It should not show invoice totals that disagree with billing history.

## Developer Notes

* Invoice generation and download access must remain scoped to creditor ownership.
* Invoice status should stay consistent with the related billing transaction.
