Create Payment Invoice

API to create a Payment Invoice

Body Params
double
required
Defaults to 20

Amount for which payment invoice is created. Amount must be greater than 0.01. Must be equal to [eInvoiceItems.price * eInvoiceItems.quantity]

string
enum
required
Defaults to SAR

Currency for which payment invoice is created. Currency must be 3 characters in length. Acceptable currencies are: SAR, AED

customer
object
required

Customer Object

eInvoiceDetails
object
required

e-Invoice details object

date

Expiry date of payment invoice. If not set in request, it is set to a date of 30 days after activation date automatically and the value is returned in response. If activationDate is not set, the date of 30 days after payment invoice creation date is set as expiry date and it is returned in response.

date

Activation date of payment invoice. If not set in request, it is set to null the value is returned in response.

Responses

Language
Credentials
Basic
base64
:
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json