This transaction type cannot be matched with a line on the statement.
When using the books API
I get this error "This transaction type cannot be matched with a line on the statement."
What I'm doing is for the uncategorized transaction, I'm creating an invoice, then a customer payment for the amount of the invoice, then I try to match the uncategorized transaction with the customer payment transaction
Here are the transaction relevant transaction ids:
uncategorized transaction id 4478805000000587123
request payload
- {
- transactions_to_be_matched: [
- {
- transaction_id: 4478805000000615005,
- transaction_type: 'customer_payment',
- }
- ]
- }
Why do I get the error "This transaction type cannot be matched with a line on the statement"?