| 
            
              IInvoiceGetInvoicesByStatus Method
             | 
          
        
        
 Gets Invoices by status.
 
        
        Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+d0bf05dcd8855b3363476bb1c84ab29c9a1ec66b
SyntaxList<Invoice> GetInvoicesByStatus(
	string businessUnitGUID,
	string status,
	int options = 0,
	int? maxInvoices = null
)
Function GetInvoicesByStatus ( 
	businessUnitGUID As String,
	status As String,
	Optional options As Integer = 0,
	Optional maxInvoices As Integer? = Nothing
) 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.
 - status  String
 - Name of the invoice status to search for.
 - 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.
 
 - maxInvoices  NullableInt32  (Optional)
 - The maximum number of invoices to return. By default there is no limit.
 
Return Value
ListInvoiceList of Invoice objects.
Exceptions
See Also