DNS-DOMAINS.COM

Domains registration services

FW LAB AC

Adding a Miscellaneous Invoice in a Sub-Reseller Account

Description

Adds a miscellaneous Invoice against the specified Sub-Reseller's Account.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required Order Id of Order against which Invoice to be added
reseller-id Integer Required Reseller Id of Sub-Reseller against 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 Optional Date in epoch time format on which Invoice due date to be set
invoice-deletion-date Integer Optional 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 the Parent Reseller. Required if Selling and Accounting Currencies of the Parent Reseller are different.
conversion-rate Float Optional Conversion rate between Selling and Accounting amounts. Required if Selling and Accounting Currencies of the Parent Reseller are different.
payment-reminder-days Integer Optional No of days in which Reseller 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-reseller-misc-invoice.json?auth-userid=0&api-key=key&order-id=0&reseller-id=0&selling-amount=0.0&description=description-text&invoice-date=0000000000&transaction-key=transaction-key-text

Response

Returns a Transaction Id (Integer) if the Invoice is added successfully against the specified Sub-Reseller's Account.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.