Skip to content

Create Customer

Endpoints

https://app.passelimerit.fi/api/v2/sendcustomer

Query Payload

json
{
  "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": 2,           
      "DimValueId": "7fc5f7f0-0537-4d64-b4cc-a8647bd217ac",           
      "DimCode": "hfif"
    }
  ]
}
Click to see the query parameters
FieldTypeCommentRequired
IdGuid
NameStr 150The customer name must be unique.Required, when a new customer is added.
RegNoStr 30
NotTDCustomerBoolEE True for physical persons and foreign companies.

PL True for physical persons. Allowed "true" or "false" (lowercase).
Required, when a new customer is added.
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 a new customer is added.
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
ShowBalanceBool
ApixEInvStr 20

Dimensions Object

json
{
  // ...
  "Dimensions":[
    {           
      "DimId": 2,           
      "DimValueId": "7fc5f7f0-0537-4d64-b4cc-a8647bd217ac",           
      "DimCode": "hfif"
    }
  ]
}
Click to see the dimensions object parameters
FieldTypeCommentRequired
DimIdInt
DimValueIdGuid
DimCodeStr

Successful Result

json
{
  "Id": "2cbdda92-8cd6-439e-9c7a-a0d04144764f",
  "Name": "Mart Mustikas"
}
Click to see the result parameters
FieldType
IdGuid
NameStr