N-(tetrazol-5-yl)- and N-(triazol-5-yl)hetarylcarboxamides of formula (I) and their use as herbicides. The invention relates to N-(tetrazol-5-yl)- and N-(triazol-5-yl)hetarylcarboxamides of formula (I) and their use as herbicides. In said formula (I), B represents N or CH, whereas X1 is N or CR1, X2 is N or CR2, X3 is N or CR3 and X4 is N or CR4 provided that a least one of X1, X3 and X4 is N R, R1, R2, R3, R4 and R5 represent groups such as hydrogen, halogen or organic groups such as alkyl or phenyl.Linvention concerne des N-(tétrazol-5-yl)- et N-(triazol-5-yl)hétarylcarboxamides représentés par la formule (I) et leur utilisation en tant quherbicides. Linvention concerne des N-(tétrazol-5-yl)- et N-(triazol-5-yl)hétarylcarboxamides de formule (I) et leur utilisation en tant quherbicides. Dans ladite formule (I), B représente N ou CH, alors que X1 représente N ou CR1, X2 représente N ou CR2, X3 représente N ou CR3 et X4 représente N ou CR4 pour autant quau moins lun des éléments parmi X1, X3 et X4 représente N R, R1, R2, R3, R4 et R5 représentent des groupes tels que hydrogène, halogène ou des groupes organiques tels qualkyle ou phényle.