Hi,
We'd like to use the Dynamics Business Central REST API to find out if a sales invoice has been posted.
There's no "posted" field on the salesInvoice API endpoint. However, it does have a "status" field. Can this field be used to determine posted status?
From some quick experimentation, it seems that "Draft" == not posted, and "Open"/"Paid" == posted. But I'm not sure if this is 100% reliable.
I also found this page, which seems to suggest it cannot be relied on: https://experience.dynamics.com/ideas/idea/?ideaid=662fd581-c9b8-e911-b083-0003ff689d13
Any help would be appreciated!