Solved

Rest API request SalesInvoice applications

  • 7 July 2022
  • 2 replies
  • 44 views

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 4
Badge

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 5
Badge

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 — 2022  Acumatica, Inc. All rights reserved