> ## Documentation Index
> Fetch the complete documentation index at: https://api-doc.fidly.be/llms.txt
> Use this file to discover all available pages before exploring further.

# List Units Of Measure

> The units of measure a document line's `quantity` can be expressed in.

Both the symbol and the label are translated (a day is `j`/`Jour` in French, `d`/`Day` in
English). Only the units Fidly currently offers are listed; a unit that has been retired
disappears from here but is still accepted on a document, exactly as the PDF generator
still resolves it.



## OpenAPI

````yaml /openapi.json get /units-of-measure
openapi: 3.1.0
info:
  title: Fidly API
  version: 1.0.0
servers:
  - url: https://api.fidly.be
    description: Production
security: []
paths:
  /units-of-measure:
    get:
      tags:
        - reference
      summary: List Units Of Measure
      description: >-
        The units of measure a document line's `quantity` can be expressed in.


        Both the symbol and the label are translated (a day is `j`/`Jour` in
        French, `d`/`Day` in

        English). Only the units Fidly currently offers are listed; a unit that
        has been retired

        disappears from here but is still accepted on a document, exactly as the
        PDF generator

        still resolves it.
      operationId: list_units_of_measure_units_of_measure_get
      parameters:
        - name: language
          in: query
          required: true
          schema:
            type: string
            description: >-
              Language the labels are returned in, one of ['fr', 'en', 'nl',
              'de']. Required: a list of codes with no wording to display them
              is of no use, and there is no sensible language to pick on the
              caller's behalf.
            title: Language
          description: >-
            Language the labels are returned in, one of ['fr', 'en', 'nl',
            'de']. Required: a list of codes with no wording to display them is
            of no use, and there is no sensible language to pick on the caller's
            behalf.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UnitOfMeasureOut'
                title: Response List Units Of Measure Units Of Measure Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    UnitOfMeasureOut:
      properties:
        code:
          type: string
          title: Code
          description: The code to send in a line's `unit_code` (e.g. `C62`).
        symbol:
          anyOf:
            - type: string
            - type: 'null'
          title: Symbol
          description: >-
            Short form to display next to a quantity, in the requested language
            (`j` in French, `d` in English for a day).
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
          description: >-
            Full name of the unit, in the requested language (e.g. `Jour`,
            `Day`).
      type: object
      required:
        - code
        - symbol
        - label
      title: UnitOfMeasureOut
      description: >-
        A unit of measure a document line's `quantity` can be expressed in
        (UN/ECE Rec 20).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````