|
IInvoiceGetInvoicesByDate Method
|
Gets Invoices by date.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax List<Invoice> GetInvoicesByDate(
string businessUnitGUID,
DateTime startDate,
DateTime endDate,
int options = 0
)
Function GetInvoicesByDate (
businessUnitGUID As String,
startDate As DateTime,
endDate As DateTime,
Optional options As Integer = 0
) As List(Of Invoice)
Parameters
- businessUnitGUID String
- Business unit GUID, identifies business unit of which invoices are fetched. Can be empty string, in that case invoices for all business units are gotten.
- startDate DateTime
- Start DateTime in UTC for the search (Mandatory). Comparison is only precise to the closest minute.
- endDate DateTime
- End DateTime in UTC for the search (Mandatory). Comparison is only precise to the closest minute.
- options Int32 (Optional)
- Bitflag. Each bit of the enum represents a separate option. Use 'Bitwise Or' to specify a combination of options.
- 0 = None.
- 1 = Returns only the invoices that have been inserted on the given time frame.
- 16 = Returns only the invoices that have the Business unit GUID. Does not return invoices for child business units.
Return Value
ListInvoiceList of Invoice objects.
Exceptions See Also