Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /Get_Payment_Statement

Allows 150 calls per minute

Response: Get_PaymentStatementResponse



Get payment statements of a purchase order

Parameters

NameTypeDescription
requestGet_PaymentStatementRequest

Permissions

GlobalPermissions.Inventory.PurchaseOrder.ViewPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/Get_Payment_Statement

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "PurchaseId": "35156db7-209c-47dc-8016-4c9f305cee06"
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "items": [
    {
      "PurchasePaymentStatementId": 1,
      "LineCost": 2.0,
      "ConversionRate": 3.0,
      "Currency": "sample string 4",
      "Reference": "sample string 5",
      "CreationDate": "2022-08-03T16:02:32.3169693+01:00",
      "PaymentDate": "2022-08-03T16:02:32.3169693+01:00",
      "fkPurchaseAdditionalCostItemId": 1
    }
  ]
}