Vin Reco Integration
A standard approach
In this document, we will discuss about the standard approach for Vin Reco Integration.
Prerequisites
Credentials
Point of Contact for quick communications for any queries or log in support with the credentials
Information of Business Models
Information of Fulfillment Modes
Information of any Third Party Integrations (In case we need to exchange the data)
Information of Availability for the Type of Integrations with the Third Party (for data exchange i.e. FTP/APIs)
Information of the requirement for any customizations apart from the vanilla product
Information of the requirement of formats/fields/data points/formulas for the customizations
Where unavailability of the data points, need agreement for manual uploads done by clients
Require the Agreements and sample data files (In special cases where the integration bases on it and we are not getting directly through the respective sources)
Require the session with client to know current processes (In special cases where the solution to be build basis on it)
Pre-Integration Analysis
Marketplace Business Models
Fulfillment Modes
Marketplace Panel Analysis
Available Report Types
Availability of Data and Duration of Each Report Type
Type Report Headers and Understanding
Understanding of Each Data Points and Statuses
Analysis on Common Keys Used for Correlations of Different Reports
Marketplace Fees
Marketplace Policies
Orders Analysis
Returns Analysis
Catalogue Analysis
Payment Analysis
Replacements
Refunds Analysis
Reimbursements Analysis
Agreements Review (For Custom Integrations)
Data Analysis for Prepare the Manual Upload Formats (If Applicable)
Analysis on Sample Data Files Shared by the Clients (For Custom Integrations)
Analysis on Sessions Done to Understand the Current Processes of Clients (For Custom Integrations)
Analysis to Build a Solution for the Client (For Custom Integrations)
Manual Report Preparation to Check the Feasibility for the Further Implementation (New Marketplaces)
Manual Report’s Validations/Testing with the Respective Portals (Internal - New Marketplace)
Manual Report’s Validation/Testing with the Client (External - New Marketplace)
Review and Analysis of the Change/New Request Received Post the Prerequisites
Implementation Guide
Login
Marketplaces may or may not have APIs to pull data that we require. Amazon is the only marketplace having APIs for all the data points and rest of all the marketplaces don’t give APIs. We start integrating the marketplace based on the availability.
API Credentials : Implement Authentication.
Marketplace Panel Scraping : with username and password we code to generate valid cookies.
Data Pulling
Once we have authentication in place, we start to code pulling reports from Marketplaces. After the preintegration analysis phase we generate a detailed Implementation guide containing information about the data points and reports.
The following are the categories of the data that we pull from Marketplaces.
B2B Purchase Orders
B2B GRN
B2B Invoices
B2B Payments
Orders
Returns
Payments
Debit Notes And Credit Notes
Catalog
Replacements
Reimbursements
LBHW
Rate Card
Charges
There are certain data points like LBHW, Charges and Rate Cards for which Marketplaces don’t generate any reports and we have to scrape data from webpage or marketplace’s services and generate JSON.
Configs
Marketplaces are having various type of validation for different reports eg. The max duration for some reports would be 2 months, 4 months etc, for some reports the marketplace might give data for the last 2 years and some only 2 months.
We create enum types for all the types data we pull from the marketplace and configuration properties against the enum types.
Operation File Config
Operation File Mapping
Channel Master
Channel Connectors
Channel Operations
Funnel Temp Mappings
We have a common module we call it as Funnel to take care of all the uploads [supports xlsx, csv, json types] and validations.
We have separate collections to save the staging data for all the enum types at marketplace level.
In this mapping, we define the collection names, mandatory fields, type conversion, trim characters etc. funnel uses this mapping to read the file and push in temp collection.
Orders File to Temp
Returns File to Temp
Payments File to Temp
Catalog File to Temp
Replacement File to Temp
Reimbursements File to Temp
Funnel Mapping
Once we are done with the staging mapping, we have production collections to save similar kinds of data. Eg. B2C Orders we get from all the marketplaces and at the end the data gets transferred in the “orders” collection. The production collection query mapping is done in this phase.
Orders Temp to final collection
Returns Temp to final collection
Payments Temp to final collection
Catalog Temp to final collection
Replacement Temp to final collection
Reimbursements Temp to final collection
Payment Mapping
We have a standard collection of payment data points that is being used in reconciliation. In this module we do mapping from Marketplace Fields to the data points for forward, return and other payments.
Channel Orders Charges with VinReco Charges Heads
Channel Returns Charges with VinReco Returns Charges Heads
Post Funnel
Now, the marketplace may not provide all the required information in a single file and sometimes we have to do some short of calculation and update required files from other sources. In this module, we take care of such operations.
Update Required Fields in Temp/Final Orders
Update Required Fields in Temp/Final Returns
Update Payment using Mapping
Rulebox
This module is responsible for Marketplace fees calculation in the VinReco system at Order and Return level. We configure the different heads and properties under which the marketplace charges to sellers and rules for the calculation.
Charges Heads
Rules
Rulebox Integration
Recalculate
Data Processing
Now, once we have all the required reports and data points in the system, we trigger a program to start with processing and updating required data points in production collection which is required for reconciliation. Following is the list of the data points that we update in production collections to generate reco.
Orders Charges Update from Payment
Refunds
Returns Charges Update
Paid Update
Reimbursements
Rulebox Calculation for Return & Orders
Returns
Reconciliation
Mostly all the reconciliation scenarios fall in two categories; Marketplace Fees and Inventory Scenarios. Different marketplaces will have different policies for making payment and raising disputes; however, logically would be the same for eg. Missing inventory scenario logic would be the same across all the marketplaces and the only difference would be in Ageing and sometimes the reference data for ageing. we have configuration to generate such scenarios.
In some cases, the leakage scenario would be different from all the scenarios and we do code that in a way can be configured for other marketplaces if required.
Reco Flag Updates
Reco Scenario Integration
Reco Diff Scenario Integration
Reco Automation
Testing
In this phase of integration, we complete reco generation testing and work on making the integration mature.
Login
Data Pulling
Configs
Funnel Temp Mappings
Funnel Mapping
Payment Mapping
Post Funnel
Rulebox
Data Processing
Reconciliation
Beta Testing with 10 POC(big) or 50 POC(small)