You are on page 1of 3

MANAFARM API DOCUMENT 

 
API-KEY ​: d22ca0b1-dd62-4078-8160-c25c8b8329f9 
SECRET-KEY​: BC6136EB64B0D683D76FC3ED8BC1AB62E1D87D58A1A97A10 
 
 
Method ​: POST 
 
End-Point: ​http://viusoft.com/api/v1/invoices/create 
 
Headers: 
 
Content-Type ​: application/json 
api-key :​ <API-KEY> 
secret-key ​: <SECRET-KEY> 
 
 

Parameter  Type  Description 

invoice_no  String  Invoice Number or Invoice Code 

customer  Object  Customer Object 

customer.uuid  String  UUID of the customer. Leave blank if 


you not having the customer uuid 

customer.name  String  Name of the customer 

customer.email  String  Email of the customer 

customer.phone  String  10 digit mobile number of the 


customer 

invoice_date  Date (MySQL Format)  Date of the invoice 

invoice_total  Float  Total amount of the invoice 

payment_mode  String  Mode of payment done by customer 


Allowed- cash, card, bank_transfer, 
paytm 

items  Object  Items object in the invoice 

items.id  String  Your local product id or any unique 


product id 

items.qty  Int  Quantity of products purchased 

items.price  Float  Unit price of the product 


items.name  String  Name of the product  

items.rowid  String  Uuid of the product from ViuSoft. 


Get product uuid from viusoft to 
identify the product in your account 

items.subtotal  Float  Subtotal of the product 


Price x Qty 

     

Body Example: 
Response:  

You might also like