Create Rest Invoices (SMS, Email) Request

INPUT PARAMETER
## Invoice Details
Parameter Description
Invoice ValueProduct Unit Price * Quantity of Products.
- Please note merchant should manually calculate and enter the subtotal
Customer IdCustomer Id.
- Generated by MyFatoorah system.
Customer NameCustomer Name (Required)
Country Code IdCounty with Phone Code. (Required)
- Please note user should enter value of each Country Code. Each Country Codes differentiated by a Value.
Customer MobileCustomer Mobile Number "Without Country Code". (Required)
Customer EmailCustomer Email ID. (Required)
Display Currency IdDisplay Currency Id in Invoice. (Required)
- Please note user should enter value of each Currency Id. Each Currency Id’s differentiated by a value.
Send Invoice OptionSend Invoice Options. (Required).

- Please note user should enter value of each option. Each sending options(SMS, Email and Link) differentiated by a value.

1 - Generate Invoice and Send link by SMS to the customer's phone.
2 - Generate Invoice and Send link by Email to the customer's email.
3 - Generate Invoice and Send link by both SMS & Email.
4 - Generate Invoice Link only.
## Invoice Item Details
Product IdProduct Id. (Optional)
- Vendor can enter the Product Id, once it is created through MyFatoorah system.
Product NameProduct Name. (Required)
QuantityProduct Quantity. (Required)
Unit PriceProduct Unit Price. (Required)
LanguageInvoice Language. (Required)
Please note user should enter value of each Language. Each Language options(Arabic or English) differentiated by a value.

1 - Generate Invoice and Send link by SMS to the customer's phone.
2 - Generate Invoice and Send link by Email to the customer's email.
3 - Generate Invoice and Send link by both SMS & Email.
4 - Generate Invoice Link only.

RESPONSE PARAMETER
Parameter Description
Response MessageResponse Message.
Redirect URLURL to be redirected after success message "Payment URL".

NOTE: After creating the Invoices, an auto-generated message with invoice link send through the “Send Invoice Options”.