Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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.PurchaseOrder.ViewPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

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": "77b83d0d-0bc3-4267-8382-c1119b226f84"
}

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": "2021-07-29T09:24:43.3792159+01:00",
      "PaymentDate": "2021-07-29T09:24:43.3792159+01:00",
      "fkPurchaseAdditionalCostItemId": 1
    }
  ]
}