{"id":16967,"date":"2025-04-22T07:34:33","date_gmt":"2025-04-22T07:34:33","guid":{"rendered":"https:\/\/www.2ba.nl\/?p=16967"},"modified":"2026-10-29T12:03:42","modified_gmt":"2026-10-29T12:03:42","slug":"net-price-webservice","status":"publish","type":"post","link":"https:\/\/www.2ba.nl\/en\/documentation\/net-price-webservice\/","title":{"rendered":"Net price webservice"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Net price directly from supplier<\/h1>\n\n\n<p>The Online Condition Server supports web services that return a <strong>net price<\/strong>.<\/p>\n<p>2BA has a number of parameters available that can serve as input on your web service.<br>In addition, 2BA asks a minimum piece of output.<\/p>\n<h3><strong><span style=\"font-size: 0.83em;\">Input<\/span><\/strong><\/h3>\n<p>2BA can supply the following fields as input for your service. In your mapping document, indicate how and which fields on your service should be mapped.<\/p>\n<table class=\"table table-striped table-bordered\">\n<thead>\n<tr>\n<th>Feature<\/th>\n<th>Type&nbsp;<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p><strong>Username<\/strong><\/p>\n<\/td>\n<td>string(255)<\/td>\n<td>\n<p>User name<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Password<\/strong><\/p>\n<\/td>\n<td>string(255)<\/td>\n<td>\n<p>Password<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Debtor<\/strong><\/p>\n<\/td>\n<td>string(255)<\/td>\n<td>\n<p>Debtor number\/identification<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>&nbsp;<strong>GLN<\/strong><\/p>\n<p>&nbsp;<\/p>\n<\/td>\n<td>&nbsp;string(13)<\/td>\n<td>\n<p>Global Location Number of the supplier<\/p>\n<ul>\n<li>exactly 13 characters<\/li>\n<li>numerical<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>TradeItemId<\/strong><\/p>\n<p>&nbsp;<\/p>\n<\/td>\n<td>&nbsp;string(35)<\/td>\n<td>\n<p>Item number<\/p>\n<ul>\n<li>maximum of 35 characters<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>ProjectNumber<\/strong><\/td>\n<td>string(17)<\/td>\n<td>Project number for any project conditions<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Quantity<\/strong><\/p>\n<\/td>\n<td>decimal(12,3)<\/td>\n<td>\n<p>Number of items requested (expressed in order unit)<\/p>\n<ul>\n<li>Number requested by the customer<\/li>\n<li>Default = minimum OrderQuantity (if the customer has not filled anything in)<\/li>\n<li>Numerical 12 digits before the decimal point, 3 digits after.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>&nbsp;<\/h3>\n<h3>Output<\/h3>\n<p>2BA can process the following fields. Indicate in the mapping document how 2BA can access these fields from the output of your web service<\/p>\n<table class=\"table table-striped table-bordered\">\n<thead>\n<tr>\n<th>Feature<\/th>\n<th>Type&nbsp;<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n<p><strong>NetPriceInOrderUnit<\/strong><\/p>\n<\/td>\n<td>decimal(11,4)<\/td>\n<td>\n<p>Net price in order unit<\/p>\n<ul>\n<li>numerical 11 digits before the decimal point, 4 digits after<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>TermsTypeCode<\/strong><\/p>\n<p>&nbsp;<\/p>\n<\/td>\n<td>&nbsp;string(2)<\/td>\n<td>\n<p>&nbsp;Type of condition<\/p>\n<ul>\n<li>AC = Action condition (special offer)<\/li>\n<li>BC = Basic condition<\/li>\n<li>PC = Project condition<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Net price directly from supplier The Online Condition Server supports web services that return a net price. 2BA has a number of parameters available that can serve as input on your web service.In addition, 2BA asks a minimum piece of output. Input 2BA can supply the following fields as input for your service. In your [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[106,158],"tags":[],"class_list":["post-16967","post","type-post","status-publish","format-standard","hentry","category-documentation","category-webservices-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Net price webservice - 2ba<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Net price webservice - 2ba\" \/>\n<meta property=\"og:description\" content=\"Net price directly from supplier The Online Condition Server supports web services that return a net price. 2BA has a number of parameters available that can serve as input on your web service.In addition, 2BA asks a minimum piece of output. Input 2BA can supply the following fields as input for your service. In your [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/\" \/>\n<meta property=\"og:site_name\" content=\"2ba\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-22T07:34:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-29T12:03:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.2ba.nl\/wp-content\/uploads\/2023\/06\/2BA_logo_RGB.png\" \/>\n\t<meta property=\"og:image:width\" content=\"211\" \/>\n\t<meta property=\"og:image:height\" content=\"95\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Marcel van der Zee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marcel van der Zee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/\"},\"author\":{\"name\":\"Marcel van der Zee\",\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/#\\\/schema\\\/person\\\/81c14f02e0ec1e8e4b2272dbe054d720\"},\"headline\":\"Net price webservice\",\"datePublished\":\"2025-04-22T07:34:33+00:00\",\"dateModified\":\"2026-10-29T12:03:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/\"},\"wordCount\":217,\"articleSection\":[\"Documentation\",\"Webservices\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/\",\"url\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/\",\"name\":\"Net price webservice - 2ba\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/#website\"},\"datePublished\":\"2025-04-22T07:34:33+00:00\",\"dateModified\":\"2026-10-29T12:03:42+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/#\\\/schema\\\/person\\\/81c14f02e0ec1e8e4b2272dbe054d720\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/documentatie\\\/webservices\\\/net-price-webservice\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.2ba.nl\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Net price webservice\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/#website\",\"url\":\"https:\\\/\\\/www.2ba.nl\\\/\",\"name\":\"2ba\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.2ba.nl\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.2ba.nl\\\/#\\\/schema\\\/person\\\/81c14f02e0ec1e8e4b2272dbe054d720\",\"name\":\"Marcel van der Zee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b7e48e3b50e4e9aed4e63c19fc037752e22b927025e1bb0f1a403c11efc5475?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b7e48e3b50e4e9aed4e63c19fc037752e22b927025e1bb0f1a403c11efc5475?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b7e48e3b50e4e9aed4e63c19fc037752e22b927025e1bb0f1a403c11efc5475?s=96&d=mm&r=g\",\"caption\":\"Marcel van der Zee\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Net price webservice - 2ba","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/","og_locale":"en_US","og_type":"article","og_title":"Net price webservice - 2ba","og_description":"Net price directly from supplier The Online Condition Server supports web services that return a net price. 2BA has a number of parameters available that can serve as input on your web service.In addition, 2BA asks a minimum piece of output. Input 2BA can supply the following fields as input for your service. In your [&hellip;]","og_url":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/","og_site_name":"2ba","article_published_time":"2025-04-22T07:34:33+00:00","article_modified_time":"2026-10-29T12:03:42+00:00","og_image":[{"width":211,"height":95,"url":"https:\/\/www.2ba.nl\/wp-content\/uploads\/2023\/06\/2BA_logo_RGB.png","type":"image\/png"}],"author":"Marcel van der Zee","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Marcel van der Zee","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/#article","isPartOf":{"@id":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/"},"author":{"name":"Marcel van der Zee","@id":"https:\/\/www.2ba.nl\/#\/schema\/person\/81c14f02e0ec1e8e4b2272dbe054d720"},"headline":"Net price webservice","datePublished":"2025-04-22T07:34:33+00:00","dateModified":"2026-10-29T12:03:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/"},"wordCount":217,"articleSection":["Documentation","Webservices"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/","url":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/","name":"Net price webservice - 2ba","isPartOf":{"@id":"https:\/\/www.2ba.nl\/#website"},"datePublished":"2025-04-22T07:34:33+00:00","dateModified":"2026-10-29T12:03:42+00:00","author":{"@id":"https:\/\/www.2ba.nl\/#\/schema\/person\/81c14f02e0ec1e8e4b2272dbe054d720"},"breadcrumb":{"@id":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.2ba.nl\/documentatie\/webservices\/net-price-webservice\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.2ba.nl\/en\/"},{"@type":"ListItem","position":2,"name":"Net price webservice"}]},{"@type":"WebSite","@id":"https:\/\/www.2ba.nl\/#website","url":"https:\/\/www.2ba.nl\/","name":"2ba","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.2ba.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.2ba.nl\/#\/schema\/person\/81c14f02e0ec1e8e4b2272dbe054d720","name":"Marcel van der Zee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1b7e48e3b50e4e9aed4e63c19fc037752e22b927025e1bb0f1a403c11efc5475?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1b7e48e3b50e4e9aed4e63c19fc037752e22b927025e1bb0f1a403c11efc5475?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b7e48e3b50e4e9aed4e63c19fc037752e22b927025e1bb0f1a403c11efc5475?s=96&d=mm&r=g","caption":"Marcel van der Zee"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false},"uagb_author_info":{"display_name":"Marcel van der Zee","author_link":"https:\/\/www.2ba.nl\/en\/author\/mvdz2ba-nl\/"},"uagb_comment_info":0,"uagb_excerpt":"Net price directly from supplier The Online Condition Server supports web services that return a net price. 2BA has a number of parameters available that can serve as input on your web service.In addition, 2BA asks a minimum piece of output. Input 2BA can supply the following fields as input for your service. In your&hellip;","_links":{"self":[{"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/posts\/16967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/comments?post=16967"}],"version-history":[{"count":1,"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/posts\/16967\/revisions"}],"predecessor-version":[{"id":16968,"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/posts\/16967\/revisions\/16968"}],"wp:attachment":[{"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/media?parent=16967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/categories?post=16967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.2ba.nl\/en\/wp-json\/wp\/v2\/tags?post=16967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}