Advance credit reciepts
Last updated
Last updated
If you received an advance payment (prepayment) and provided the service / sent the goods, then you need to send the second receipt - the advance credit receipt.
The system does not validate the correspondence between the data for the prepayment receipt and the data for the prepayment receipt. Be careful. Please note that the advance payment on reciepts, issued at rates 10/110 (vat110) and 20/120 (vat120) is offset at the actual rate, i.e. 10% (vat10) or 20% (vat20), respectively.
Affordable only for Unit. Receipts and ATOL
To do this, send a request:
GET
https://unitpay.ru/api?method=offsetAdvance¶ms[paymentId]=paymentID¶ms[secretKey]=your_account_secret_key¶ms[login]=your_email
login
string
Your Unitpay e-mail
secretKey
string
Partner secretKey
paymentId
string
ID of the payment for which the advance is credited. The payment must have parameter cashItems with the payment methods “advance“, “advance payment”, “advance payment 100%”
cashItems
String
Strongly required if the payment has already been offset by advance payment. If cashItems is not transferred, the advance payment of the entire payment is credited
More about cashItems here.
If the product / service was sold in a currency different from RUB, then in order to receive a prepayment receipt, you need to transfer the amount in RUB. In the advance credit receipt, the amount is always in RUB.
Advance credit receipts are also displayed in your personal account in the general statistics of payments: