DROP TABLE IF EXISTS timbres;
CREATE TABLE timbres(
	id BIGINT AUTO_INCREMENT PRIMARY KEY NOT NULL,
	clave BIGINT UNIQUE NOT NULL,
	cfdi TEXT NOT NULL,
	cancelacion TEXT NULL,
	estado INT,
	registro DATETIME
);

DROP TABLE IF EXISTS proveedores;
CREATE TABLE proveedores(
	timbre BIGINT NOT NULL,
	concepto BLOB NOT NULL,
	monto DECIMAL(10,2) NOT NULL,
	receptor BLOB NOT NULL,
	rfc BLOB NOT NULL,
	codigo BLOB NOT NULL,
	regimen INT NOT NULL,
	uso INT NOT NULL,
	forma INT NOT NULL,
	metodo INT NOT NULL,
	nota TEXT NULL
);
