D&D Maximum Attack Bonus [duplicate]

In D&D 5E, what is the maximum achievable attack bonus?

Without expenditure, the highest I can reckon is a level 20 Ranger

  • +5 from 20 Dex
  • +6 from Proficiency
  • +5 Foe Slayer
  • +2 Archery Attack Style
  • +3 Magic Weapon
  • +1 Ioun Stone of Mastery
  • Total: +22

With expenditure, a level 10 Battle Master Fighter/level 2 War Cleric/level 1 Divine Sorcerer can get a bit higher, at least once

  • +5 from 20 Dex
  • +6 from Proficiency
  • +2 Archery Attack Style
  • +3 Magic Weapon
  • +3 Magic Ammunition
  • +1 Ioun Stone of Mastery
  • +d10 (1-10) Precision Attack Maneuver
  • +10 Guided Strike from Channel Divinity
  • +2d4 (2-8) Favoured by the Gods (would only trigger on a miss)
  • Total: +33-48

External Buffs

  • +10 War God’s Blessing from another level 6+ War Cleric Channel Divinity
  • +d6 (6) from Circle of Stars Druid Weal
  • +d4 (4) Bless
  • +d4 (4) Emboldening Bond from a Peace Cleric
  • +1d12 (12) from Bardic Inspiration
  • +d4 (4) Experimental Elixir from Alchemist Artificer
  • +d4 (4) Bend Luck from Wild Magic Sorcerer
  • Total: Up to +44

Is there anything I’m missing? Sure, at this point the only way to miss is Nat 1’s, but some of these bonuses are easier to come by than others, so I’m exploring for all the potential options.