Hi everyone,
I'm new in field of API in business central.
Scenerio:- I'm using standard API of business central "salesInvoices"
GET Call = https://api.businesscentral.dynamics.com/v2.0/(my tenant id)/(my sandbox)/api/v2.0/companies(my company id)/salesInvoices
It returns me all Posted and non-Posted Sales Invoices, BUT
there is a field with name "Status", it tells us the status of invoice
my point of view is that is how can we differentiate between Posted and non-Posted sales Invoice because Open status can be for both Posted and non-Posted invoices?
Should there not be two different entities for Posted and non-Posted invoices?