Solved

Rest API request SalesInvoice applications


Hello,

Im trying to request applications from invoice to get payments. I tried to use such request 

https://*comanyname*.acumatica.com/entity/*EndPointVersion*/SalesInvoice/Invoice/*invoiceID*?$expand=ApplicationsCreditMemo,Details

but it returns 

"ApplicationsCreditMemo": []

but I see my invoice has Applications. Please suggest how to request SalesInvoice applications?

icon

Best answer by praveenpo 7 July 2022, 07:05

View original

2 replies

Userlevel 6
Badge +4

Hi @Leo05 

The issue is you are passing “Invoice” instead of “INV” as type. Please look at the dropdown list

I tried a similar query but passing type and reference nbr. Then expanding ApplicationsCreditMemo

https://<site>/entity/<endpoint>/20.200.001/SalesInvoice/CRM/ARIN0000020?$expand=ApplicationsCreditMemo

or by id

https://<site>/entity/<endpoint>/20.200.001/SalesInvoice/cd57091b-d7fb-ec11-817b-02fdfb4e4762?$expand=ApplicationsCreditMemo

Full call example in Postman

 

 

Userlevel 6
Badge +3

hi @Leo05,

For invoice payments you should include ApplicationsInvoice  not ApplicationsCreditMemo.
 


 



 

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved