ProvIlyda.uploadPhysicalDocument Method

This method is used to upload the physical invoice document as you created it, to the provider. 
The uploaded file will be visible to the provider control panel. 
Important: For B2G invoices, the provider issues the invoice. The QR's content is the B2G invoice. So, for B2G transactions, you don't have to upload any documents.
Public Function uploadPhysicalDocument( _ 
ByVal filePath As String, _ 
ByVal invoiceId As String
) As Boolean
This language is not supported or no code example is available.
public bool uploadPhysicalDocument( 
string filePath
string invoiceId 
)
This language is not supported or no code example is available.

Parameters

filePath
string

The file path of your file. Example: C:\Users\user\Desktop\myfile.pdf

invoiceId
string

The invoice id as you got it from the result of SendInvoice function.

Return Value

bool

True if the file is uploaded 
False if the file is not uploaded

Example
 
 var il = new ProvIlyda("ilydaUser", "ilydaPassword", "arbUser", "arbKey", false);
 bool uploaded = il.uploadPhysicalDocument(@"C:\Users\user\....\myInvoice.pdf", "12cc3a4d56e7aceb8901e2dc34a5678e");
 					
This language is not supported or no code example is available.
 Dim il As ProvIlyda = New ProvIlyda("ilydaUser", "ilydaPassword", "arbUser", "arbKey", False)
 Dim uploaded As Boolean = il.uploadPhysicalDocument("C:\Users\user\....\myInvoice.pdf", "12cc3a4d56e7aceb8901e2dc34a5678e")
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition