CREATE PROCEDURE sp_Api5_VenEncabezadoDelete
    @numinv INT,
    @grudoc INT,
    @coddoc INT
AS
BEGIN
    DELETE FROM venEncabezado
    WHERE numinv = @numinv
    AND grudoc = @grudoc
    AND coddoc = @coddoc;
END;
GO
