HI Community,
I'm making a robot that attaches tax documents to the supplier portal, and basically, I arrive at this part of the image below, where I need to check the item number authorized for billing in the purchase order, then I need to press the "Edit" button corresponding to the item right, and then selecting the check box corresponding to that item.
Example: In image below, let's assume that the Item authorized for billing is 0002, so I need to press the Edit button for that item (I colored it red) and then select the checkbox for that item (I colored it blue)

My difficulty is making the robot know that it needs to edit the button referring to the authorized Item, in this case 0002 and not 0001, and then select the checkbox for the right Item, in this case 0002 and not 0001.
Does anyone have any ideas?