The following methods allows one to make and manipulate torus-invariant Weil divisors on a normal toric variety.
One can also work with the various groups arising from torus-invariant and the canonical maps between them.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/NormalToricVarieties/DivisorsDocumentation.m2:64:0.