Resource: getbatchstatus.nv

HTTP-method: GET

Get one batch status and the status of invoices in the batch.

Querystring parameters:

Parameter nameOccursDescription
id1Batch identifier in Netvisor
addsalesinvoicelinkinformation0...1Adds the link information of the sales invoices created to Netvisor based on the imported Batch
Element SalesInvoiceLinkInformation is added to the response message
batchtype0...1Returns salesinvoice or purchaseinvoice batches. If value is not given, will return salesinvoice batch. Accepted values: salesinvoice, purchaseinvoice
addpurchaseinvoicelinkinformation0...1Adds the link information of the purchase invoices created to Netvisor based on the imported Batch
Element addpurchaseinvoicelinkinformation is added to the response message

Response:

LevelElement nameTypeOccursDescriptionExample
RootrootAggr.1  
1BatchAggr.1  
2SummaryAggr.1  
3StatusText1 A description of the batch status. Does not tell if e.g. sales invoice has been sent from Netvisor, tells only the status of the batch in Netvisor. Values: pending, processing, finished pending
3StatusCodeNumeric1Statuscode for the batch status, linked to the Status -information. Does not tell if e.g. sales invoice has been sent from Netvisor, tells only the status of the batch in Netvisor. 1 = pending, 2 = processing, 3 = finished 1
3ProcessingEndTimeDate1  
3BatchSizeNumeric1  
3ItemsPendingCountNumeric1  
3ItemsSuccessCountNumeric1  
3ItemsErrorCountNumeric1  
2SalesInvoiceLinkInformationAggr.0...1 If parameter addpurchaseinvoicelinkinformation is used, element name will be PurchaseInvoiceLinkInformation 
3LinkAggr.1...n  
4ItemIdentifierText1Given identification information for the sales invoice when the batch is imported 
4NetvisorKeyNumeric1  
2ItemErrorDescriptionsAggr.0...1  
3ItemError Aggr.1...n  
4IdentifierNumericGiven identification information for the sales invoice when the batch is imported 
ErrorsAggr.1  
ErrorText1...n  
Attr.TypeText The returned error type from Netvisor API, for example INVALID_DATA, PERIOD_LOCK, TECHNICAL_ERROR…
Can be used to conclude why the error is returned
 
Attr.ValueText Description of the error 


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.