Visma Purchase Receipt Basic API

The PurchaseReceiptBasic API from Visma — 3 operation(s) for purchasereceiptbasic.

Operations 5

GET /v1/PurchaseReceiptBasic/{receiptNumber} Get a specific Purchase Receipt #
PUT /v1/PurchaseReceiptBasic/{receiptNumber} Update a specific Purchase Receipt #
GET /v1/PurchaseReceiptBasic Get a range with purchase receipts, ScreenId=PO302000 Please use a page size… #
POST /v1/PurchaseReceiptBasic Create a Purchase Receipt #
POST /v1/PurchaseReceiptBasic/{receiptNumber}/action/release Release purchase receipt operation #

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


        The response headers include an ETag after a successful GET operation.This method will be removed starting 15th September 2026. Please use GET api/v2/PurchaseReceipt instead.'
      operationId: PurchaseReceiptBasic_GetPurchaseReceiptBasicByreceiptNumber
      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/PurchaseReceiptBasicDto'
            text/json:
              schema:
                $ref: '#/components/schemas/PurchaseReceiptBasicDto'
        '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'
      deprecated: true
      security:
      - interactiveapi: []
    put:
      tags:
      - PurchaseReceiptBasic
      summary: Update a specific Purchase Receipt
      description: 'Response Message has StatusCode NoContent if PUT operation succeed.


        Response Message has StatusCode BadRequest if PUT operation failed.


        The response headers include an ETag after a successful PUT operation.'
      operationId: PurchaseReceiptBasic_PutByreceiptNumber
      parameters:
      - name: receiptNumber
        in: path
        description: Identifies the  Purchase Receipt  to update
        required: true
        schema:
          type: string
      - 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
      - name: If-Match
        in: header
        description: 'The If-Match HTTP header allows clients to update a resource only if its current version matches a specific ETag. This mechanism helps prevent conflicts when multiple clients attempt to modify the same resource simultaneously.

          The If-Match header should be included in the request headers using the following syntax: If-Match: "etag_value"

          * If the update is successful, the server responds with 204 No Content and includes the new ETag value in the response headers.

          * If the ETag on the server does not match the value provided in the If-Match header, the server responds with 412 Precondition Failed.'
        schema:
          type: string
      requestBody:
        description: Defines the data for the  Purchase Receipt  to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          text/json:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          application/xml:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          text/xml:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
        required: true
        x-bodyName: poReceiptUpdateDto
      responses:
        '204':
          description: NoContent
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
        '412':
          description: Purchase receipt version does not match with If-Match header
          content:
            application/json: {}
            text/json: {}
        '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: []
  /v1/PurchaseReceiptBasic:
    get:
      tags:
      - PurchaseReceiptBasic
      summary: Get a range with purchase receipts, ScreenId=PO302000 Please use a page size…
      description: This method will be removed starting 15th September 2026. Please use GET api/v2/PurchaseReceipt instead.
      operationId: PurchaseReceiptBasic_GetAllReceiptBasic
      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: numberToRead
        in: query
        description: This field has been deprecated and will be removed in future versions. Use pagenumber and pagesize for pagination purposes. Pagenumber and pagesize does not work with NumberToRead and SkipRecords.
        schema:
          type: integer
          format: int32
      - name: skipRecords
        in: query
        description: This field has been deprecated and will be removed in future versions. Use pagenumber and pagesize for pagination purposes. Pagenumber and pagesize does not work with NumberToRead and SkipRecords.
        schema:
          type: integer
          format: int32
      - 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: 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

          Works only with PurchaseRecieptBasic and v2 of PurchaseReceipts.'
        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/PurchaseReceiptBasicDto'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PurchaseReceiptBasicDto'
        '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'
      deprecated: true
      security:
      - interactiveapi: []
    post:
      tags:
      - PurchaseReceiptBasic
      summary: Create a Purchase Receipt
      description: 'Response Message has StatusCode Created if POST operation succeed.


        Response Message has StatusCode BadRequest or InternalServerError if POST operation failed.


        The response headers include an ETag after a successful POST operation.'
      operationId: PurchaseReceiptBasic_Post
      parameters:
      - 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
      requestBody:
        description: Defines the data for the  Purchase Receipt to create
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          text/json:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          application/xml:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          text/xml:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PurchaseReceiptBasicUpdateDto'
        required: true
        x-bodyName: poReceiptUpdateDto
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
        '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: []
  /v1/PurchaseReceiptBasic/{receiptNumber}/action/release:
    post:
      tags:
      - PurchaseReceiptBasic
      summary: Release purchase receipt operation
      description: The action result dto contains information about the result of running the action
      operationId: PurchaseReceiptBasic_ReleaseInvoiceByreceiptNumber
      parameters:
      - name: receiptNumber
        in: path
        description: Reference number of the receipt to be released
        required: true
        schema:
          type: string
      - 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/ReleasePurchaseReceiptActionResultDto'
            text/json:
              schema:
                $ref: '#/components/schemas/ReleasePurchaseReceiptActionResultDto'
            application/xml:
              schema:
                $ref: '#/components/schemas/ReleasePurchaseReceiptActionResultDto'
            text/xml:
              schema:
                $ref: '#/components/schemas/ReleasePurchaseReceiptActionResultDto'
        '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'
            application/xml:
              schema:
                $ref: '#/components/schemas/BackgroundApiAcceptedDto'
            text/xml:
              schema:
                $ref: '#/components/schemas/BackgroundApiAcceptedDto'
      security:
      - interactiveapi: []
components:
  schemas:
    amountInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: number
          format: double
      description: The Document details tab &gt; The amount calculated (after discount has been taken) for the item.
    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.
    customInt2InPurchaseReceiptBasicUpdateDto:
      properties:
        value:
          type: integer
          format: int32
      description: A free custom colum of type int
    manualDiscountInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: boolean
      description: The Document details tab &gt; A check box that indicates (if selected) that the discount has been applied manually.
    customInt1InPurchaseReceiptBasicUpdateDto:
      properties:
        value:
          type: integer
          format: int32
      description: A free custom colum of type int
    DtoValueOfNullableOfDateTime:
      type: object
      properties:
        value:
          type: string
          format: date-time
    discountAmountInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: number
          format: double
      description: The Document details tab &gt; The automatically calculated or manually entered discount amount on the line.
    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.
    lotSerialNumberInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: string
      description: The Document details tab &gt; The lot or serial number assigned to the received quantity of the purchased item; &lt;SPLIT&gt; is displayed if multiple lot or serial numbers are assigned to the received quantity.
    customStr2InPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: string
      description: A free custom colum of type string with max length 100.
    customDateTimeUTC1InPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: string
          format: date-time
      description: A free custom colum of type DateTime - in UTC timezone
    poOrderNbrInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: string
      description: This property replaced by an action, please use the following sub-endpoint:/controller/api/v1/PurchaseReceipt/{receiptNumber}/action/addpurchaseorder.
    actualSubInPurchaseReceiptLineDto:
      properties:
        active:
          type: boolean
        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; Accrual sub. &gt; The subaccount used to record the item amount on the purchase receipt, used for stock items and non-stock items for which a receipt is required.
    transferOrderTypeInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          enum:
          - CreditNote
          - DebitNote
          - Invoice
          - QuoteOrder
          - RMAOrder
          - SalesOrder
          - StandardOrder
          - TransferOrder
          type: string
      description: The Document details tab &gt; The type of the transfer order to which this receipt is linked.
    ReleasePurchaseReceiptActionResultDto:
      type: object
      properties:
        actionId:
          type: string
          format: uuid
        actionResult:
          enum:
          - Queued
          - InProcess
          - Failed
          - Done
          type: string
        errorInfo:
          type: string
    subInPurchaseReceiptLineDto:
      properties:
        active:
          type: boolean
        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; Sub ID &gt; The subaccount to be used to record the non-stock item amount on the purchase receipt (for non-stock items for which receipts are not required).
    PurchaseReceiptBasicUpdateDto:
      type: object
      properties:
        lines:
          type: array
          items:
            $ref: '#/components/schemas/PurchaseReceiptLineBasicUpdateDto'
        receiptType:
          $ref: '#/components/schemas/DtoValueOfPurchaseReceiptType'
        receiptNbr:
          $ref: '#/components/schemas/DtoValueOfString'
        hold:
          $ref: '#/components/schemas/DtoValueOfNullableOfBoolean'
        date:
          $ref: '#/components/schemas/DtoValueOfNullableOfDateTime'
        postPeriod:
          $ref: '#/components/schemas/postPeriodInPurchaseReceiptBasicUpdateDto'
        warehouseId:
          $ref: '#/components/schemas/DtoValueOfString'
        supplierId:
          $ref: '#/components/schemas/DtoValueOfString'
        locationId:
          $ref: '#/components/schemas/DtoValueOfString'
        currency:
          $ref: '#/components/schemas/DtoValueOfString'
        exchangeRate:
          $ref: '#/components/schemas/DtoValueOfNullableOfDecimal'
        createBill:
          $ref: '#/components/schemas/DtoValueOfNullableOfBoolean'
        supplierRef:
          $ref: '#/components/schemas/DtoValueOfString'
        controlQty:
          $ref: '#/components/schemas/DtoValueOfNullableOfDecimal'
        controlAmount:
          $ref: '#/components/schemas/DtoValueOfNullableOfDecimal'
        branchNumber:
          $ref: '#/components/schemas/DtoValueOfString'
        customStr1:
          $ref: '#/components/schemas/customStr1InPurchaseReceiptBasicUpdateDto'
        customStr2:
          $ref: '#/components/schemas/customStr2InPurchaseReceiptBasicUpdateDto'
        customStr3:
          $ref: '#/components/schemas/customStr3InPurchaseReceiptBasicUpdateDto'
        customStr4:
          $ref: '#/components/schemas/customStr4InPurchaseReceiptBasicUpdateDto'
        customStr5:
          $ref: '#/components/schemas/customStr5InPurchaseReceiptBasicUpdateDto'
        customDec1:
          $ref: '#/components/schemas/customDec1InPurchaseReceiptBasicUpdateDto'
        customDec2:
          $ref: '#/components/schemas/customDec2InPurchaseReceiptBasicUpdateDto'
        customInt1:
          $ref: '#/components/schemas/customInt1InPurchaseReceiptBasicUpdateDto'
        customInt2:
          $ref: '#/components/schemas/customInt2InPurchaseReceiptBasicUpdateDto'
        customDateTimeUTC1:
          $ref: '#/components/schemas/customDateTimeUTC1InPurchaseReceiptBasicUpdateDto'
        timeStamp:
          type: string
          format: byte
      description: This class represents a Purchase Receipt in PurchaseReceiptBasicController. Used for adding data.
    actualAccountIdInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: string
      description: The Document details tab &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.
    DtoValueOfPurchaseReceiptType:
      type: object
      properties:
        value:
          enum:
          - PoReceipt
          - PoReturn
          - TransferReceipt
          type: string
    accountIdInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: string
      description: The Document details tab &gt; The account used to record the item amount on the purchase receipt; used for non-stock items for which receipt is not required.
    receiptQtyInPurchaseReceiptLineBasicUpdateDto:
      properties:
        value:
          type: number
          format: double
      description: The Document details tab &gt; The quantity of the item in the specified UoM that has been received (listed on released receipts).
    customStr3InPurchaseReceiptBasicUpdateDto:
      properties:
        value:
          type: string
      description: A free custom colum of type string with max length 100.
    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.'
    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
        

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