Create Customer

Endpoints

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

Query Payload

ParameterTypeComment
IdGuid
Name Str 150Required when customer is added. The customer name must be unique.
RegNoStr 30
NotTDCustomerBoolRequired when customer is added. EE True for physical persons and foreign companies. PL True for physical persons. Allowed “true” or “false” (lowercase).
VatRegNoStr 30
CurrencyCodeStr 30
PaymentDeadLineIntIf missing then taken from default settings.
OverDueChargeDecimal 5.2If missing then taken from default settings.
RefNoBaseStr 36
AddressStr 100
CountryCodeStr 2Required when adding
CountyStr 100
CityStr 30
PostalCodeStr 15
PhoneNoStr 50
PhoneNo2Str 50
HomePageStr 80
EmailStr 80
SalesInvLangStr 8Invoice language for this specific customer.(ET,EN,RU,FI,PL,SV)
ContactStr 35
GLNCodeStr 10
PartyCodeStr 20
EInvOperatorInt1 - Not exist, 2 - E-invoices to the bank through Omniva, 3 - Bank ( full extent E-invoice), 4- Bank (limited extent E-invoice)
EInvPaymIdStr 20
BankAccountStr 50
DimensionsArray of DimensionsObjects
CustGrCodeStr 20
CustGrIdGuid
ShowBalanceBool
ApixEInvStr 20

DimensionsObject

FieldTypeComment
DimIdInt
DimValueIdGuid
DimCodeStr

Successful Result

FieldType
IdGuid
NameStr

Example payload

{
“Name”:”Mart Mustikas”,
“RegNo”:”1232233234″,
“NotTDCustomer”:false,
“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”,
“SalesInvLang”:”ET”,
“EInvOperator”:1,
“Dimensions”:[{
           “DimId”:12,
           “DimValueId”:”4c8b2ec0-af0f-46fb-8d2b-427165c1effc”,
           “DimCode”:”Miski”
}]
}