---
title: "TesmaLoadResult_DocumentMetadataResponse"
url: "https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a/schemas/TesmaLoadResult_DocumentMetadataResponse"
---

> Full API specification: https://developer.tesma.com/apis/tesma-platform-api-v1/versions/333907fb-f0a7-4e20-b01e-c9915c73321a.md

# TesmaLoadResult_DocumentMetadataResponse

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: tesma
  version: v1
servers:
  - url: https://api.tesma.com
components:
  schemas:
    DocumentMetadataResponse:
      additionalProperties: false
      properties:
        acceptanceCertificateId:
          format: int32
          type:
            - "null"
            - integer
        assetId:
          format: int64
          type:
            - "null"
            - integer
        collectionNumber:
          format: int32
          type:
            - "null"
            - integer
        customerContext:
          $ref: "#/components/schemas/CustomerContextResponse"
        documentCategory:
          $ref: "#/components/schemas/DocumentCategory"
        documentId:
          type:
            - "null"
            - string
        documentNumber:
          type:
            - "null"
            - string
        documentType:
          type:
            - "null"
            - string
        fileDate:
          format: date-time
          type:
            - "null"
            - string
        invoiceNumber:
          format: int32
          type:
            - "null"
            - integer
        isDeletable:
          type: boolean
        leaseScheduleId:
          format: int32
          type:
            - "null"
            - integer
        mimeType:
          type:
            - "null"
            - string
        serialNumber:
          type:
            - "null"
            - string
        shortName:
          type:
            - "null"
            - string
        stockId:
          format: int64
          type:
            - "null"
            - integer
      type: object
    CustomerContextResponse:
      additionalProperties: false
      properties:
        customerName:
          type:
            - "null"
            - string
        customerNumber:
          format: int32
          type: integer
        leaseCompany:
          format: int32
          type: integer
        leaseCompanyName:
          type:
            - "null"
            - string
      type: object
    DocumentCategory:
      enum:
        - masterLeaseAgreement
        - supplementalAgreement
        - leaseSchedule
        - carbonZeroCertificate
        - collection
        - erasureProtocol
        - invoice
        - credit
        - additionalDocument
        - report
        - ownDocument
        - scheduledExport
        - oneTimeExport
      type: string
    TesmaLoadResult_DocumentMetadataResponse:
      additionalProperties: false
      properties:
        data:
          items:
            $ref: "#/components/schemas/DocumentMetadataResponse"
          type:
            - "null"
            - array
          x-is-public: true
        groupCount:
          default: -1
          format: int32
          type: integer
        summary:
          items: {}
          type:
            - "null"
            - array
        totalCount:
          default: -1
          format: int32
          type: integer
      type: object
```
