Ihr Browser lässt keine Web-Fonts zu. Unsere Webseiten nutzen Web-Fonts basierte Icons. Um unseren Service zu verbessern, erlauben Sie bitte Ihrem Browser Web-Fonts zu benutzen.
Wir stellen ein!
Deutsch | English | Español

2.2. Accounting

The accounting object provides methods concerning to your account balance and invoices.

2.2.1. accounting.accountBalance

Account balance details.

2.2.1.1. Input

No parameters allowed

2.2.1.2. Output

Table 2.9. Parameters

ParameterDescriptionTypeOptional
totalAccumulated amount of received payments float  
availableDeposit that is available for transactions float  
lockedDeposit that is locked for transactions in process float  
creditLimitCustomers credit limit value float  

2.2.2. accounting.addPayment

Account balance details.

2.2.2.1. Input

Table 2.10. Parameters

ParameterDescriptionTypeRequiredDefault
totalAccumulated amount of the payments float true 
typTyp of the Payment like PayPal text64 true 
transactionIdtransactionId ID text64 false 
testingOnly Return Frees boolean false 
urlapproveReturn URL text1024 false 
urlcancelReturn URL text1024 false 

2.2.2.2. Output

No additional return parameters

2.2.3. accounting.charges

charges

2.2.3.1. Input

Table 2.11. Parameters

ParameterDescriptionTypeRequiredDefault
totalAccumulated amount of the payments float true 
typTyp of the Payment like PayPal text64 true 

2.2.3.2. Output

No additional return parameters

2.2.4. accounting.getInvoice

Returns invoice pdf document.

2.2.4.1. Input

Table 2.12. Parameters

ParameterDescriptionTypeRequiredDefault
invoiceIdId of the invoice text64 true 

2.2.4.2. Output

Table 2.13. Parameters

ParameterDescriptionTypeOptional
pdfInvoice pdf as base64 encoded base64  

2.2.5. accounting.getReceipt

Returns receipt pdf document.

2.2.5.1. Input

Table 2.14. Parameters

ParameterDescriptionTypeRequiredDefault
idid of the payment int true 
amountamount to be receipt or refund text64 true 
detailsdetails required for pdf text text64 true 
datedate of request text64 true 

2.2.5.2. Output

Table 2.15. Parameters

ParameterDescriptionTypeOptional
pdfReceipt/Refund PDF as base64 encoded base64  

2.2.6. accounting.getstatement

Statement PDF Document of customers transactions.

2.2.6.1. Input

Table 2.16. Parameters

ParameterDescriptionTypeRequiredDefault
dateFromLog start date timestamp true 
dateToLog end date timestamp true 
formatFormat of the requested document documentformat falsepdf
pagePage number for paging int false1
pagelimitMax number of results per page int false20

2.2.6.2. Output

Table 2.17. Parameters

ParameterDescriptionTypeOptional
log   
... dateLog timestamp dateTime  
... amountAmount value float  
... typeType of action text64  
... detailsLog details text64  
pdfInvoice pdf as base64 encoded base64  

2.2.7. accounting.refund

Request a refund of your unneeded funds.

2.2.7.1. Input

Table 2.18. Parameters

ParameterDescriptionTypeRequiredDefault
typeType of refund refundType true 
amountAmount value float true 
accountCCAccount destination country country true 
accountHolderBank account holder text64 true 
accountNumberBank account number text64 false 
bankCodeBank code text64 false 
accountIBANBank account IBAN token255 false 
SWIFT-BICAmerican swift BIC text64 false 

2.2.7.2. Output

No additional return parameters

2.2.8. accounting.infopayment

Account balance details.

2.2.8.1. Input

Table 2.19. Parameters

ParameterDescriptionTypeRequiredDefault
idID of the Payment text255 true 
typTyp of the Payment text255 true 

2.2.8.2. Output

No additional return parameters

2.2.9. accounting.listInvoices

Get list of available invoices.

2.2.9.1. Input

No parameters allowed

2.2.9.2. Output

Table 2.20. Parameters

ParameterDescriptionTypeOptional
countTotal number of invoices int  
invoice   
... invoiceIdId of the invoice text64  
... dateDate of invoice date  
... afterTaxBill including tax float  
... preTaxBill without tax float  
... typeKind of invoice text64  

2.2.10. accounting.lockedFunds

Log of locked deposit.

2.2.10.1. Input

Table 2.21. Parameters

ParameterDescriptionTypeRequiredDefault
dateFromLocked funds start date timestamp false 
dateToLocked funds end date timestamp false 
pagePage number for paging int false1
pagelimitMax number of results per page int false20

2.2.10.2. Output

Table 2.22. Parameters

ParameterDescriptionTypeOptional
funds   
... dateLock timestamp dateTime  
... domainDomain name for locked fund text64  
... amountLocked amount value float  
... statusLocked domain status text64  
sslFunds   
... certificateIdCertificate ID int  
... creationDateDate of credit locking datetime  
... commonNameIf already set the commonName of the certificate text255  
... nettoLocked certificate status float  
... vatVAT float  
... productIdProduct ID int  
... productNameName of the product text255  
... statusLocked certificate status text64  

2.2.11. accounting.log

Log of customers transactions.

2.2.11.1. Input

Table 2.23. Parameters

ParameterDescriptionTypeRequiredDefault
dateFromLog start date timestamp false 
dateToLog end date timestamp false 
priceMinMinimum price of log entry float false0.0
priceMaxMaximum price of log entry float false 
pagePage number for paging int false1
pagelimitMax number of results per page int false20

2.2.11.2. Output

Table 2.24. Parameters

ParameterDescriptionTypeOptional
countTotal number of log entries int  
sumSum of amount float  
log   
... dateLog timestamp dateTime  
... amountAmount value float  
... typeType of action text64  
... detailsLog details text64  

2.2.12. accounting.sendbypost

Requests postal delivery of an invoice.

2.2.12.1. Input

Table 2.25. Parameters

ParameterDescriptionTypeRequiredDefault
invoiceIdId of the invoice text64 true 
acceptCostsSet to true to accept the incurred costs boolean truefalse
sendTwiceSet to true to accept duplicated delivery-requests for a single invoice boolean falsefalse
testingTesting mode, no real action boolean false 

2.2.12.2. Output

No additional return parameters