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

# Get invoice file URL

> Get a signed URL to access the invoice file from Google Cloud Storage. The URL is valid for 7 days.



## OpenAPI

````yaml get /v1/invoice/{id}/file-url
openapi: 3.0.0
info:
  title: ibana public api
  description: Public API for ibana
  version: 1.0.0
  contact:
    name: ibana
    url: https://ibana.io
    email: dev@ibana.io
servers:
  - url: http://localhost:3001
security: []
tags: []
paths:
  /v1/invoice/{id}/file-url:
    get:
      tags:
        - Invoice
      summary: Get invoice file URL
      description: >-
        Get a signed URL to access the invoice file from Google Cloud Storage.
        The URL is valid for 7 days.
      operationId: InvoiceController_getFileUrl_v1
      parameters:
        - name: id
          required: true
          in: path
          description: Invoice ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceFileUrlResponseDto'
      security:
        - bearer: []
components:
  schemas:
    InvoiceFileUrlResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the entity.
        createdAt:
          format: date-time
          type: string
          description: The date and time the entity was created.
        updatedAt:
          format: date-time
          type: string
          description: The date and time the entity was last updated.
        url:
          type: string
          description: Signed URL to access the invoice file. Valid for 7 days.
        mimeType:
          type: string
          description: MIME type of the invoice file. (e.g., application/pdf, image/png)
      required:
        - url
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````