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": "48ce570e-6c49-449b-8676-7048eca9d251"
}

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": "2023-01-10T13:49:50.0733159+00:00",
      "PaymentDate": "2023-01-10T13:49:50.0733159+00:00",
      "fkPurchaseAdditionalCostItemId": 1
    }
  ]
}