def METHOD_NAME(self):
    """Create an invoice with round_globally where there was discrepancy
    between amount_tax (29.17) and amount shown on payments_widget (29.18).
    """
    inv_amounts = [43.35, 20.25, 20.60, 8, 28.25, 12, 0.13]
    invoice = self.create_invoice(
        self.supplier_intraEU, amounts=inv_amounts, taxes=self.tax_22ai
    )
    self.assertIsNot(bool(invoice.rc_self_invoice_id), False)
    self.assertIsNot(bool(invoice.rc_self_invoice_id.invoice_payment_term_id), True)
    self.assertEqual(invoice.rc_self_invoice_id.state, "posted")
    self.assertEqual(invoice.rc_self_invoice_id.rc_payment_move_id.state, "posted")
    # compare amount_tax with amount show on paymenys_widget
    info = json.loads(invoice.invoice_payments_widget)["content"][0]
    self.assertEqual(info["amount"], invoice.amount_tax)