---
title: "GET /purchaseOpenItem/id/{id}"
method: GET
path: "/purchaseOpenItem/id/{id}"
tags: ["purchaseOpenItem"]
---

# GET /purchaseOpenItem/id/{id}

`GET /purchaseOpenItem/id/{id}`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/purchaseOpenItem/id/{id}`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/purchaseOpenItem/id/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

query purchaseOpenItem

## Path parameters

- `id` string, required

## Response `200`

get by id

- PurchaseOpenItem
  - `id` string
  - `version` string
  - `amount` string, number, required
  - `amountDiscount` string, number, required
  - `amountOpen` string, number, required
  - `amountPaid` string, number, required
  - `clearanceDate` integer
  - `cleared` boolean
  - `createdDate` integer
  - `lastModifiedDate` integer
  - `openItemNumber` string, required
  - `openItemType` 'CREDITOR' | 'CREDITOR_INVERTED' | 'CREDIT_ADVICE' | 'CREDIT_ADVICE_INVERTED' | 'CREDIT_NOTE_CREDITOR' | 'CREDIT_NOTE_CREDITOR_INVERTED' | 'CREDIT_NOTE_DEBITOR' | 'CREDIT_NOTE_DEBITOR_INVERTED' | 'DEBTOR' | 'DEBTOR_INCOMING_PAYMENT' | 'DEBTOR_INCOMING_PAYMENT_INVERTED' | 'DEBTOR_INVERTED' | 'DEBTOR_OUTGOING_PAYMENT' | 'DEBTOR_OUTGOING_PAYMENT_INVERTED' | 'DEBTOR_PARTY' | 'DEBTOR_PARTY_INVERTED' | 'DEBTOR_RETURN_DEBIT' | 'DEBTOR_RETURN_DEBIT_FEE', required
  - `paymentApplications` PaymentApplication[]
    - `id` string
    - `version` string
    - `amountApplied` string, number, required
    - `amountAppliedOriginCurrency` string, number, required
    - `amountCostsOfMonetaryTraffic` string, number, required
    - `amountDiscountApplied` string, number, required
    - `bankTransactionId` string
    - `cashTransactionId` string
    - `createdById` string
    - `createdDate` integer
    - `lastModifiedDate` integer
    - `openItemClearingId` string
  - `purchaseInvoiceId` string

## Other responses

- `default`: error response

## Changes

- **2023-05-10** `b7b4270a0f69`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/purchaseOpenItem/id/:id/get.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
