Broken bookkeeping records: no financial trxn from Accounts Receivable to revenue account.
According to the docs, when a Pending Order is created it's supposed to create a financial trxn transferring the total sum to accounts receivable. I'm not seeing this happening.
And @eileen suggested that the default should be the other way around.
But even with this turned ON, the trxn is not created.
# Set this to a contact that exists: CID=202 cv api Order.create financial_type_id=Donation contact_id=$CID contribution_status_id=Pending \ total_amount=30 receive_date=2020-05-29\ 15:30:00
At this point we would expect (according to my understanding) to see:
✔1 contribution record.
✔1 line item: directly linked to the contribution.
✔1 financial item, linked to the line item, which specifies the CREDIT financial account (Donation) and status 3 (pending).
✖1 financial trxn:
from_account(the CREDIT): The revenue (income) account for the Donation financial type.
to_account(the DEBIT): Accounts Receiveable
✖related entity financial trxn records
Without this we end up with bookkeeping problems:
- all financial trxns come from Accounts Recievable, but there's nothing going to Accounts Receivable.
- there are no bookkeeping transactions for the revenue accounts.
- So you get info like "some money went into your bank" but not "a donation went into your bank".