1. Create an invoice for Provider A
2. Go to Administration > Billing > Billing Correction
3. Enter in the Invoice No. for the bill created in Step 1
4. Change the Provider: dropdown to Provider B
5. Save the Invoice
After switching the provider to provider B and saving the invoice, db table billing_on_cheader1 will switch the value of field provider_ohip_no from Provider A's ohip no. to Provider B's.
If you check the table billing_on_cheader1 before switching the bill from Provider A -> Provider B, the provider_ohip_no field will match Provider A's ohip_no on their provider record. If you check the same field after saving Provider B as the provider of the invoice, the provider_ohip_no field remains Provider A's ohip no, even though the provider_no field is now Provider B's.
This causes issues processing the RA. The field provider_ohip_no identifies the provider when the invoice is submitted to OHIP for payment. When the RA is returned from OHIP and processed in OSCAR, there are issues settling the invoice (the invoice row in billing_on_cheader1 becomes status: S, paid: 0.00) because the provider_no and provider_ohip_no are not related.