Click or drag to resize

IInvoiceGetFinvoicesByStatusAndDate Method

Gets Finvoices by invoice status.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
List<SeveraFinvoice> GetFinvoicesByStatusAndDate(
	string finvoiceVersion,
	string businessUnitGUID,
	string invoiceStatus,
	DateTime? invoiceDateStart = null,
	DateTime? invoiceDateEnd = null,
	int options = 0
)

Parameters

finvoiceVersion  String
Version of the Finvoice to be fetched. Supported versions are:
  • Finvoice 1.2
  • Finvoice 1.3
  • Finvoice 2.01 (Without attachments)
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.
invoiceStatus  String
Name of the invoice status to search for.
invoiceDateStart  NullableDateTime  (Optional)
From which invoice date forward the invoices will be fetched. Optional parameter.
invoiceDateEnd  NullableDateTime  (Optional)
Until which invoice date forward the invoices will be fetched. Optional parameter.
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

ListSeveraFinvoice
List of SeveraFinvoice objects.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
NotFoundExceptionFinvoices could not be found.
See Also