Adding a Miscellaneous Invoice in a Customer Account

Description

Adds a miscellaneous Invoice for Customer account.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key or auth-password String Required Authentication Parameter
order-id Integer Required Order Id of order for which invoice to be added
customer-id Integer Required Customer Id of Customer for whom invoice to be added
selling-amount Float Required Amount of invoice in the selling currency of parent Reseller
description String Required Description for invoice
invoice-date Integer Required Date in epoch time format on which invoice to be added
invoice-due-date Integer Required Date in epoch time format on which invoice due date to be set
invoice-deletion-date Integer Required Date in epoch time format on which invoice deletion date to be set
transaction-key String Required Unique transaction key
accounting-amount Float Optional Amount of invoice in the accounting currency of parent Reseller. Required if selling and accounting currencies of parent Reseller are different.
conversion-rate Float Optional Conversion rate between selling and accounting amounts. Required if selling and accounting currencies of parent Reseller are different.
payment-reminder-days Integer Optional No of days in which Customer needs to be reminded about invoice
greedy Boolean Optional Possible values are true or false. Pass true if you want invoice to be greedy.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/billing/add-customer-misc-invoice.json?auth-userid=0&api-key=key&order-id=0&customer-id=0&selling-amount=0.0&description=description-text&invoice-date=0000000000&&invoice-due-date=0000000000&invoice-deletion-date=0000000000&transaction-key=transaction-key-text

Response

Returns an Invoice Id (Transaction Id) if invoice added successfully in the specified Customer's account.