In Increff system both suppliers and customers are vendors.
Inward and outward orders can be placed against both with appropriate order type.
Each vendor can have multiple locations. If order is created with vendor codes then specifying the vendor location code is also mandatory. Vendor location code is unique for a vendor and can repeat for different vendors.
While creating orders with Vendor codes, Vendor code and vendor location code is mandatory and its used to identify the sources and destination of Inward / outward orders.
For outward orders, Vendor and Vendor Location information is also used for generated Invoices documents and pack box label documents.
Duplicate calls to create Customers and Vendors (Vendor) are idempotent. No changes will be made to the existing Customers or Vendors and a 200-OK response will be sent by the API
If you don't have VendorLocationCodes at your end then two approaches can be followed:
Use a single, constant Location Code for all the Vendors
Set the Location Code same as the Vendor code
The Vendor’s Address represents the geographic location of a Vendor’s headquarters
The Vendor’s Location has two aspects - the billing address and the shipping address. The address that the Vendor desires to use for billing and shipping purposes must be specified in the Vendor’s billing and shipping address data. These three addresses might or might not be the same
For Vendor, the name and VendorType values must be unique across all Vendor. For Vendor Location, no unique constraints exist.
The GSTIN field is a mandatory field. A value must be provided for this field