Create Payment of sales invoice

V2 should be used when the payment is not in local currency

Endpoints v1

Estonia:    https://aktiva.merit.ee/api/v1/sendpayment
Poland:     https://program.360ksiegowosc.pl/api/v1/sendpayment

Important

  • There must be invoce with that customer
  • This purchas invoce has to be not paid yet, you can only pay full amount
  • Sales invoice payment can be sent in several parts
  • Subsequent payment can only be made as a cash or bank payment. In the case of a bank, the IBAN must be provided. If there is no IBAN, the payment is placed at the cash register

Query Payload

{ 
  "BankId": "",
  "IBAN": "", 
  "CustomerName": "", 
  "InvoiceNo": "",
  "PaymentDate":"", 
  "RefNo": "", 
  "Amount": "" 
}
FieldTypeComment 
BankIdGuid
IBANStr 50Must match with one of the payment methods in the database
CustomerNameStr 150
InvoiceNoStr 35
RefNoStr 36
PaymentDateDate
AmountDecimal 18.2

Endpoints v2

Estonia: https://aktiva.merit.ee/api/v2/sendpayment
Poland: https://program.360ksiegowosc.pl/api/v2/sendpayment

Query Payload

FieldTypeComment
BankIdGuid
IBANStr 50Must match with one of the payment methods in the database
CustomerNameStr 150
InvoiceNoStr 35
RefNoStr 36
PaymentDateDate
AmountDecimal 18.2
CurrencyCodeDecimal 18.2Required if not local currency
CurrencyRateDecimal 18.7If the exchange rate is not included, we will take it from the EU central bank's request for the respective date