IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.TABLES
			 WHERE TABLE_NAME='EST_NF_ENT_DANFE_PROVISORIO_ITENS_IBS_CBS')
			 
BEGIN
	CREATE TABLE EST_NF_ENT_DANFE_PROVISORIO_ITENS_IBS_CBS(
		CD_CTR int NOT NULL,
		CD_CTR_IT int NOT NULL,
		CD_EMP int NOT NULL,
		CD_PROD int NULL,
		CST_IBS_CBS varchar(3) NULL,
		CLASS_TRIB_IBS_CBS varchar(6) NULL,
		VLR_BC_IBS_CBS money NULL,
		PERC_IBS_UF money NULL,
		PERC_IBS_UF_DIFERIMENTO money NULL,
		VLR_IBS_UF_DIFERIMENTO money NULL,
		VLR_IBS_UF_DEV_TRIB money NULL,
		PERC_IBS_UF_RED money NULL,
		PERC_IBS_UF_RED_EFET money NULL,
		VLR_IBS_UF money NULL,
		PERC_IBS_MUN money NULL,
		PERC_IBS_MUN_DIFERIMENTO money NULL,
		VLR_IBS_MUN_DIFERIMENTO money NULL,
		VLR_IBS_MUN_DEV_TRIB money NULL,
		PERC_IBS_MUN_RED money NULL,
		PERC_IBS_MUN_RED_EFET money NULL,
		VLR_IBS_MUN money NULL,
		VLR_IBS money NULL,
		PERC_CBS money NULL,
		PERC_CBS_DIFERIMENTO money NULL,
		VLR_CBS_DIFERIMENTO money NULL,
		VLR_CBS_DEV_TRIB money NULL,
		PERC_CBS_RED money NULL,
		PERC_CBS_RED_EFET money NULL,
		VLR_CBS money NULL,
		CONSTRAINT PK_EST_NF_ENT_DANFE_PROVISORIO_ITENS_IBS_CBS PRIMARY KEY CLUSTERED 
		(
			CD_CTR ASC,
			CD_CTR_IT ASC
		)
	) 
END