N-(Tetrazol-5-yl)- and N-(triazol-5-yl)arylcarboxamides. N-(Tetrazol-5-yl)- and N-(triazol-5-yl)arylcarboxamides of the general formula (I) are described as herbicides. In this formula (I), X, Y, Z and R are each radicals such as hydrogen, organic radicals such as alkyl, and other radicals such as halogen. A and B are each N and CY.