# DSR WEBSERVICE APPROACH ## Interfaces required - `ConsultaRemisionesHeaders` - To fetch all the remisiones for the current day. - `ConsultaRemisionPorFolioRemision` - To get detailed remision info ## Steps - Call `ConsultaRemisionesHeaders` interface to get an array of `Id_Fol_Fact`. - Now for each `Id_Fol_Fact` call `ConsultaRemisionPorFolioRemision` interface to get detailed info for the remision(s). - These will be managed by sequelize transactions, so that if a process fails, then there wont be a possibility of incorrect synchronization. ## Interfaces for debugging in future - `ConsultaRemisionPorProveedorCveRemision` - Get a specific remision using a name & vendor number. ## Previously consumed interface - `ConsultaRemisionPorFecha` - Gives bulk data of all the remisions.