/documents

Examples

Get all invoices of one day, e.g. 2016-03-10

Use createdAt date field to filter result set. In addition please set type to "R" which means invoice.

With "pos.pointofsale" you get informations about which pointofsale created these invoice. Each item in the document has an attribute "stock" to get informations in which stock this product has been debited.

GET /api/v2/documents?dateAfter=2016-03-10T00:00:00.000Z&dateBefore=2016-03-10T23:59:59.999Z&type=R HTTP/1.1
Host: api.flour.cloud
Content-Type: application/json
Authorization: JWT ....
Cache-Control: no-cache
Language
Credentials
Header