web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Getting sales invoices for a customer with the API

(0) ShareShare
ReportReport
Posted on by 225

Hi everyone!

I'm testing the API for a clud NAV BC installation, because probably we are going to integrate with a online Shop. I am testing with postman .

I can get the list of sales invoices like this:

{{BaseURL}}/companies/{{CRONUS}}/salesInvoices



How can I filter the invoices for a certain customer? I'm trying different ways, but I only find sintax errors..

If I add this:

{{BaseURL}}/companies/{{CRONUS}}/salesInvoices?customerId=8603775b-d795-44fe-b370-9ee597a20bd0


I get the invoices of that customer, but after the rest of invoices....

Any tip?

Thank you

*This post is locked for comments

I have the same question (0)
  • jgaztanaga Profile Picture
    225 on at
    RE: Getting sales invoices for a customer with the API

    Hi mohana,

    Following your link, I write:

    {{BaseURL}}/companies/{{CRONUS}}/salesInvoices?$filter=customerId eq 8603775b-d795-44fe-b370-9ee597a20bd0


    And the result is correct, thank you!!!

  • Verified answer
    Mohana Yadav Profile Picture
    60,843 Super User 2025 Season 2 on at
    RE: Getting sales invoices for a customer with the API

    Please check this link

    docs.microsoft.com/.../devenv-connect-apps-filtering

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans