post https://api.rainex.io/projects//invoices//allocate-payment
Set an existing payment as the specified invoice’s payment.
Error codes:
invoice_not_found | cannot find invoice specified in the request |
payment_not_found | cannot find payment specified in the request |
customer_missmatch | the invoice’s customer does not match the payment’s customer |
currency_mismatch | the invoice’s currency does not match the payment’s currency |