# 📄 Get invoice file download links Get download links for invoice files in various e-invoicing formats. Returns signed S3 download URLs for the invoice in the requested format(s). If no format is specified, returns links for all available formats. Supported formats: - facturx: FacturX PDF with embedded XML (French standard) - ubl: Universal Business Language XML - cii: Cross Industry Invoice XML Args: invoice_id: The invoice ID to get download links for format: Optional specific format to get download link for Returns: InvoiceDownloadResponse with signed download URLs Endpoint: GET /invoicing/invoices/{invoice_id} Version: 1.0.0 ## Path parameters: - `invoice_id` (string, required) ## Query parameters: - `format` (any) ## Header parameters: - `X-PDP-Client-Id` (string, required) ID of the PDP Client for which the operation is performed ## Response 200 fields (application/json): - `invoice_id` (string, required) Invoice ID - `available_formats` (array, required) List of available download formats - `available_formats.format` (string, required) Invoice format Enum: "facturx", "ubl", "cii" - `available_formats.download_url` (string, required) Signed S3 download URL - `available_formats.expires_at` (string, required) When the download link expires - `available_formats.file_name` (string, required) Suggested filename for download - `available_formats.file_size` (any) File size in bytes - `available_formats.content_type` (string, required) MIME content type - `generated_at` (string, required) When the download links were generated ## Response 401 fields (application/json): - `error` (string, required) - `code` (integer, required) - `trace_id` (string, required) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (string, required) - `detail.type` (string, required) ## Response 400 fields ## Response 404 fields