Skip to content

QueryAccountingList

The QueryAccountingList command gives you a detailed overview of all transactions in your account.

Possible Gateways

The following parameters are standard parameters for this command.

Command
COMMAND = QueryAccountingList
MINDATE = (DATE)
Response
code = (INT)
description = (TEXT)
property[ACCOUNTING_DATE][n] = (DATE)
property[ACCOUNTING_TYPE][n] = (TEXT)
property[ACCOUNTING_DESCRIPTION][n] = (TEXT)
property[ACCOUNTING_AMOUNT][n] = (INT)
property[ACCOUNTING_PRICE][n] = (DECIMAL)
property[ACCOUNTING_VAT][n] = (DECIMAL)
property[ACCOUNTING_VAT_PRICE][n] = (DECIMAL)
property[ACCOUNTING_CURRENCY][n] = (TEXT)
property[EXCHANGE_RATE][n] = (DECIMAL)
property[EXCHANGE_CURRENCY][n] = (TEXT)
property[INVOICE_PERIOD][n] = (TEXT)
property[SUBRESELLER][n] = (TEXT)
property[ACCOUNTING_PRICING][n] = (TEXT)
property[OPENING_BALANCE][0] = (DECIMAL)
property[OPENING_BALANCE_PRICE][0] = (DECIMAL)
property[OPENING_BALANCE_VAT_PRICE][0] = (DECIMAL)
property[SUM][0] = (DECIMAL)
property[SUM_PRICE][0] = (DECIMAL)
property[SUM_VAT_PRICE][0] = (DECIMAL)
property[COUNT][0] = (INT)
property[FIRST][0] = (INT)
property[LAST][0] = (INT)
property[LIMIT][0] = (INT)
property[TOTAL][0] = (INT)
ACCOUNTING_DATEDate of this transaction
ACCOUNTING_TYPEType of the transaction
ACCOUNTING_DESCRIPTIONDescription of the transaction
ACCOUNTING_AMOUNTAmount used for charging this transaction
ACCOUNTING_PRICEPrice charged during this transaction
ACCOUNTING_VATVAT used for this transaction
ACCOUNTING_VAT_PRICEV.A.T. charged during this transaction
ACCOUNTING_CURRENCYCurrency used to charge this transaction
EXCHANGE_RATEExchange rate used to convert the charged currency to your account currency
EXCHANGE_CURRENCYExchange currency
INVOICE_PERIODPeriod valid for this transaction
SUBRESELLERThe registrarname of the subresller that caused this accounting
ACCOUNTING_PRICINGShows what pricing was used to calculate the accounting e.g. PREMIUM,PROMO, RAM or STANDARD.
MINDATESearch accountings younger than this date
OPENING_BALANCEBalance of the account at the beginning of this list
OPENING_BALANCE_PRICEBalance of your account at the beginning of the list (excluded V.A.T.)
OPENING_BALANCE_VAT_PRICEV.A.T. balance of your account at the beginning of the list
SUMSum of all transactions (including V.A.T.) in this list
SUM_PRICESum of all transactions in this list (excluding V.A.T.)
SUM_VAT_PRICEV.A.T. sum of all transactions in this list
COUNTTotal number of accountings shown
FIRSTPointer to the first shown ID
LASTPointer to the last shown ID
LIMITThe limit given in the command
TOTALTotal number of existing accountings

The following parameters are optional for this command.

Command
COMMAND = QueryAccountingList
OBJECT = (TEXT)
MAXDATE = (TEXT)
REGISTRAR = (TEXT)
ORDER = ASC|DESC
ORDERBY = ACCOUNTINGDATE|ACCOUNTINGTYPE|ACCOUNTINGOBJECT
WIDE = 0|1
ACCOUNTINGTYPE = (TEXT)
GENERATELIST = 0|1
SENDLISTEMAIL = (EMAILS)
FIRST = (INT)
LIMIT = (INT)
Response
code = (INT)
description = (TEXT)
property[ACCOUNTING_DATE][n] = (DATE)
property[ACCOUNTING_TYPE][n] = (TEXT)
property[ACCOUNTING_DESCRIPTION][n] = (TEXT)
property[ACCOUNTING_AMOUNT][n] = (INT)
property[ACCOUNTING_PRICE][n] = (DECIMAL)
property[ACCOUNTING_VAT][n] = (DECIMAL)
property[ACCOUNTING_VAT_PRICE][n] = (DECIMAL)
property[ACCOUNTING_CURRENCY][n] = (TEXT)
property[EXCHANGE_RATE][n] = (DECIMAL)
property[EXCHANGE_CURRENCY][n] = (TEXT)
property[INVOICE_PERIOD][n] = (TEXT)
property[SUBRESELLER][n] = (TEXT)
property[ACCOUNTING_PRICING][n] = (TEXT)
property[OPENING_BALANCE][0] = (DECIMAL)
property[OPENING_BALANCE_PRICE][0] = (DECIMAL)
property[OPENING_BALANCE_VAT_PRICE][0] = (DECIMAL)
property[SUM][0] = (DECIMAL)
property[SUM_PRICE][0] = (DECIMAL)
property[SUM_VAT_PRICE][0] = (DECIMAL)
property[COUNT][0] = (INT)
property[FIRST][0] = (INT)
property[LAST][0] = (INT)
property[LIMIT][0] = (INT)
property[TOTAL][0] = (INT)
OBJECTShow only accountings for this object (optional)
MAXDATESearch accountings older than this date (optional)
REGISTRARShow accountings from this registrar (optional)
ORDEROrder resulting list in this direction (optional)
ORDERBYOrder resulting list by this column (optional)
WIDEShow more or less details (optional)
ACCOUNTINGTYPEShow only accountings for this accountingtype (optional)
GENERATELISTShow result on screen|Generate a CSV File and upload to ftp or send by email (optional)
SENDLISTEMAILEmail address where the CSV will be sent to (optional)
FIRSTStart the output of results from this item (optional)
LIMITShow only this many items in the response (optional)