The maximum number of commodity codes is 99 per declaration. If you have more than 99 lines these must be split over more than one declaration. Each commercial invoice uploaded to the declaration must match the number of lines on that specific declaration.