# The invoice object An invoice summarizes qualifying payments for one subject and fiscal year. ## Attributes - `id` (integer) — Identifier assigned by the API. - `fiscal_year` (integer) — Fiscal year covered by the certification. - `payment_type` (string) — Use incoming or outgoing. Generation defaults to incoming. - `subject_type` (string) — Use athlete or staff. - `subject_id` (integer) — ID of the athlete or staff member. - `currency` (string) — Three-letter currency code. - `amount` (integer) — Total amount in minor currency units. - `invoice_number` (integer) — Sequential certification number for the year and payment direction. - `invoice_code` (string) — Formatted certification code. - `payer_parent1_id` (integer or null) — ID of the first paying parent, when included. - `amount_parent1` (integer or null) — Amount attributed to the first parent, in minor units. - `payer_parent2_id` (integer or null) — ID of the second paying parent, when included. - `amount_parent2` (integer or null) — Amount attributed to the second parent, in minor units. - `certification_parent_mode` (string or null) — Certification format: athlete, single, joint, or separated. - `payment_count` (integer) — Number of payments included in the certification. - `first_receipt_at_ts` (integer or null) — First receipt time as Unix seconds. - `last_receipt_at_ts` (integer or null) — Last receipt time as Unix seconds. - `template_id` (integer or null) — ID of the selected print template. - `notes` (string or null) — Additional certification notes. - `tsc` (integer or null) — Creation time as Unix seconds. - `tsu` (integer or null) — Last update time as Unix seconds. ## Example Example with fictional data and selected fields. ```json { "id": 44, "fiscal_year": 2025, "payment_type": "incoming", "subject_type": "athlete", "subject_id": 42, "currency": "EUR", "amount": 18000, "invoice_number": 4, "invoice_code": "incoming-2025-000004", "payer_parent1_id": null, "amount_parent1": null, "payer_parent2_id": null, "amount_parent2": null, "payment_count": 3, "certification_parent_mode": "athlete", "template_id": 27, "notes": null } ```