SupplierImportBatch
POST https://api.medius.com/{{tenantName}}/integration/masterdata/v1/supplierimportbatches
Request Body
{"0"=>{"erpSourceId"=>"MyERP", "externalSystemId"=>"company[TC1];TS1", "isActive"=>true, "companyId"=>"company[TC1]", "currencyCode"=>"EUR", "identifiers"=>[{"identifierType"=>"BANK_ACCOUNT", "identifierValue"=>"123456789"}, {"identifierType"=>"ORGANIZATION_NUMBER", "identifierValue"=>"99999999"}], "name"=>"TestSupplier", "paymentTerm"=>"company[TC1];N30", "supplierId"=>"TS1", "ledgerDimension1"=>"company[TC1];DIMENSION1;SupAccount", "taxDimension1"=>"company[TC1];DIMENSION1;VATAccount", "clearance1Dimension1"=>"company[TC1];DIMENSION1;SupAccount", "taxIndicator1"=>"company[TC1];AP-EU", "taxIndicator2"=>"", "streetAddress"=>"TestStreet", "city"=>"TestCity", "zip"=>"0000", "country"=>"TestCountry", "telephone"=>"123456", "fax"=>"", "homepage"=>"", "emailAddress"=>"", "state"=>"", "isProcurable"=>true, "prepayment"=>"false", "paymentDetails"=>[{"externalSystemId"=>"company[TC1];TS1;EUR", "description"=>"EUR payment", "paymentDetailId"=>"EUR", "identifiers"=>[{"erpSourceId"=>"MyERP", "Value"=>"123456789"}, {"erpSourceId"=>"MyERP", "Value"=>"EUR"}], "isActive"=>true, "default"=>true}]}}