ProvIlyda.uploadPhysicalDocument Method
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.
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
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.