Skip to main content
Question

Add Landed cost to endpoint

  • April 17, 2026
  • 1 reply
  • 20 views

Forum|alt.badge.img+2

Hi, I need to build query which will extract ‘Landed Cost Nbr‘ field value from “Landed Costs” in Purchase Receipt entity,I guess the query must look something like that :  https://acum2025r1.arts.com/AcumaticaERP/entity/Default/24.200.001/PurchaseReceipt?$filter=ReceiptNbr eq '020305' and Type eq 'Receipt'&$expand=LandedCosts 
but I am not sure how to properly add “Landed Cost” field to endpoint

I tried to add LandedCosts group for purchase receipt same as I added ‘details’ group,
 

It created separate entity

Hot to extract landed cost nbr properly ?

1 reply

KrunalDoshi
Varsity III
Forum|alt.badge.img+1
  • Varsity III
  • April 20, 2026

Hi ​@Ivan,

Here is the working example for retrieving Landed Cost using Purchase Receipt entity or even as a Landed Cost top-level entity too.

You need to make sure you add a details section (notice the square brackets next to the Details and LandedCost section in below screenshot, which indicates it is a details section) for expand and use the exact name of the Data Class (this you can get it by inspect element).

Hope this helps!

GET http://localhost/Demo2025R2/entity/DefaultExtended/25.200.001/PurchaseReceipt?$filter=Type eq 'Receipt' and ReceiptNbr eq 'PR002692'&$expand=LandedCosts

Below is for Landed Cost top-level entity.

GET http://localhost/Demo2025R2/entity/DefaultExtended/25.200.001/POLandedCosts?$filter=ReferenceNbr eq 'LC000222'&$expand=Details