Payments
All API Operations related with payments of income and expenses
Last updated
All API Operations related with payments of income and expenses
Last updated
Adds a new payment into for an income or expense. This endpoint also creates a new transaction in the provided account automatically. It works only for manually tracked accounts. If you would like to match an existing transaction with and income or expense please use 'Match Payment' endpoint.
32-character unique ID of the matching Invoice. If this payment does not match with an income, do not include this field while sending your request. you can include expenseId
to match with an expense.
32-character unique ID of the matching Expense. If this payment does not match with an expense, do not include this field while sending your request. you can include incomeId
to match with an income.
32-character unique ID of the bank or cash account of the transaction. This payment will be recorded into this account. Please make sure that the selected account's currency is the mathes with the income or expense's currency or with the company's functional currency. If the selected account's currency does not match any of those currencies, payment will not be recorded.
Description of the payment. Will also be used as the description of the added transaction.
Epoch timestamp for the transaction date and time. If you don't know the timestamp, you can also provice transactionDate
. If both of the fields are provided, transactionTimestamp
will be used.
Datetime with timezone for the transaction date and time. You can also provide transactionTimestamp
. If both of the fields are provided, transactionTimestamp
will be used.
The amount of the payment. This amount should be less or equal to matched income or expense's remaining balance.
OK
Matches an existing transaction as the payment for an income or expense.
32-character unique ID of the matching income. If this payment does not match with an income, do not include this field while sending your request. you can include expenseId
to match with an expense.
32-character unique ID of the matching Expense. If this payment does not match with an expense, do not include this field while sending your request. you can include incomeId
to match with an income.
The amount of the payment. This amount should be less or equal to matched income or expense's remaining balance. It should also be less or equal to transaction's not-matched balance.
OK