Invoices entity also has some properties that are used for references in regards of where the order/invoice was generated, as well as if the invoice has file available to be downloaded by the user.
Below are the main definition of these fields:
Channel
The channel of the origin of the order, as stated in orders it is also necessary to state in invoices. Is is important to emphasize that the channel will vary if the order was placed in BEES web or mobile application and can also be generated in other platforms such as BEES Grow, Force.
Deleted
This flag indicates if the invoice was deleted.
FileAvailable
As mentioned before, it indicates that the invoice configured has a file available. It is important to emphasize that the file must be sent through a different endpoint.
Property |
Description |
Required |
Example |
---|---|---|---|
|
Indicate the channel where the invoice is originated from. |
true |
|
|
Indicate whether the invoice is deleted. |
false |
|
|
Indicate whether invoice file is available. |
false |
|