Visma Supplier Invoices API

Invoices received from suppliers for goods or services provided to your business. Overview of Supplier Invoice Functionality: Supplier Invoices ___ Available in any of the following variants: * Pro * Standard * Bookkeeping * Solo

Operations 8

GET /supplierinvoices Get supplier invoices #
POST /supplierinvoices Create a supplier invoice #
GET /supplierinvoices/{id} Get a supplier invoice #
POST /supplierinvoices/{invoiceId}/payments Create a payment for a supplier invoice #
POST /supplierinvoices/transactionalcosts Validate transactional costs for a supplier invoice #
GET /supplierinvoices/{creditInvoiceId}/offsetcandidates Get available debit invoices that can be offset by a credit invoice #
POST /supplierinvoices/{creditInvoiceId}/offset Create an offset between a credit invoice and one or more debit invoices #
POST /supplierinvoices/{invoiceId}/offset/undo Undo an existing offset #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/visma-supplier-invoices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

visma-supplier-invoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bookkeeping & Invoicing/eAccounting API V2 Supplier…
  description: 'Visit our complete Bookkeeping & Invoicing/eAccounting API docs for how to get started, information about authentication, error handling, query customization and more.


    ✉ API Support'
  version: v2
servers:
- url: https://eaccountingapi.vismaonline.com/v2/
tags:
- name: Supplier Invoices
  description: 'Invoices received from suppliers for goods or services provided to your business.

    Overview of Supplier Invoice Functionality: Supplier Invoices


    ___


    Available in any of the following variants:

    * Pro

    * Standard

    * Bookkeeping

    * Solo'
paths:
  /supplierinvoices:
    get:
      tags:
      - Supplier Invoices
      summary: Get supplier invoices
      description: 'Get all supplier invoices, or add query parameters to filter the results. The response will include a list of supplier invoices with their details, such as amounts, dates, and associated accounting rows.


        ___

        Requires any of the following scopes:

        * ea:purchase

        * ea:purchase_readonly'
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponseOfSupplierInvoiceApi'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: getSupplierinvoices
      x-operation-id-source: derived
    post:
      tags:
      - Supplier Invoices
      summary: Create a supplier invoice
      description: 'Create a new supplier invoice.


        ___

        Requires any of the following scopes:

        * ea:purchase

        * ea:purchase_readonly'
      parameters:
      - name: useDefaultVatCodes
        in: query
        description: Use default VAT codes
        schema:
          type: boolean
          default: true
      - name: calculateVatOnCostAccounts
        in: query
        description: Calculate VAT on cost accounts automatically
        schema:
          type: boolean
          default: false
      - name: duplicateCheckExtendedValidation
        in: query
        description: Check if the invoice is duplicate
        schema:
          type: boolean
          default: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierInvoiceApi'
      responses:
        '201':
          description: Supplier invoice created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierInvoiceApi'
        '400':
          description: Supplier invoice can't be created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: postSupplierinvoices
      x-operation-id-source: derived
  /supplierinvoices/{id}:
    get:
      tags:
      - Supplier Invoices
      summary: Get a supplier invoice
      description: 'Get a specific supplier invoice by its unique identifier. The response includes all details of the invoice including accounting rows, amounts, dates, and supplier information.


        ___

        Requires any of the following scopes:

        * ea:purchase

        * ea:purchase_readonly'
      parameters:
      - name: id
        in: path
        description: This represents the Id of the Supplier Invoice.
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierInvoiceApi'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
        '404':
          description: Supplier invoice not found
      operationId: getSupplierinvoicesById
      x-operation-id-source: derived
  /supplierinvoices/{invoiceId}/payments:
    post:
      tags:
      - Supplier Invoices
      summary: Create a payment for a supplier invoice
      description: 'Create payment for a supplier invoice. The payment will be posted to the general ledger.


        ___

        Requires any of the following scopes:

        * ea:sales'
      parameters:
      - name: invoiceId
        in: path
        description: This represents the Id of the Supplier Invoice.
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvoicePaymentApi'
      responses:
        '201':
          description: Payment created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoicePaymentApi'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: postSupplierinvoicesByInvoiceIdPayments
      x-operation-id-source: derived
  /supplierinvoices/transactionalcosts:
    post:
      tags:
      - Supplier Invoices
      summary: Validate transactional costs for a supplier invoice
      description: 'Validate transactional costs for a supplier invoice.


        ___

        Requires any of the following scopes:'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionalCostsRequest'
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateDocumentResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: postSupplierinvoicesTransactionalcosts
      x-operation-id-source: derived
  /supplierinvoices/{creditInvoiceId}/offsetcandidates:
    get:
      tags:
      - Supplier Invoices
      summary: Get available debit invoices that can be offset by a credit invoice
      description: 'Get a list of debit invoices that can be offset against a specific credit invoice. Returns invoices from the same supplier that have remaining amounts available for offsetting. Use this endpoint to find eligible invoices before calling the create offset endpoint.


        ___

        Requires any of the following scopes:

        * ea:purchase

        * ea:purchase_readonly'
      parameters:
      - name: creditInvoiceId
        in: path
        description: The credit invoice ID
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierInvoiceOffsetCandidateApi'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
        '404':
          description: Credit invoice not found
      operationId: getSupplierinvoicesByCreditInvoiceIdOffsetcandidates
      x-operation-id-source: derived
  /supplierinvoices/{creditInvoiceId}/offset:
    post:
      tags:
      - Supplier Invoices
      summary: Create an offset between a credit invoice and one or more debit invoices
      description: 'Create an offset between a credit invoice and one or more debit invoices. This will create a voucher that reduces the remaining amounts on both the credit and debit invoices. The offset amount is automatically calculated based on the available amounts. Multiple debit invoices can be offset in a single request.


        ___

        Requires any of the following scopes:

        * ea:purchase'
      parameters:
      - name: creditInvoiceId
        in: path
        description: The credit invoice ID
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierInvoiceOffsetCreateApi'
      responses:
        '201':
          description: Offset created successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierInvoiceOffsetResponseApi'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: postSupplierinvoicesByCreditInvoiceIdOffset
      x-operation-id-source: derived
  /supplierinvoices/{invoiceId}/offset/undo:
    post:
      tags:
      - Supplier Invoices
      summary: Undo an existing offset
      description: 'Undo an existing offset between a credit invoice and one or more debit invoices. This will reverse the offset voucher and restore the remaining amounts on both the credit and debit invoices. The invoice ID can be either the credit invoice or any of the debit invoices that were part of the offset.


        ___

        Requires any of the following scopes:

        * ea:purchase'
      parameters:
      - name: invoiceId
        in: path
        description: The invoice ID (credit or debit) to undo offset for
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Offset undone successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierInvoiceOffsetUndoResponseApi'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: postSupplierinvoicesByInvoiceIdOffsetUndo
      x-operation-id-source: derived
components:
  schemas:
    SupplierInvoiceRowApi:
      type: object
      properties:
        Id:
          type: string
          description: Unique identifier provided by the system
          format: uuid
          readOnly: true
        AccountNumber:
          maximum: 9999999999
          minimum: 1
          type: integer
          description: The account number for this row
          format: int64
        AccountName:
          type:
          - string
          - 'null'
          description: The name of the account
          readOnly: true
        VatCodeId:
          type:
          - string
          - 'null'
          description: VAT code identifier (Denmark and Netherlands only)
          format: uuid
        VatAmount:
          type:
          - number
          - 'null'
          description: VAT amount for this row (Denmark and Netherlands only)
          format: double
        ProportionalVatRateValue:
          type:
          - integer
          - 'null'
          description: Proportional VAT rate value (Norway only)
          format: int32
        CostCenterItemId1:
          type:
          - string
          - 'null'
          description: First cost center item. Get from /v2/costcenters
          format: uuid
        CostCenterItemId2:
          type:
          - string
          - 'null'
          description: Second cost center item. Get from /v2/costcenters
          format: uuid
        CostCenterItemId3:
          type:
          - string
          - 'null'
          description: Third cost center item. Get from /v2/costcenters
          format: uuid
        Quantity:
          type:
          - number
          - 'null'
          description: Quantity with max 2 decimals (Dutch companies with agriculture support only)
          format: double
        Weight:
          type:
          - number
          - 'null'
          description: Weight with max 2 decimals (Dutch companies with agriculture support only)
          format: double
        DeliveryDate:
          type:
          - string
          - 'null'
          description: Delivery date (Dutch companies with agriculture support only)
          format: date-time
        HarvestYear:
          type:
          - integer
          - 'null'
          description: Harvest year (Dutch companies with agriculture support only)
          format: int32
        DebetAmount:
          type: number
          description: Debit amount with max 2 decimals
          format: double
        CreditAmount:
          type: number
          description: Credit amount with max 2 decimals
          format: double
        LineNumber:
          type: integer
          description: The line number of this row
          format: int32
          readOnly: true
        ProjectId:
          type:
          - string
          - 'null'
          description: Project identifier. Get from /v2/projects
          format: uuid
        TransactionText:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          description: Transaction text used in searchable column in Account Analysis
      additionalProperties: false
      description: Represents an accounting row/line in a supplier invoice
    CommonPaginationMetadata:
      required:
      - CurrentPage
      - PageSize
      - ServerTimeUtc
      - TotalNumberOfPages
      - TotalNumberOfResults
      type: object
      properties:
        CurrentPage:
          type: integer
          description: The current page number
          format: int32
        PageSize:
          type: integer
          description: The number of results per page
          format: int32
        TotalNumberOfPages:
          type: integer
          description: The total number of pages available
          format: int32
        TotalNumberOfResults:
          type: integer
          description: The total number of results available for the query
          format: int32
        ServerTimeUtc:
          type: string
          description: <strong>Possible values:</strong><br/>2017-07-21T17:32:28Z<br/><br/>The date-time notation as defined by RFC 3339, section 5.6.
          format: date-time
      additionalProperties: false
    SupplierInvoiceOffsetUndoResponseApi:
      required:
      - ReversedVoucherIds
      type: object
      properties:
        ReversedVoucherIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
          description: The IDs of the reversed vouchers
      additionalProperties: false
      description: Response model for undo offset
    PaginatedResponseOfSupplierInvoiceApi:
      required:
      - Data
      - Meta
      type: object
      properties:
        Meta:
          $ref: '#/components/schemas/CommonPaginationMetadata'
        Data:
          type: array
          items:
            $ref: '#/components/schemas/SupplierInvoiceApi'
      additionalProperties: false
    TransactionalCostsRequest:
      required:
      - InterpretedAttachments
      - SupplierInvoice
      type: object
      properties:
        SupplierInvoice:
          $ref: '#/components/schemas/SupplierInvoiceApi'
        InterpretedAttachments:
          type: array
          items:
            $ref: '#/components/schemas/AttachmentInterpretationApi'
          description: The attachment interpretations that are going to be posted with the invoice
      additionalProperties: false
    CommonError:
      type: object
      properties:
        Field:
          type:
          - string
          - 'null'
        ErrorCode:
          type:
          - string
          - 'null'
        Message:
          type:
          - string
          - 'null'
        Key:
          type:
          - string
          - 'null'
      additionalProperties: false
    ValidateDocumentResponse:
      type: object
      properties:
        TransactionCostWillBeCharged:
          type: boolean
          description: True if the attachment will be charged with transaction costs due to interpretation
        DisplayFirstTimeCostsInformation:
          type: boolean
          description: True the first time the user uses the interpretation service with transaction costs
        DisplayConsultantBillingInformation:
          type: boolean
          description: True if the user is a consultant and the company has not activated AutoInvoice collaboration
        PricePerDocument:
          type:
          - number
          - 'null'
          description: Price per document for the interpretation service
          format: double
        PriceCurrency:
          type:
          - string
          - 'null'
          description: Price currency for the interpretation service
      additionalProperties: false
    AllocationPeriodApi:
      required:
      - Rows
      type: object
      properties:
        Id:
          type: string
          description: Unique identifier of the allocation period
          format: uuid
          readOnly: true
        SupplierInvoiceDraftId:
          type:
          - string
          - 'null'
          description: Reference to a supplier invoice draft that may be associated with this allocation period
          format: uuid
          readOnly: true
        SupplierInvoiceDraftRow:
          type:
          - integer
          - 'null'
          description: Reference to a supplier invoice draft row that may be associated with this allocation period
          format: int32
          readOnly: true
        SupplierInvoiceId:
          type:
          - string
          - 'null'
          description: Reference to a supplier invoice that may be associated with this allocation period
          format: uuid
          readOnly: true
        SupplierInvoiceRow:
          type:
          - integer
          - 'null'
          description: Reference to a supplier invoice row that may be associated with this allocation period
          format: int32
          readOnly: true
        ManualVoucherId:
          type:
          - string
          - 'null'
          description: Reference to a possible manual voucher that this allocation period belongs to
          format: uuid
          readOnly: true
        ManualVoucherRow:
          type:
          - integer
          - 'null'
          description: Reference to a possible manual voucher row that this allocation period belongs to
          format: int32
          readOnly: true
        CustomerInvoiceId:
          type:
          - string
          - 'null'
          description: Reference to a possible customer invoice that this allocation period belongs to
          format: uuid
          readOnly: true
        CustomerInvoiceRow:
          type:
          - integer
          - 'null'
          description: Reference to a possible customer invoice row that this allocation period belongs to
          format: int32
          readOnly: true
        CustomerInvoiceDraftId:
          type:
          - string
          - 'null'
          description: Reference to a possible customer invoice draft that this allocation period belongs to
          format: uuid
          readOnly: true
        CustomerInvoiceDraftRow:
          type:
          - integer
          - 'null'
          description: Reference to a possible customer invoice draft row that this allocation period belongs to
          format: int32
          readOnly: true
        VoucherFiscalYearId:
          type:
          - string
          - 'null'
          description: Reference to fiscal year id of the voucher coresponding to the source type, if applicable
          format: uuid
          readOnly: true
        VoucherId:
          type:
          - string
          - 'null'
          description: Reference to a possible voucher that this allocation period belongs to
          format: uuid
          readOnly: true
        AllocationPeriodSourceType:
          type: integer
          description: <strong>Possible values:</strong><br/>0 = SupplierInvoice,<br/>1 = ManualVoucher,<br/>2 = CustomerInvoice,<br/>3 = CustomerInvoiceDraft
          format: int32
        Status:
          type: integer
          description: <strong>Possible values:</strong><br/>0 = Pending,<br/>1 = Revoked,<br/>2 = Booked,<br/>3 = CancelledNotBooked
          format: int32
        CostCenterItemId1:
          type:
          - string
          - 'null'
          description: Identifier of a cost center item associated with this allocation, if applicable
          format: uuid
          readOnly: true
        CostCenterItemId2:
          type:
          - string
          - 'null'
          description: Identifier of a cost center item associated with this allocation, if applicable
          format: uuid
          readOnly: true
        CostCenterItemId3:
          type:
          - string
          - 'null'
          description: Identifier of a cost center item associated with this allocation, if applicable
          format: uuid
          readOnly: true
        ProjectId:
          type:
          - string
          - 'null'
          description: Reference to a project, if applicable
          format: uuid
          readOnly: true
        BookkeepingDate:
          type: string
          description: Bookeeping date for this allocation period
          format: date-time
        CreatedUtc:
          type: string
          description: When the allocation was created
          format: date-time
          readOnly: true
        Rows:
          type: array
          items:
            $ref: '#/components/schemas/AllocationPeriodRowApi'
          description: The accounting rows/lines of this alocation
        DebitAccountNumber:
          type: integer
          description: The first debit account number for non VAT accounting rows/lines of this alocation
          format: int64
          readOnly: true
        CreditAccountNumber:
          type: integer
          description: The first credit account number for non VAT accounting rows/lines of this alocation
          format: int64
          readOnly: true
        Amount:
          type: number
          description: The amount of the first non VAT accounting row/line of this alocation
          format: double
          readOnly: true
        IsCredit:
          type: boolean
          description: Indicates whether the associated source invoice is of credit type
        SourceDate:
          type:
          - string
          - 'null'
          description: Voucher date or Invoice date if no source voucher
          format: date-time
          readOnly: true
        Description:
          type:
          - string
          - 'null'
          description: Voucher description or Invoice description if no source voucher
          readOnly: true
        NumberAndNumberSeries:
          type:
          - string
          - 'null'
          description: From source voucher or null if no source voucher
          readOnly: true
        ModifiedUtc:
          type:
          - string
          - 'null'
          description: Last UTC time the period was changed. If the allocation wasn't changed it takes the value of created UTC
          format: date-time
          readOnly: true
      additionalProperties: false
      description: Allocation period for distributing costs over time
    InvoicePaymentApi:
      required:
      - CompanyBankAccountId
      - PaymentAmount
      - PaymentCurrency
      - PaymentDate
      - PaymentType
      type: object
      properties:
        CompanyBankAccountId:
          type: string
          description: The bank account to which the payment is recorded
          format: uuid
        PaymentDate:
          type: string
          description: 'Future dates cannot be set. Date format: yyyy-mm-dd. Payment date must be sent in the timezone of the company instead of user''s location timezone.'
          format: date-time
        Reference:
          maxLength: 100
          minLength: 0
          type:
          - string
          - 'null'
          description: Payment's reference
        PaymentAmount:
          type: number
          description: 'Amount in invoice currency. If bank fee: for customer invoices, extract that amount here. For supplier invoices, do not extract bank fee amount here.'
          format: double
        PaymentCurrency:
          minLength: 1
          type: string
          description: Currency code of the payment amount.
        DomesticPaymentAmount:
          type: number
          description: 'Only for non domestic invoices paid with cheque account. If bank fee: for customer invoices, extract that amount here. For supplier invoices, do not extract bank fee amount here.'
          format: double
        BankFeeAmount:
          maximum: 1000000000
          minimum: 0
          type: number
          description: Bank fee amount
          format: double
        PaymentType:
          maximum: 4
          minimum: 1
          type: integer
          description: <strong>Possible values:</strong><br/>PartialPayment = 1,<br/>CompletePayment = 2,<br/>Rounding = 3,<br/>BankCharge = 4
          format: int32
        FactoringFeeAmount:
          type: number
          description: Factoring fee amount for the current invoice, supported only for customer invoice payments
          format: double
        FactoringFeeAccountNumber:
          type: integer
          description: Factoring account number, supported only for customer invoice payments
          format: int64
        BankTransactionId:
          type: string
          description: The internal id in the system of the bank transaction corresponding to the payment
          format: uuid
          readOnly: true
      additionalProperties: false
    SupplierInvoiceOffsetResponseApi:
      type: object
      properties:
        CreditInvoiceId:
          type: string
          description: The ID of the credit invoice
          format: uuid
        DebitInvoiceId:
          type: string
          description: The ID of the debit invoice that was offset
          format: uuid
      additionalProperties: false
      description: Response model for a created offset
    SupplierInvoiceOffsetCandidateApi:
      type: object
      properties:
        InvoiceId:
          type: string
          description: The invoice ID
          format: uuid
        InvoiceNumber:
          type:
          - string
          - 'null'
          description: The invoice number
        InvoiceDate:
          type:
          - string
          - 'null'
          description: The invoice date
          format: date-time
        SupplierName:
          type:
          - string
          - 'null'
          description: The supplier name
        RemainingAmount:
          type: number
          description: The remaining amount on the invoice
          format: double
        CurrencyCode:
          type:
          - string
          - 'null'
          description: The currency code
      additionalProperties: false
      description: Candidate invoice that can be offset
    CommonExtendedBadRequest:
      type: object
      properties:
        ErrorCode:
          type: integer
          format: int32
        DeveloperErrorMessage:
          type:
          - string
          - 'null'
        ErrorId:
          type: string
          format: uuid
        Errors:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CommonError'
      additionalProperties: false
    SupplierInvoiceApi:
      required:
      - InvoiceNumber
      - SupplierId
      - TotalAmount
      type: object
      properties:
        Id:
          type: string
          description: Unique Id provided by the system
          format: uuid
          readOnly: true
        SupplierId:
          type: string
          description: The supplier that issued this invoice. Get from /v2/suppliers
          format: uuid
        OffsetInvoiceIds:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
          description: 'Contains the IDs of invoices that this invoice has been offset against. For credit invoices: IDs of debit invoices that were offset. For debit invoices: IDs of credit invoices that offset this invoice.'
          readOnly: true
        BankAccountId:
          type: string
          description: The bank account associated with this invoice
          format: uuid
          readOnly: true
        InvoiceDate:
          type:
          - string
          - 'null'
          description: The date when the invoice was issued
          format: date-time
        PaymentDate:
          type:
          - string
          - 'null'
          description: The date when the invoice was paid
          format: date-time
          readOnly: true
        DueDate:
          type:
          - string
          - 'null'
          description: 'The date when the invoice payment is due. Default: Date based on the supplier''s terms of payment'
          format: date-time
        InvoiceNumber:
          minLength: 1
          type: string
          description: The supplier's invoice number
        TotalAmount:
          type: number
          description: The total amount of the invoice including VAT
          format: double
        Vat:
          type: number
          description: The VAT amount of the invoice
          format: double
        VatHigh:
          type: number
          description: VAT amount at high rate (Norway only)
          format: double
        VatMedium:
          type: number
          description: VAT amount at medium rate (Norway only)
          format: double
        VatLow:
          type: number
          description: VAT amount at low rate (Norway only)
          format: double
        IsCreditInvoice:
          type: boolean
          description: Indicates if this is a credit invoice
        CurrencyCode:
          maxLength: 3
          minLength: 0
          type:
          - string
          - 'null'
          description: The currency code for the invoice
        CurrencyRate:
          type: number
          description: The exchange rate used for currency conversion
          format: double
        OcrNumber:
          maxLength: 25
          minLength: 0
          type:
          - string
          - 'null'
          description: 'The OCR number for automated payment processing. Maximum length: 25 characters'
        Message:
          type:
          - string
          - 'null'
          description: A message or description for the invoice
        CreatedUtc:
          type:
          - string
          - 'null'
          description: When the invoice was created
          format: date-time
          readOnly: true
        ModifiedUtc:
          type:
          - string
          - 'null'
          description: When the invoice was last modified
          format: date-time
          readOnly: true
        PlusGiroNumber:
          type:
          - string
          - 'null'
          description: PlusGiro number for payment
          readOnly: true
        BankGiroNumber:
          type:
          - string
          - 'null'
          description: BankGiro number for payment
          readOnly: true
        Rows:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SupplierInvoiceRowApi'
          description: The accounting rows/lines of the invoice
        SupplierName:
          type:
          - string
          - 'null'
          description: The name of the supplier
          readOnly: true
        SupplierNumber:
          type:
          - string
          - 'null'
          description: The supplier's number
          readOnly: true
        IsQuickInvoice:
          type: boolean
          description: Indicates if this is a quick invoice
          readOnly: true
        IsDomestic:
          type: boolean
          description: Indicates if this is a domestic invoice
          readOnly: true
        RemainingAmount:
          typ

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/visma/refs/heads/main/openapi/visma-supplier-invoices-api-openapi.yml