Click or drag to resize

IInvoiceGetInvoicesByDateAndStatus Method

Gets Invoices by date and status.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax
List<Invoice> GetInvoicesByDateAndStatus(
	string businessUnitGUID,
	DateTime? startDate,
	DateTime? endDate,
	string status,
	int options = 0
)

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  NullableDateTime
Start DateTime in UTC for the search (Mandatory). Comparison is only precise to the closest minute.
endDate  NullableDateTime
End DateTime in UTC for the search (Mandatory). Comparison is only precise to the closest minute.
status  String
Name of the invoice status to search for. If null or empty, does not restrict by status.
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

ListInvoice
A set of invoices
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
See Also