- Utilities
-
Accounting
- Accounting Period
- Accounting Period Lock
- All transaction statement
- Contact balance
- Currency
- Customer Payment
- Exchange Rate
- Journal
- Journal Entry
- Nominal Code
- Payment Method
- Purchase Credit
- Purchase Invoice
- Purchase Payment
- Purchase Payment Total
- Sale Payment Total
- Sales Credit
- Sales Invoice
- Sales Receipt
- Sales Receipt (deprecated)
- Supplier Payment
- Tax Code
- Contact
- Integration
-
Order
- Custom Field Metadata
- Forget Contact
- Landed Cost Estimate
- Order
- Order Acknowledgement
- Custom Field
- Order Note
- Order Row
- Order Shipping Status
- Order Status
- Order Status Update
- Order Stock Status
- Order Type
- Purchase Credit Close
- Purchase Order Close
- Sales Credit
- Sales Credit Close
- Sales Order
- Sales Order Close
- Sales Order Row
- Pricing
-
Product
- Brand
- Brightpearl Category
- Channel
- Channel brand
- Collection
- Discount contact usage
- Discount total usage
- Option
- Option Value
- Price List
- Product Primary Supplier
- Product
- Product Bundle
- Product Custom Field
- Custom Field Metadata
- Custom Field
- Product Group
- Product Identity
- Product option value
- Product Price
- Product Supplier
- Product Type
- Product Type Option Association
- Season
-
Warehouse
- Asset Value Correction
- Bundle Availability
- Default Location
- Drop-Ship Note
- Drop-Ship Note Event
- External Transfer
- Fulfilment Source
- Order fulfilment status
- Goods-In Note Correction
- Goods-In Note
- Goods Movement
- Goods-Out Note
- Goods-Out Note Event
- Internal Transfer
- Location
- Pick
- Product Availability
- Quarantine Location
- Quarantine Release
- Reservation
- Reservation Row
- Reservations
- Shipping Method
- Stock Correction
- Stock Transfer
- Warehouse
- Warehouse Defaults
- Zone
Purchase Payment Total GET
URI
https://{DATACENTER}.brightpearlconnect.com/public-api/{ACCOUNT}
/accounting-service/purchase-payment-total
Refer to our documentation on URI syntax for more information on how to construct URIs.
Description
This resource represents the totals for the purchase order ids specified in the url. The total is calculated as follows:
- amountPaid: amount of RECEIPT and CAPTURE type payments
 - amount of PAYMENT type payments

If there are no payments for an order zeroes are returned for the amounts and no paymentCurrency will be in the response.
Note that this resource is restricted to requesting a maximum of 200 IDs at present. As always, this restriction is subject to change and we therefore strongly recommend integrations are built using our corresponding OPTIONS endpoints when requesting large numbers of resources.
Example
Request URI
/purchase-payment-total/59-60
Response
{
"response": [
{
"orderId": 59,
"paymentCurrency": "GBP",
"amountPaid": 50.00
},
{
"orderId": 60,
"amountPaid": 0.00
}
]
}