Create Vendor

Endpoints

Estonia: https://aktiva.merit.ee/api/v2/sendvendor
Poland: https://program.360ksiegowosc.pl/api/v2/sendvendor

Query Payload

FieldTypeComment 
IdGuid
Name Str 150Required when vendor is added. The vendor name must be unique.
RegNoStr 30
VatAccountableBoolRequired when vendor is added. Allowed true or false (lowercase).
VatRegNoStr 30
CurrencyCodeStr 4
PaymentDeadLineIntIf missing then taken from default settings.
OverDueChargeDecimal 5.2If missing then taken from default settings.
RefNoBaseStr36
AddressStr 100
CountryCodeStr 2Required when adding
CountyStr 100
CityStr 30
PostalCodeStr 15
PhoneNoStr 50
PhoneNo2Str 50
HomePageStr 80
EmailStr 80
DimensionsArray of DimensionsObjects
VendorTypeInt1=vendor, 3=the reporting entity
ReceiverNameStr 150

DimensionsObject

FieldTypeComment
DimIdInt
DimValueIdGuid
DimCodeStr

Successful Result

FieldType
IdGuid
NameStr

Example Payload

{
“Name”:”Mart Mustikas”,
“RegNo”:”1232233234″,
“VatAccountable”:true,
“VatRegNo”:”12342234″,
“CurrencyCode”:”EUR”,
“PaymentDeadLine”:7,
“OverDueCharge”:0,
“Address”:”Kalda tee 10″,
“City”:”Morna Linn”,
“County”:”Pärnu maa”,
“PostalCode”:”80034″,
“CountryCode”:”EE”,
“PhoneNo”:”55555555″,
“Email”:”mart.mustikas@example.com”,
“VendorType”:1
}