Resource: vendor.nv

HTTP-method: POST

Add a new vendor or edit existing vendor.

API returns vendor's NetvisorKey. We reccomend to store it somewhere, if you want to get of change verdor information afterwards. For now, the NetvisorKey cannot be obtained via API. Through Netvisor UI NetvisorKey can be obtained when opening the vendor and looking the serch bar, where is id (e.g. id=123).

Parameters:

ParameterOccursDescriptionExample
method1Add Add new vendor
Edit Edit existing vendor

netvisorkey0...1Vendor's NetvisorKey
Mandatory if method = edit

XML-message (POST-data):

LevelElementTypeOccursDescriptionExample
RootrootAggr.1  
1vendorAggr.1  
2vendorbaseinformationAggr.1  
3codeString0...1Vendor code123
3nameString1Vendor nameTestitoimittaja
3addressString0...1AdressToimittajakatu 1
3postcodeString0...1Postal code00100
3cityString0...1CityHelsinki
3countryString0...1County codeFI
Attr.typeString1Type of county codeISO-3166
3organizationidString1Business ID (Y-tunnus)123456-7
3groupnameString0...1Vendor groupThe toimittajat
3vendorbankaccountsAggr.0...1Vendor's bank accounts
 
4vendordomesticbankaccounts Aggr.0...1  
5vendordomesticbankaccountAggr.0...8Finnish bank accounts
 
6netvisorkeyNumeric0...1Bank account's NetvisorKey
1
6ibanString1Account number (IBAN)FI7536359370000661
6banknameString1Bank nameTestipankki
6isdefaultString0...1Use as a default or notTrue
4vendorforeignbankaccounts Aggr.0...1  
5vendorforeignbankaccountAggr.0...8Foreign bank accounts
 
6netvisorkeyNumeric0...1Bank account's NetvisorKey2
6bbanString1Account number (IBAN)GB29NWBK60161331926819
6bicswiftString1BIC code
BUKBGB22
6banknameString1Bank nameBarclays
6clearingcodeString0...1Clearing code
 
6clearingnumberString0...1Clearing number
 
6bankaddresssString0...1Bank address
Bank Street 1
6countryString1Country codeGB
Attr.typeString

1

Country code type ISO-3166
6currencycodeString1Currency codeGBP
AttypeString1Currency code typeISO-4217
6isdefaultString0...1Use as a default or notFalse
6includeaddresssinforeignpaymentsString0...1Add bank's address information to payment message besides BIC codeTrue
2vendorcontactdetailsAggr.0...1Vendor's contact information 
3phonenumberString0...1Phone number+35850123456
3emailString0...1Emailtoimittaja@toimittajat.fi
3faxnumberString0...1Fax 
3contactpersonnameString0...1Contact person's nameTimo Testaaja
3contactpersonphonenumberString0...1Contact person's phone number+35840987654
3contactpersonemailString0...1Contact person's emailtimo.testaaja@toimittajat.fi
3homepageString0...1Home page 
3commentString0...1CommentNo comments
2vendoradditionalinformationAggr.0...1  
3usedefaultpaymentterminreceivedinvoices
String0...1Use default terms of payment in incoming invoices. Payment term is set in needed elements paymenttermdiscountpercent, paymenttermdiscountpercent and paymenttermnetdays.
False
3defaultvatpercentNumeric0...1Default VAT percent24
3ispartialvatreduceprivilegedString0...1Partial VAT reduced priviledgedFalse
3paymenttermdiscountpercentNumeric0...1Discount percentage
 
3paymenttermcashdiscountsdaysNumeric0...1Discount days
 
3paymenttermnetdaysNumeric0...1Default payment term days 
3currencycodeCurrency code0...1Default currencyEUR
Attr.  typeString1Currency code typeISO-4217
3vendordimensionsAggr.0...1Default dimensions 
4dimensionAggr.1
5dimensionnameString1Dimension nameProjects
5dimensionitemString1Dimension itemProject 1
3vendoraccountingaccountsAggr.0...1Vendor accounting accounts 
4vendoraccountingaccountAggr.1...n  
5accountnumberString1Account number4000
5isdefaultString1Use as a default or notTrue
3vendoracceptancedetailsAggr.0...1Acceptors 
4vendoracceptancedetailAggr.1...n  
5acceptancenameString0...1Acceptor nameTaaki Tarkastaja
5isdefaultString0...1Use as a default or notFalse
5isforcedString0...1  


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.