Create Accounting not happening for receipt created through API
I have a requirement as below:
- There are 2 business units BU 1 and BU 2.
- Receipt method is created and 2 banks are added to the receipt method . One bank is marked as primary. Bank1 and Bank2 . Bank1 is primary in the receipt method.
- The requirement is when a receipt is created for BU 2 , the remittance bank should be Bank2. When I pass Bank2 remittance bank account id to the receipt creation API, the receipt gets created but Create Accounting is not happening for the receipt. There is no error message also.
- If I mark Bank2 as primary bank in the receipt method and don't pass the remittance bank account id to the API, the receipt gets created with Bank1 which is not the primary bank on the receipt method.
Tagged:
0