Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Short Description

 

 

Chapter Contents:

Table of Contents
maxLevel4
minLevel4

 

Long Description

Supported methods

...

Links existing bank account to given business partner.  

Anchor
unlink
unlink
POST /BusinessPartner/{key}/BankAccount/{bankAccountKey}/unlink (New for API version 2.0.0 )

...

PropertyTypeLengthMandatoryDescriptionComments
businessUnit
/BusinessUnit  Business Unit 
baselineTerm
/BaselineTerm  Default Baseline Term 
payee
/BusinessPartner  Default Invoice Party 
paymentTerms
/PaymentTerms  Default Payment Terms 
bankAccount
/BankAccount  Default Bank Accounts Payable 
businessPartnerName
String80YesBusiness Partner Name 1 
businessPartnerCode
String12YesBusiness PartnerCode 
businessPartnerName2
String80 Business PartnerName 2 
businessPartnerSort
String20YesSort Name (Short Version of Business Partner name). 
businessPartnerLink/BusinessPartner  Linked Business PartnerNew
companyRegistrationNo
String24 Company Registration Number 
isInterCompany
Boolean  Inter Company 
isTotalCommissionPayable
Boolean  Deduct 100% Commission on Balance Freight Calculation 
maxAdvancePaymentPercent
Integer  Max Advance Payment Percent (Defaults to 100% if not Set) 
vatNumber
String24 VAT Registration Number 
businessPartnerType
/BusinessPartnerType  Business PartnerType 
companyBankAccount
/BankAccount  Default Bank Accounts Receivable 
individuals
Array of /Individual  List of Individuals for Business Partner 
addresses
Array of /Address  List of Addresses for Business Partner 
contactInfoArray of /ContactInfo  List of Contact Infos for Business Partner 
codePropertyString   New
bankAccountsArray of /BankAccount  List of Bank Accounts for Business PartnerNew


New BusinessPartner

...

Example

This example demonstrates Example how to create a new BusinessPartner object:

POST /BusinessPartner

RequestBodyRequest Body:

Code Block
languagejs
{
    "businessUnit": null,
    "baselineTerm": "LOAD",
    "payee": "P200240",
    "paymentTerms": "IMD",
    "bankAccount": null,
    "businessPartnerName": "Spliethoff''s Bevrachtingskantoor B.V.",
    "businessPartnerCode": "123456789-1",
    "businessPartnerName2": "Spliethoff''s Bevrachtingskantoor B.V.",
    "businessPartnerSort": "Spliethoff NL",
    "companyRegistrationNo": "123456789",
    "isInterCompany": false,
    "isTotalCommissionPayable": true,
    "maxAdvancePaymentPercent": 100,
    "vatNumber": "123456879",
    "businessPartnerType": "BB",
    "companyBankAccount": null,
    "individuals": [
        {
            "individualName": "Test Person"
        },
        {
            "individualName": "Test Person2"
        }
    ],
    "remarks": [
        {
            "remarkTitle": "A Remark title",
            "remark": "This is a remark on a Various"
        },
        {
            "remarkTitle": "Another remark title",
            "remark": "This is another remark on a Various.\n\nThis is the line after the blank line."
        }
    ],
    "addresses": [
    {
        "country": "NL",
        "address1": "Street Name 54",
        "address2": "5th floor",
        "address3": "",
        "city": "Amsterdam",
        "postalCode": "1000 AA"
    }
    ],
    "contactInfo": [
        {
            "email": "test@test.com",
            "faxNo": "55555555",
            "mobileNo": "66666666",
            "phoneNo": "77777777",
            "telexNo": "88888888"
        }
    ]
}

 

Top
Back