Visma Purchase Receipt V2 API

The PurchaseReceiptV2 API from Visma — 2 operation(s) for purchasereceiptv2.

Operations 2

GET /v2/PurchaseReceipt/{receiptNumber} Get a specific Purchase Receipt #
GET /v2/PurchaseReceipt Get a range of Purchase Receipts - ScreenId=PO302000 Please use a page size… #

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-purchasereceiptv2-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-purchasereceiptv2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Visma.net ERP Purchase Receipt V2 API
  version: v1
servers:
- url: https://api.finance.visma.net
tags:
- name: PurchaseReceiptV2
paths:
  /v2/PurchaseReceipt/{receiptNumber}:
    get:
      tags:
      - PurchaseReceiptV2
      summary: Get a specific Purchase Receipt
      description: 'Data for a single Purchase Receipt.


        The response headers include an ETag after a successful GET operation.'
      operationId: PurchaseReceiptV2_GetPurchaseReceiptByreceiptNumber
      parameters:
      - name: receiptNumber
        in: path
        description: Identifies the Purchase Receipt
        required: true
        schema:
          type: string
      - name: includeCustomFreeFields
        in: query
        description: Optional parameter to request custom free fields.
        schema:
          type: boolean
      - name: erp-api-background
        in: header
        description: 'Accepts the request and queues it to be executed in the background by our least busy worker. Responds with 202 Accepted and a document containing a JobId reference and details state location.

          Supported values:

          * a URL: when the background operation is finished, a notification will be posted to the URL with a document containing a reference id, status code and a details state location.

          * "none" (without quotes): Fire and forget; no notification will be sent when background operation is finished.

          * "subscription[:<name_1>=<value_1>,..,<name_n>=<value_n>]" (without quotes): when the background operation is finsihed, a notification is posted to the Webhook subscription set up in Developer Portal for your integration client.

          Optionally a set of name-value pairs can be added. These will be sent as headers in the POST request to the Webhook subscription''s url.


          To find status and details of a background-api operation, GET .. v1/background/{id}. To get the response payload of a background-api operation, if any, GET .. v1/background/{id}/content'
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseReceiptDto'
            text/json:
              schema:
                $ref: '#/components/schemas/PurchaseReceiptDto'
        '202':
          description: Server accepted and queued the request for background execution.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackgroundApiAcceptedDto'
            text/json:
              schema:
                $ref: '#/components/schemas/BackgroundApiAcceptedDto'
      security:
      - interactiveapi: []
  /v2/PurchaseReceipt:
    get:
      tags:
      - PurchaseReceiptV2
      summary: Get a range of Purchase Receipts - ScreenId=PO302000 Please use a page size…
      operationId: PurchaseReceiptV2_GetAllReceipts
      parameters:
      - name: receiptType
        in: query
        schema:
          enum:
          - PoReceipt
          - PoReturn
          - TransferReceipt
          type: string
      - name: status
        in: query
        schema:
          enum:
          - Hold
          - Balanced
          - Released
          - Cancelled
          type: string
      - name: greaterThanValue
        in: query
        schema:
          type: string
      - name: lastModifiedDateTime
        in: query
        description: 'This value, generated by the system, indicates the last time the record was modified. Use it to retrieve all records that have been modified since that time, up to the present.


          Accepted format:

          * ```yyyy-MM-dd```

          * ```yyyy-MM-dd HH:mm:ss```

          * ```yyyy-MM-dd HH:mm:ss.FFF```

          * ```yyyy-MM-ddTHH:mm:ss```

          * ```yyyy-MM-ddTHH:mm:ss.FFF```


          _Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__.'
        schema:
          type: string
      - name: lastModifiedDateTimeCondition
        in: query
        description: 'This value represents the condition to be applied when retrieving records.


          Accepted values (without the single quotes):

          * ''&gt;'' for greater than

          * ''&lt;'' for less than

          * ''&gt;='' for greater than or equal

          * ''&lt;='' for less than or equal


          _Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__.'
        schema:
          type: string
      - name: supplier
        in: query
        schema:
          type: string
      - name: poOrderNbr
        in: query
        schema:
          type: string
      - name: expandNote
        in: query
        schema:
          type: boolean
      - name: branch
        in: query
        schema:
          type: string
      - name: finPeriod
        in: query
        description: Filter by financial period, format YYYYPP
        schema:
          type: string
      - name: receiptDate
        in: query
        description: 'This value indicates the receipt date. Use it to retrieve all records that have the receipt date since that time, up to the future.


          Accepted format:

          * ```yyyy-MM-dd```

          * ```yyyy-MM-dd HH:mm:ss```

          * ```yyyy-MM-dd HH:mm:ss.FFF```

          * ```yyyy-MM-ddTHH:mm:ss```

          * ```yyyy-MM-ddTHH:mm:ss.FFF```


          _Note:_ __ReceiptDate__ and __ReceiptDateCondition__ are __mutually inclusive__.'
        schema:
          type: string
      - name: receiptDateCondition
        in: query
        description: 'This value represents the condition to be applied to the order date when retrieving records.


          Accepted values (without the single quotes):

          * ''&gt;'' for greater than

          * ''&lt;'' for less than

          * ''&gt;='' for greater than or equal

          * ''&lt;='' for less than or equal


          _Note:_ __ReceiptDate__ and __ReceiptDateCondition__ are __mutually inclusive__.'
        schema:
          type: string
      - name: dueDate
        in: query
        description: 'This value indicates the date the document is due. Use it to retrieve all records that have the due date since that time, up to the future.


          Accepted format:

          * ```yyyy-MM-dd```

          * ```yyyy-MM-dd HH:mm:ss```

          * ```yyyy-MM-dd HH:mm:ss.FFF```

          * ```yyyy-MM-ddTHH:mm:ss```

          * ```yyyy-MM-ddTHH:mm:ss.FFF```


          _Note:_ __DueDate__ and __DueDateCondition__ are __mutually inclusive__.'
        schema:
          type: string
      - name: dueDateCondition
        in: query
        description: 'This value represents the condition to be applied to the Due Date when retrieving records.


          Accepted values (without the single quotes):

          * ''&gt;'' for greater than

          * ''&lt;'' for less than

          * ''&gt;='' for greater than or equal

          * ''&lt;='' for less than or equal


          _Note:_ __DueDate__ and __DueDateCondition__ are __mutually inclusive__.'
        schema:
          type: string
      - name: includeCustomFreeFields
        in: query
        description: Parameter to include custom free fields information in the result set, if true then custom free fields will be included in the result set
        schema:
          type: boolean
      - name: pageNumber
        in: query
        description: Pagination parameter. Page number.
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        description: 'Pagination parameter. Number of items to be collected.

          Please use a page size lower or equal to the allowed max page size which is returned as part of the metadata information.

          If requested page size is greater than allowed max page size, request will be limited to max page size.'
        schema:
          type: integer
          format: int32
      - name: erp-api-background
        in: header
        description: 'Accepts the request and queues it to be executed in the background by our least busy worker. Responds with 202 Accepted and a document containing a JobId reference and details state location.

          Supported values:

          * a URL: when the background operation is finished, a notification will be posted to the URL with a document containing a reference id, status code and a details state location.

          * "none" (without quotes): Fire and forget; no notification will be sent when background operation is finished.

          * "subscription[:<name_1>=<value_1>,..,<name_n>=<value_n>]" (without quotes): when the background operation is finsihed, a notification is posted to the Webhook subscription set up in Developer Portal for your integration client.

          Optionally a set of name-value pairs can be added. These will be sent as headers in the POST request to the Webhook subscription''s url.


          To find status and details of a background-api operation, GET .. v1/background/{id}. To get the response payload of a background-api operation, if any, GET .. v1/background/{id}/content'
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchaseReceiptDto'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchaseReceiptDto'
        '202':
          description: Server accepted and queued the request for background execution.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackgroundApiAcceptedDto'
            text/json:
              schema:
                $ref: '#/components/schemas/BackgroundApiAcceptedDto'
      security:
      - interactiveapi: []
components:
  schemas:
    BackgroundApiAcceptedDto:
      type: object
      properties:
        id:
          type: string
        stateLocation:
          type: string
    locationInAllocationsDto:
      properties:
        countryId:
          type: string
          description: Location*.
        id:
          type: string
          description: Click the magnifier &gt; The identifier
        name:
          type: string
          description: Click the magnifier &gt; The displayed name
      description: Location &gt; The location in the warehouse.
    branchNumberInPurchaseReceiptLineDto:
      properties:
        number:
          type: string
          description: Click the magnifier. &gt; The identifier.
        name:
          type: string
          description: Click the magnifier. &gt; The name.
      description: 'Mandatory field: Document details tab &gt; Branch* &gt; The branch for which the item is purchased.'
    projectInPurchaseReceiptLineDto:
      properties:
        internalId:
          type: integer
          description: The internal identifier.
          format: int32
        id:
          type: string
          description: Click on the magnifier. &gt; The identifier.
        description:
          type: string
          description: Click on the magnifier. &gt; The description.
      description: Document details tab &gt; Project &gt; The project with which the document is associated. If the document is based on a purchase order, the project is automatically copied from the respective purchase order line.
    taxCategoryInLandedCostDto:
      properties:
        number:
          type: string
          description: Number of item
        description:
          type: string
          description: Name of item/description
      description: Landed costs tab &gt; VAT category &gt; VAT category associated with supplier's VAT zone.
    PurchaseReceiptLineDto:
      type: object
      properties:
        allocations:
          type: array
          items:
            $ref: '#/components/schemas/AllocationsDto'
        note:
          type: string
        baseReceiptQty:
          type: number
          description: Document details tab &gt; Base receipt qty. &gt; The quantity of the item received in the base unit of measure.
          format: double
        lineNbr:
          type: integer
          description: The line number
          format: int32
        branch:
          $ref: '#/components/schemas/branchInPurchaseReceiptLineDto'
        branchNumber:
          $ref: '#/components/schemas/branchNumberInPurchaseReceiptLineDto'
        inventory:
          $ref: '#/components/schemas/InventoryNumberDescriptionDto'
        lineType:
          enum:
          - GoodsForInventory
          - GoodsForSalesOrder
          - GoodsForReplenishment
          - GoodsForDropShip
          - NonStockForDropShip
          - NonStockForSalesOrder
          - NonStock
          - Service
          - Freight
          - Description
          type: string
          description: Document details tab &gt; Line type &gt; The type of the purchase order line.
        warehouse:
          $ref: '#/components/schemas/warehouseInPurchaseReceiptLineDto'
        location:
          $ref: '#/components/schemas/locationInPurchaseReceiptLineDto'
        transactionDescription:
          type: string
          description: Document details tab &gt; Transaction descr. &gt; The description of the receipt or return transaction.
        uom:
          type: string
          description: Document details tab &gt; UoM &gt; The unit of measure (UoM) used for the purchased or transferred item.
        orderQty:
          type: number
          description: Document details tab &gt; Ordered qty.  &gt; The quantity of the purchased item (in the specified UoM).
          format: double
        openQty:
          type: number
          description: Document details tab &gt; Open qty. &gt; The quantity of the stock item yet to be received on the purchase order.
          format: double
        receiptQty:
          type: number
          description: "Document details tab &gt; Receipts qty. &gt; \tThe quantity of the item (with the specified subitem code) in the specified UoM that has been received (listed on released receipts)."
          format: double
        unitCost:
          type: number
          description: Document details tab &gt; Unit cost &gt; The cost of a unit of the purchased item.
          format: double
        discountUnitCost:
          type: number
          description: Document details tab &gt; Disc. unit cost &gt; The unit cost of the item after the line discount has been applied.
          format: double
        extCost:
          type: number
          description: Document details tab &gt; Cost &gt; The cost of the item, which is the unit price multiplied by the quantity.
          format: double
        discountPercent:
          type: number
          description: Document details tab &gt; Discount percent &gt; If the Supplier and customer discounts functionality is enabled, the percent of the discount that has been entered manually or calculated based on the discount amount entered manually for this line item.
          format: double
        discountAmount:
          type: number
          description: Document details tab &gt; Discount amount &gt; If the Supplier and customer discounts functionality is enabled, the amount of the discount that has been specified manually or calculated based on the discount percent entered manually.
          format: double
        manualDiscount:
          type: boolean
          description: Document details tab &gt; Manual discount &gt; A check box that indicates (if selected) that the discount has been applied manually.
        discountCode:
          $ref: '#/components/schemas/discountCodeInPurchaseReceiptLineDto'
        amount:
          type: number
          description: Document details tab &gt; Amount &gt; The amount calculated (after discount has been taken) for the item.
          format: double
        taxCategory:
          $ref: '#/components/schemas/taxCategoryInPurchaseReceiptLineDto'
        account:
          $ref: '#/components/schemas/accountInPurchaseReceiptLineDto'
        accountDescription:
          type: string
          description: Document details tab &gt; Description &gt; The description of this account.
        sub:
          $ref: '#/components/schemas/subInPurchaseReceiptLineDto'
        actualAccount:
          $ref: '#/components/schemas/actualAccountInPurchaseReceiptLineDto'
        actualSub:
          $ref: '#/components/schemas/actualSubInPurchaseReceiptLineDto'
        project:
          $ref: '#/components/schemas/projectInPurchaseReceiptLineDto'
        projectTask:
          $ref: '#/components/schemas/projectTaskInPurchaseReceiptLineDto'
        expirationDate:
          type: string
          description: Document details tab &gt; Expiration date &gt; The expiration date of the received item.
          format: date-time
        lotSerialNumber:
          type: string
          description: Document details tab &gt; Lot/serial no. &gt; The lot or serial number assigned to the received quantity of the purchased item.
        poOrderType:
          enum:
          - RegularOrder
          - DropShip
          - Blanket
          - StandardBlanket
          type: string
          description: Document details tab &gt; Purchase order type &gt; The type of the purchase order related to this purchase receipt.
        poOrderNbr:
          type: string
          description: Document details tab &gt; Purchase order no. &gt; The reference number of the purchase order related to this purchase receipt.
        poOrderLineNbr:
          type: integer
          description: Document details tab &gt; Purchase order line no. &gt; The line number of the purchase order related to this line of the purchase receipt.
          format: int32
        transferOrderType:
          enum:
          - CreditNote
          - DebitNote
          - Invoice
          - QuoteOrder
          - RMAOrder
          - SalesOrder
          - StandardOrder
          - TransferOrder
          type: string
          description: Document details tab &gt; Transfer order type &gt; The type of the transfer order to which this receipt is linked.
        transferOrderNbr:
          type: string
          description: Document details tab &gt; Transfer order no. &gt; The reference number of the transfer order to which this receipt is linked.
        transferOrderLineNbr:
          type: integer
          description: Document details tab &gt; Transfer line no &gt; The line number in the transfer order to which this receipt is linked.
          format: int32
        completePoLine:
          type: boolean
          description: Document details tab &gt; Complelete purchase line &gt; A check box that indicates to the system (if selected) that the purchase order line added to this receipt line should be considered completed upon release of this purchase receipt.
        customStr1:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr2:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr3:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr4:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr5:
          type: string
          description: A free custom colum of type string with max length 100.
        customDec1:
          type: number
          description: A free custom colum of type decimal with max 4 decimals.
          format: double
        customDec2:
          type: number
          description: A free custom colum of type decimal with max 4 decimals.
          format: double
        customInt1:
          type: integer
          description: A free custom colum of type int
          format: int32
        customInt2:
          type: integer
          description: A free custom colum of type int
          format: int32
        customDateTimeUTC1:
          type: string
          description: A free custom colum of type DateTime - in UTC timezone
          format: date-time
      description: This class represents a Purchase Order Line in PurchaseReceiptContraoller. Used for getting data.
    discountCodeInPurchaseReceiptLineDto:
      properties:
        number:
          type: string
          description: Number of item
        description:
          type: string
          description: Name of item/description
      description: Document details tab &gt; Discount code &gt; The code of the line discount that has been applied to this line automatically.
    LandedCostDto:
      type: object
      properties:
        lineNbr:
          type: integer
          description: Landed costs tab &gt; Line number
          format: int32
        landedCostCode:
          type: string
          description: 'Mandatory field: Landed costs tab &gt; Landed costs* &gt; Landed cost code &gt; The landed cost code associated with the landed costs incurred for this purchase or transfer receipt.'
        description:
          type: string
          description: 'Mandatory field: Landed costs tab &gt; Description* &gt; The description of the landed cost code.'
        purchaseInvoiceNbr:
          type: string
        supplier:
          $ref: '#/components/schemas/supplierInLandedCostDto'
        location:
          $ref: '#/components/schemas/locationInLandedCostDto'
        apBillDate:
          type: string
          description: Landed costs tab &gt; Purchase invoice date &gt; The date of the purchase invoice for the landed cost.
          format: date-time
        currency:
          type: string
          description: Landed costs tab &gt; Currency &gt; The currency used for the landed cost.
        amount:
          type: number
          description: Landed costs tab &gt; Amount &gt; A non-zero amount of the landed cost.
          format: double
        taxCategory:
          $ref: '#/components/schemas/taxCategoryInLandedCostDto'
        terms:
          $ref: '#/components/schemas/termsInLandedCostDto'
        inventory:
          $ref: '#/components/schemas/InventoryNumberDescriptionDto'
        apDocType:
          enum:
          - Check
          - CreditAdj
          - DebitAdj
          - Invoice
          - Prepayment
          - QuickCheck
          - Refund
          - VoidCheck
          - VoidQuickCheck
          type: string
          description: Landed costs tab &gt; Supplier document type &gt; The type of the supplier document generated for the landed cost.
        apRefNbr:
          type: string
          description: Landed costs tab &gt; Supplier ref. &gt; The reference number of the supplier document generated for the landed cost.
        inDocType:
          enum:
          - Invoice
          - DebitNote
          - CreditNote
          - Payment
          - VoidPayment
          - Prepayment
          - Refund
          - FinCharge
          - SmallBalanceWo
          - SmallCreditWo
          - CashSale
          - CashReturn
          - Undefined
          - NoUpdate
          type: string
          description: Landed costs tab &gt; Inventory doc. type &gt; The type of the document generated in the Inventory workspace for this landed cost.
        inRefNbr:
          type: string
          description: Landed costs tab &gt; Inventory ref. no. &gt; The reference number of the document generated in the Inventory workspace for this landed cost.
        postponePurchaseInvoiceCreation:
          type: boolean
          description: Landed costs tab &gt; Postpone creation of purchase invoice &gt; A check box that indicates (if selected) that a related supplier ledger invoice for the incurred landed costs must be created later.
      description: This class represents a Landed Cost Line for Purchase Receipt in PurchaseReceiptController. Used for getting data.
    supplierInLandedCostDto:
      properties:
        internalId:
          type: integer
          format: int32
        number:
          type: string
          description: The identifier of the particular destination of the selected type.
        name:
          type: string
          description: The name of the particular destination of the selected type.
      description: 'Mandatory field: Landed costs tab &gt; Supplier* &gt; The landed cost supplier to whom the landed cost amount will be paid.'
    termsInLandedCostDto:
      properties:
        id:
          type: string
          description: Click on the magnifier. &gt; The identifier.
        description:
          type: string
          description: Click on the magnifier. &gt; The description.
      description: Landed costs tab &gt; Terms &gt; The credit terms used in relations with the landed cost supplier.
    warehouseInPurchaseReceiptLineDto:
      properties:
        id:
          type: string
          description: Click on the magnifier. &gt; The identifier.
        description:
          type: string
          description: Click on the magnifier. &gt; The description.
      description: 'Mandatory field: Document details tab &gt; Warehouse* &gt; The warehouse where the item has been received.'
    actualAccountInPurchaseReceiptLineDto:
      properties:
        type:
          type: string
        number:
          type: string
          description: Number of item
        description:
          type: string
          description: Name of item/description
      description: Document details tab &gt; Accrual account &gt; The accrual account to record the item amount on the purchase receipt; used for stock items and non-stock items for which a receipt is required.
    warehouseInPurchaseReceiptDto:
      properties:
        id:
          type: string
          description: Click on the magnifier. &gt; The identifier.
        description:
          type: string
          description: Click on the magnifier. &gt; The description.
      description: 'Mandatory field: The top part or the Documents details tab &gt; Warehouse* &gt; The warehouse from which the items have been received for transfer orders.'
    locationInPurchaseReceiptLineDto:
      properties:
        countryId:
          type: string
          description: Location*.
        id:
          type: string
          description: Click the magnifier &gt; The identifier
        name:
          type: string
          description: Click the magnifier &gt; The displayed name
      description: Document details tab &gt; Location &gt; The location where the item has been received.
    locationInPurchaseReceiptDto:
      properties:
        countryId:
          type: string
          description: Location*.
        id:
          type: string
          description: Click the magnifier &gt; The identifier
        name:
          type: string
          description: Click the magnifier &gt; The displayed name
      description: 'Mandatory field: The top part Location* &gt; The supplier location from which the items should be received or to which they should be returned.'
    PurchaseReceiptDto:
      type: object
      properties:
        landedCost:
          type: array
          items:
            $ref: '#/components/schemas/LandedCostDto'
          description: Landed costs tab &gt; Landed cost code &gt; The landed cost code specified in the line of the landed cost document.
        note:
          type: string
        timeStamp:
          type: string
          description: The top part &gt; Tstamp &gt; The timestamp of the purchase receipt.
          format: byte
        receiptType:
          enum:
          - PoReceipt
          - PoReturn
          - TransferReceipt
          type: string
          description: 'The top part &gt; Type &gt; The type of the document, which can be one of the following options: Receipt, Return, Transfer receipt.'
        receiptNbr:
          type: string
          description: The top part &gt; Receipt no. &gt; The unique reference number of the purchase receipt.
        hold:
          type: boolean
          description: The top part &gt; Hold &gt; A check box that indicates (if selected) that the document has the On hold status.
        status:
          enum:
          - Hold
          - Balanced
          - Released
          - Cancelled
          type: string
          description: The top part &gt; Status &gt; The current status of the purchase or transfer receipt, or return, which the system assigns automatically. On hold, Balanced, Released.
        date:
          type: string
          description: 'Mandatory field: The top part &gt; Date* &gt; The date when the receipt document was created.'
          format: date-time
        postPeriod:
          type: string
          description: 'Mandatory field: The top part &gt; Post period* &gt; The financial period to which the transactions recorded in the document should be posted. Format MMYYYY.'
        warehouse:
          $ref: '#/components/schemas/warehouseInPurchaseReceiptDto'
        supplier:
          $ref: '#/components/schemas/supplierInPurchaseReceiptDto'
        location:
          $ref: '#/components/schemas/locationInPurchaseReceiptDto'
        currency:
          type: string
          description: The top part &gt; Currency &gt; The currency the supplier uses for invoicing.
        exchangeRate:
          type: number
          format: double
        createBill:
          type: boolean
          description: The top part &gt; Create invoice &gt; A check box that you select if the system must create an appropriate invoice (or adjustment) automatically when the purchase receipt is released.
        supplierRef:
          type: string
          description: The top part &gt; Supplier ref. &gt; The reference number of the supplier document this receipt or return is based on.
        totalQty:
          type: number
          description: The top part &gt; Total qty. &gt; The total quantity of items received from or returned to the supplier.
          format: double
        controlQty:
          type: number
          description: The top part &gt; Control qty. &gt; The total quantity of goods on the receipt or return
          format: double
        vatExemptTotal:
          type: number
          description: The top part &gt; VAT exempt total &gt; The document total that is exempt from VAT.
          format: double
        vatTaxableTotal:
          type: number
          description: The top part &gt; VAT taxable total &gt; The document total that is subjected to VAT.
          format: double
        totalAmt:
          type: number
          description: The top part &gt; Total amt. &gt; The total amount calculated for items received from or returned to the supplier.
          format: double
        controlTotal:
          type: number
          description: The top part &gt; Control amt. &gt; The total amount of the receipt or return, which you manually enter.
          format: double
        lastModifiedDateTime:
          type: string
          description: System generated information.
          format: date-time
        branchNumber:
          $ref: '#/components/schemas/branchNumberInPurchaseReceiptDto'
        lines:
          type: array
          items:
            $ref: '#/components/schemas/PurchaseReceiptLineDto'
          description: Document details tab &gt; Line no &gt; The number of the purchase receipt line on the document.
        dueDate:
          type: string
          description: This value indicates the date the document is due
          format: date-time
        customStr1:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr2:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr3:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr4:
          type: string
          description: A free custom colum of type string with max length 100.
        customStr5:
          type: string
          description: A free custom colum of type string with max length 100.
        customDec1:
          type: number
          description: A free custom colum of type decimal with max 4 decimals.
          format: double
        customDec2:
          type: number
          descripti

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