Not all bodies of law would be called a code. "Code" is, I think, always legislative in nature, and specifically indicates a codified or organized and self-contained body of law. For a good example of the difference, compare the United States Statutes at Large with the U.S. Code. I'm not sure if that distinction carries over into the civil law countries, but I'd think it would (in order to revise or add to the civil code, you'd have to enact various statutes).
There's also the "model code" category in the US, where what you're codifying is typically common law principles distilled from court decisions, subject to some attempt at reform by the people involved in developing the model code.
Many other areas of law are commonly referred to as a code, for example the "penal code" for criminal offenses. That said, you have a good point: no doubt the tax code is one of the least comprehensible (to laymen) parts of the law in most countries.
For example, the body of federal law in the U.S. is called the "United States Code". http://uscode.house.gov/