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

# Fetch terms

> Fetch the terms the party accepts before authorizing Invopop with ANAF, as Markdown.

Returns the terms as Markdown, so you can show them to your customer in your own interface before recording their acceptance.

> [!NOTE]
>
> Run the **Register with ANAF** step on the party first. See the [white label registration](https://docs.invopop.com/guides/ro-efactura-supplier.md#white-label-registration) flow.


## OpenAPI

````yaml GET /apps/gov-ro/v1/entry/{silo_entry_id}/terms
openapi: 3.1.0
info:
  contact:
    email: dev@invopop.com
    name: Invopop Developers
  description: >-
    Set of end-points that help you register parties with the Romania RO
    e-Factura app and download the official ANAF archives of their invoices
    through the API.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: Romania Service API
  version: 0.1.0
servers:
  - description: production
    url: https://api.invopop.com
security:
  - InvopopAuth: []
paths:
  /apps/gov-ro/v1/entry/{silo_entry_id}/terms:
    get:
      description: >-
        Fetch the terms the party accepts before authorizing Invopop with ANAF,
        as Markdown.
      parameters:
        - $ref: '#/components/parameters/SiloEntryID'
      responses:
        '200':
          description: The terms as Markdown.
          content:
            text/markdown:
              schema:
                type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    SiloEntryID:
      description: ID of the org.Party silo entry being registered.
      in: path
      name: silo_entry_id
      required: true
      schema:
        description: ID of the org.Party silo entry being registered.
        example: 5b45453c-cdd0-11ed-afa1-0242ac120002
        title: Silo Entry ID
        type: string
  responses:
    Unauthorized:
      description: Unauthorized - Missing or invalid token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: >-
        Not Found - The silo entry doesn't exist or belongs to another
        workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal Server Error - The request could not be processed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        message:
          description: Details of the error.
          type: string
  securitySchemes:
    InvopopAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        Use the `Bearer` scheme with a valid JWT token to authenticate requests.

        Example: `Authorization: Bearer <token>`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.