|
IInvoiceGetFinvoicesByStatusAndDate Method
|
Gets Finvoices by invoice status.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax List<SeveraFinvoice> GetFinvoicesByStatusAndDate(
string finvoiceVersion,
string businessUnitGUID,
string invoiceStatus,
DateTime? invoiceDateStart = null,
DateTime? invoiceDateEnd = null,
int options = 0
)
Function GetFinvoicesByStatusAndDate (
finvoiceVersion As String,
businessUnitGUID As String,
invoiceStatus As String,
Optional invoiceDateStart As DateTime? = Nothing,
Optional invoiceDateEnd As DateTime? = Nothing,
Optional options As Integer = 0
) As List(Of SeveraFinvoice)
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
ListSeveraFinvoiceList of SeveraFinvoice objects.
Exceptions See Also