ActionEvent
Examples
CreditUpdateClient client = new CreditUpdateClient();
GeneralResult result = client.ActionEvent(
"UNKNOWN",
"undefined",
1,
2,
"someArgument1",
"someArgument2",
true
);
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:ActionEvent>
<urn:Argument1>someArgument1.</urn:Argument1>
<urn:Argument2>someArgument2.</urn:Argument2>
<urn:BaseExtraLinkId>2.</urn:BaseExtraLinkId>
<urn:BaseId>1</urn:BaseId>
<urn:BaseType>undefined</urn:BaseType>
<urn:EventType>UNKNOWN</urn:EventType>
<urn:ProcessImmediately>true</urn:ProcessImmediately>
</urn:ActionEvent>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectActionEventActionEvent-
Argument1
Value corresponding to event argument in action package handling.string -
Argument2
Value corresponding to event argument in action package handling.string -
BaseExtraLinkId
Value corresponding to action event BaseExtraLinkID.int -
BaseId
Value corresponding to action event baseID.int -
BaseType
Value corresponding to action event base type.EnumActionBaseTypeActionBaseType.-
UndefinedUndefined. -
CollectionAccountCollectionAccount. -
PaymentPlanPaymentPlan. -
LegalLegal. -
OfferOffer. -
BankruptcyBankruptcy. -
DeceasedDeceased. -
DebtReliefDebtRelief. -
CompanyReorganisationCompanyReorganisation. -
DebtorDebtor. -
LedgerAccountLedgerAccount. -
LedgerAccountGroupLedgerAccountGroup. -
TicketTicket. -
CollectionAccountGroupCollectionAccountGroup.
-
-
EventType
Value corresponding to event type code in action events.EnumActionEventTypeActionEventType.-
STARTUPSTARTUP. -
TIMEOUTTIMEOUT. -
USER_ALTERNATIVEUSER_ALTERNATIVE. -
TIMERTIMER. -
DECISIONDECISION. -
UNKNOWNUNKNOWN. -
PAYMENTPAYMENT. -
PAYMENT_AUTHORITYPAYMENT_AUTHORITY. -
CUSTOMCUSTOM. -
VERIFICATIONVERIFICATION. -
MESSAGE_SENTMESSAGE_SENT. -
AMOUNTADJUSTMENTAMOUNTADJUSTMENT. -
NEWINVOICEADDEDNEWINVOICEADDED. -
NEWDEBTORADDEDNEWDEBTORADDED. -
FULLPAYMENTFULLPAYMENT. -
CLOSURECLOSURE. -
NEWACCOUNTADDEDNEWACCOUNTADDED. -
MESSAGE_CONFIRMEDMESSAGE_CONFIRMED. -
MESSAGE_CONFIRM_FAILEDMESSAGE_CONFIRM_FAILED. -
PROCESSINGERRORPROCESSINGERROR. -
OBJECTIONOBJECTION. -
CREDIT_ANSWERCREDIT_ANSWER. -
ACTIONGROUPING_IGNOREDACTIONGROUPING_IGNORED. -
DEBTOR_NEW_ADDRESSDEBTOR_NEW_ADDRESS. -
DEBTOR_ADDRESS_NOTVALIDDEBTOR_ADDRESS_NOTVALID. -
DEBTOR_UPDATEDEBTOR_UPDATE. -
PP_FIRST_PAYMENT_ADVICEPP_FIRST_PAYMENT_ADVICE. -
PP_PAYMENT_ADVICEPP_PAYMENT_ADVICE. -
PP_LAST_PAYMENT_ADVICEPP_LAST_PAYMENT_ADVICE. -
PP_MISSED_PAYMENTPP_MISSED_PAYMENT. -
PP_BROKEN_AGREEMENTPP_BROKEN_AGREEMENT. -
PP_REMINDERPP_REMINDER. -
PP_PAYMENTPP_PAYMENT. -
PP_PARTPAYMENTPP_PARTPAYMENT. -
PP_EXTERNAL_PAYMENTPP_EXTERNAL_PAYMENT. -
PP_EXTERNAL_ADJUSTMENTPP_EXTERNAL_ADJUSTMENT. -
PP_FIRSTPAYMENTPP_FIRSTPAYMENT. -
PP_COMPLETEDPP_COMPLETED. -
PP_LATE_PAYMENT_ADVICEPP_LATE_PAYMENT_ADVICE. -
PP_REMINDER_AND_ADVICEPP_REMINDER_AND_ADVICE. -
PP_STOPPEDPP_STOPPED. -
PP_REPLACEDPP_REPLACED. -
PP_ACTIVATEDPP_ACTIVATED. -
LEGAL_VERDICTLEGAL_VERDICT. -
LEGAL_RENEWALLEGAL_RENEWAL. -
LEGAL_CASEINFOLEGAL_CASEINFO. -
LEGAL_REPORTLEGAL_REPORT. -
LEGAL_LEXLEGAL_LEX. -
LEGAL_BECOMINGFINALLEGAL_BECOMINGFINAL. -
LEGAL_FINALPAYMENTLEGAL_FINALPAYMENT. -
LEGAL_NEWLEGALDOCUMENTLEGAL_NEWLEGALDOCUMENT. -
LEGAL_FI_SUMMONS_ERRORLEGAL_FI_SUMMONS_ERROR. -
CUSTOMER_UPDATECUSTOMER_UPDATE. -
CUSTOMER_ADDRESS_NOTVALIDCUSTOMER_ADDRESS_NOTVALID. -
BANKRUPTCY_ADDEDBANKRUPTCY_ADDED. -
DECEASED_ADDEDDECEASED_ADDED. -
DEBTRELIEF_ADDEDDEBTRELIEF_ADDED. -
DEBTRELIEF_UPDATEDDEBTRELIEF_UPDATED. -
COMPANYREORGANISATION_ADDEDCOMPANYREORGANISATION_ADDED. -
TRANSACTION_IMPORTEDTRANSACTION_IMPORTED. -
PRINTLETTER_CONDITION_FALSEPRINTLETTER_CONDITION_FALSE. -
INTEREST_INVOICING_INFO_CREATEDINTEREST_INVOICING_INFO_CREATED. -
INTEREST_INVOICING_INFO_DELETEDINTEREST_INVOICING_INFO_DELETED. -
DUE_DATE_CHANGEDDUE_DATE_CHANGED. -
AUTOTRANSFER_EVENTAUTOTRANSFER_EVENT. -
OFFER_PAID_IN_FULLOFFER_PAID_IN_FULL. -
USER_QUESTION_ANSWERUSER_QUESTION_ANSWER. -
CUSTOMERACCOUNT_FIRST_SETTLEMENTCUSTOMERACCOUNT_FIRST_SETTLEMENT. -
CUSTOMERACCOUNT_SETTLEMENTCUSTOMERACCOUNT_SETTLEMENT. -
CUSTOMERACCOUNT_LAST_SETTLEMENTCUSTOMERACCOUNT_LAST_SETTLEMENT. -
CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAYCUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY. -
CUSTOMERACCOUNT_BROKEN_SETTLEMENTCUSTOMERACCOUNT_BROKEN_SETTLEMENT. -
CUSTOMERACCOUNT_REMINDERCUSTOMERACCOUNT_REMINDER. -
CUSTOMERACCOUNT_PAYMENTCUSTOMERACCOUNT_PAYMENT. -
CUSTOMERACCOUNT_PARTPAYMENTCUSTOMERACCOUNT_PARTPAYMENT. -
CUSTOMERACCOUNT_PAYMENTFREE_SETTLEMENTCUSTOMERACCOUNT_PAYMENTFREE_SETTLEMENT. -
CUSTOMERACCOUNT_DEBTCOLLECTIONCUSTOMERACCOUNT_DEBTCOLLECTION. -
CUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY_INCLUDING_CAMPAIGNCUSTOMERACCOUNT_MISSED_PAYMENT_MINIMUM_TO_PAY_INCLUDING_CAMPAIGN. -
CUSTOMERACCOUNT_STATEMENTOFACCOUNTccCUSTOMERACCOUNT_STATEMENTOFACCOUNT. -
CUSTOMERACCOUNT_CREDITSTOPCAUSE_ADDEDCUSTOMERACCOUNT_CREDITSTOPCAUSE_ADDED. -
CUSTOMERACCOUNT_CREDITSTOPCAUSE_REMOVEDCUSTOMERACCOUNT_CREDITSTOPCAUSE_REMOVED. -
CUSTOMERACCOUNT_CAMPAIGNEVENTCUSTOMERACCOUNT_CAMPAIGNEVENT. -
CUSTOMERACCOUNT_CAMPAIGN_CREATED_RETROACTIVELYCUSTOMERACCOUNT_CAMPAIGN_CREATED_RETROACTIVELY. -
CUSTOMERACCOUNT_CAMPAIGN_ACTIVATEDCUSTOMERACCOUNT_CAMPAIGN_ACTIVATED. -
CUSTOMERACCOUNT_LOAN_LETTER_FLOATINGCUSTOMERACCOUNT_LOAN_LETTER_FLOATING. -
CUSTOMERACCOUNT_LOAN_LETTER_NEWFIXEDINTERESTTERMCUSTOMERACCOUNT_LOAN_LETTER_NEWFIXEDINTERESTTERM. -
CUSTOMERACCOUNT_LOAN_LETTER_INFIXEDINTERESTTERMCUSTOMERACCOUNT_LOAN_LETTER_INFIXEDINTERESTTERM. -
CUSTOMERACCOUNT_LOAN_LETTER_REMINDERCUSTOMERACCOUNT_LOAN_LETTER_REMINDER. -
CUSTOMERACCOUNT_LOAN_TERMINATIONCUSTOMERACCOUNT_LOAN_TERMINATION. -
CUSTOMERACCOUNT_LOAN_PRETERMINATIONCUSTOMERACCOUNT_LOAN_PRETERMINATION. -
CUSTOMERACCOUNT_LOAN_REVERSETERMINATIONCUSTOMERACCOUNT_LOAN_REVERSETERMINATION. -
CUSTOMERACCOUNT_VIRT_INSTALMENT_INVOICINGCUSTOMERACCOUNT_VIRT_INSTALMENT_INVOICING. -
CUSTOMERACCOUNT_VIRT_REMINDERCUSTOMERACCOUNT_VIRT_REMINDER. -
CUSTOMERACCOUNT_VIRT_TERMINATIONCUSTOMERACCOUNT_VIRT_TERMINATION. -
CUSTOMERACCOUNT_INCREASED_AMOUNT_TO_PAYCUSTOMERACCOUNT_INCREASED_AMOUNT_TO_PAY. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_ADDEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_ADDED. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_UPDATEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_UPDATED. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_DELETEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_DELETED. -
CUSTOMERACCOUNT_CREDITDEBTINSURANCE_STATUSCHANGEDCUSTOMERACCOUNT_CREDITDEBTINSURANCE_STATUSCHANGED. -
CUSTOMERACCOUNT_USED_RIGHT_TO_WITHDRAWCUSTOMERACCOUNT_USED_RIGHT_TO_WITHDRAW. -
CUSTOMERACCOUNT_ACCOUNT_TRANSFERCUSTOMERACCOUNT_ACCOUNT_TRANSFER. -
LEDGER_RETURNLEDGER_RETURN. -
LEDGERACCOUNT_EVENTLEDGERACCOUNT_EVENT. -
COLLECTIONACCOUNTGROUP_CASE_ADDEDCOLLECTIONACCOUNTGROUP_CASE_ADDED. -
COLLECTIONACCOUNTGROUP_CASE_REMOVEDCOLLECTIONACCOUNTGROUP_CASE_REMOVED. -
COLLECTIONACCOUNT_AUTO_CASE_REVOKECOLLECTIONACCOUNT_AUTO_CASE_REVOKE. -
AUTHSIGN_APPROVEDAUTHSIGN_APPROVED. -
AUTHSIGN_TIMEOUTAUTHSIGN_TIMEOUT. -
AUTHSIGN_REJECTEDAUTHSIGN_REJECTED. -
NEWDOCUMENTNEWDOCUMENT. -
LEDGERACCOUNT_MERGELEDGERACCOUNT_MERGE. -
LEDGERACCOUNT_REWRITELEDGERACCOUNT_REWRITE. -
BAILIFF_CANCELLATIONInformation on cancellation reported by the bailiff. -
BAILIFF_LIMITATION_CREDITORInformation on the creditor’s liability to interrupt limitation. -
BAILIFF_FINAL_REMITTANCEInformation on final remittance by the bailiff. -
BAILIFF_OBSTACLE_LACKOFFUNDSObstacle: debtor lacks funds. -
BAILIFF_OBSTACLE_LACKOFFUNDS_UNKNOWNObstacle: debtor lacks funds and is unknown. -
BAILIFF_OBSTACLE_OTHERObstacle: other. -
BAILIFF_OBSTACLE_LIMITEDENFORCEMENTObstacle: limited enforcement. -
BAILIFF_OBSTACLE_LIMITEDENFORCEMENT_UNKNOWNObstacle: limited enforcement and unknown. -
BAILIFF_DEBTOR_STATUS_UPDATEDebtor: status update. -
BAILIFF_BALANCEDebtor: balance inquiry.. -
OBJECT_UPDATEOBJECT_UPDATE.
-
-
ProcessImmediately
Process action event immediately.bool
-
Output
0 if event is triggered.
ActionEventResponse
-
ActionEventResult
Result of ActionEvent.ObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
AddInstalment
Examples
CreditUpdateClient client = new CreditUpdateClient();
ResultType result = client.AddInstalment(
new AddInstalmentRequest
{
CustomerLookup = new CustomerLookup
{
CustomerIdentification = CustomerIdentificationType.CustomerNOSSNOrCompanyNo,
CustomerIdentificationValue = "431211-4269",
JuridicalType = CustomerJuridicalType.Physical
},
CreditorReference = "1000",
CustomerAccountReference = "30000008827",
Instalment = new Instalment
{
AmountToPay = 100,
BillingDate = new DateTime(2019, 3, 20),
PaymentDate = new DateTime(2019, 3, 30),
PrincipalAmount = 60,
InterestAmount = 30,
FeeAmount = 10
}
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<urn:AddInstalment>
<urn:addInstalmentRequest>
<urn:CreditorReference>1000</urn:CreditorReference>
<urn:CustomerAccountReference>30000008827</urn:CustomerAccountReference>
<urn:CustomerLookup>
<urn:CustomerIdentification>CustomerSESSNOrCompanyNo</urn:CustomerIdentification>
<urn:CustomerIdentificationValue>431211-4269</urn:CustomerIdentificationValue>
<urn:JuridicalType>Physical</urn:JuridicalType>
</urn:CustomerLookup>
<urn:Instalment>
<urn:AmountToPay>200</urn:AmountToPay>
<urn:BillingDate>2018-09-15</urn:BillingDate>
<urn:FeeAmount>10</urn:FeeAmount>
<urn:InterestAmount>90</urn:InterestAmount>
<urn:PaymentDate>2018-09-28</urn:PaymentDate>
<urn:PrincipalAmount>100</urn:PrincipalAmount>
</urn:Instalment>
</urn:addInstalmentRequest>
</urn:AddInstalment>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Add instalment informationObjectAddInstalmentAddInstalment-
addInstalmentRequest
Add instalment requestObjectAddInstalmentRequestAdd instalment information-
CreditorReference
Party reference code.string -
CustomerAccountReference Mandatory
Loan reference number.string -
CustomerLookup Mandatory
A lookup for customer.ObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
Instalment Mandatory
Instalment information.ObjectInstalmentInstalment information-
AmountToPay Mandatory
Amount to pay.decimal -
BillingDate Mandatory
Billing/Letter dateDateTime -
FeeAmount
Fee amountdecimal -
InterestAmount
Interest amountdecimal -
PaymentDate
Payment dateDateTime -
PrincipalAmount
Principal amountdecimal
-
-
-
Output
0 if instalment successfully added.
Error codes:
- 1 : Error message from ARC server
- 80100 : Not enough parameters
- 80200 : Invalid parameter
- 80300 : No customer account was found
- 80400 : More than one customer account was found
- 80500 : Another active paymentplan exists
- 80600 : Payment period already exists
- 80700 : The specified amount to pay is not equal to the sum of the provided amount types
AddInstalmentResponse
-
AddInstalmentResult
Result of AddInstalmentResponseObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
AlterInstalment
Examples
CreditUpdateClient client = new CreditUpdateClient();
ResultType result = client.AlterInstalment(
new AlterInstalmentRequest
{
CustomerLookup = new CustomerLookup
{
CustomerIdentification = CustomerIdentificationType.CustomerNOSSNOrCompanyNo,
CustomerIdentificationValue = "580711-2643",
JuridicalType = CustomerJuridicalType.Physical
},
BillingDate = new DateTime(2019, 10, 10),
DueDate = new DateTime(2019, 10, 10),
LetterTriggeredAt = new DateTime(2019, 10, 10),
ReminderTriggeredAt = new DateTime(2019, 10, 10),
FeeAmount = 10,
InterestAmount = 10,
PrincipalAmount = 10,
LoanReferenceNumber = "124124",
TriggerSettlement = false,
Service = InstalmentService.InstalmentInvoiced
});
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<urn:AlterInstalment>
<urn:alterInstalmentRequest>
<urn:BillingDate>2019-10-10</urn:BillingDate>
<urn:CustomerLookup>
<urn:CustomerIdentification>CustomerSESSNOrCompanyNo</urn:CustomerIdentification>
<urn:CustomerIdentificationValue>580711-2643</urn:CustomerIdentificationValue>
<urn:JuridicalType>Physical</urn:JuridicalType>
</urn:CustomerLookup>
<urn:DueDate>2019-10-10</urn:DueDate>
<urn:FeeAmount>10</urn:FeeAmount>
<urn:InterestAmount>10</urn:InterestAmount>
<urn:LetterTriggeredAt>2019-10-10</urn:LetterTriggeredAt>
<urn:LoanReferenceNumber>124124</urn:LoanReferenceNumber>
<urn:PrincipalAmount>10</urn:PrincipalAmount>
<urn:ReminderTriggeredAt>2019-10-10</urn:ReminderTriggeredAt>
<urn:Service>InstalmentInvoiced</urn:Service>
<urn:TriggerSettlement>true</urn:TriggerSettlement>
</urn:alterInstalmentRequest>
</urn:AlterInstalment>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Alter instalment informationObjectAlterInstalmentAlterInstalment-
alterInstalmentRequest
AlterInstalment requestObjectAlterInstalmentRequestAlter instalment information-
BillingDate
Letter date/Billing date. The billing date of the payment notification.DateTime -
CustomerLookup Mandatory
A lookup for customer.ObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
DueDate Mandatory
Due date.DateTime -
FeeAmount Mandatory
Fee amount.decimal -
InterestAmount Mandatory
Interest amount.decimal -
LetterTriggeredAt
Letter triggered at.DateTime -
LoanReferenceNumber Mandatory
Loan reference number.string -
PrincipalAmount Mandatory
Principal amount.decimal -
ReminderTriggeredAt
Reminder triggered at.DateTime -
Service
Instalment service. Default value is ‘Instalment invoiced (0)’.EnumInstalmentServiceInstalment service.-
InstalmentInvoicedPayment notification (instalment invoice). -
ReminderReminder. -
TerminationTermination.
-
-
TriggerSettlement
Trigger or not trigger settlement boolean flag. Default value is false.bool
-
-
Output
0 if instalment successfully altered.
Error codes:
- 1 : error message from ARC server
- 80100 : Not enough parameters
- 80200 : Invalid parameter
- 80300 : No customer account was found
- 80400 : More than one customer account was found
- 80500 : Another active paymentplan exists
- 80800 : The account you are trying to select have a status that is not allowed.
AlterInstalmentResponse
-
AlterInstalmentResult
Result of AlterInstalmentObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
InitiatePretermination
Examples
CreditUpdateClient client = new CreditUpdateClient();
SetClosureOnAccountResult result = client.SetClosureOnAccount(null, "30000008782", "1001", "PAIDINFULL", null);
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<urn:SetClosureOnAccount>
<urn:ClosureCode>PAIDINFULL</urn:ClosureCode>
<urn:CreditorReference>1001</urn:CreditorReference>
<urn:CustomerAccountReference>30000008782</urn:CustomerAccountReference>
<urn:Transactions>
<urn:ClosureTransaction>
<urn:Amount>100</urn:Amount>
<urn:TransDate>2019-09-24</urn:TransDate>
<urn:TransType>Credit</urn:TransType>
</urn:ClosureTransaction>
</urn:Transactions>
</urn:SetClosureOnAccount>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request dataObjectInitiatePreterminationInitiatePretermination-
InitiatePreterminationReq
InitiatePretermination requestObjectInitiatePreterminationRequestInitiate pretermination request structure-
CreditAccount
Credit account to update.ObjectAccountAccount-
Accountnumber
The account numberstring -
Brokerreferencecode
Broker reference codestring -
Calcrate
Current interest rate (Debit)decimal -
Collectiondate
Date for debt collectionDateTime -
Collector
User code for preferred collectorstring -
Creditcalcrate
Current interest rate (Credit)decimal -
Creditinterestcode
Interest type code (Credit)string -
Creditinterestrate
Interest rate (Credit)decimal -
Creditlimit
Credit limit for this accountdecimal -
Creditlimitfeepercent
Credit limit fee in percentdecimal -
Creditstop
Is the account stopped for purchasebool -
Creditstopcausedescription
Description of the cause of the credit stopstring -
Creditstopcauseid
Bit masked 64 bit integer defining multiple causes for credit stopstring -
Currencycode
3 chars ISO 4217 currency codestring -
Currentbalance
The current balance of the accountdecimal -
Customeraccounttypecode Mandatory
Type of accountstring -
Customers Mandatory
CustomersArrayObjectCustomerCustomer-
Addresses
addressesArrayObjectAddressAddress-
Addressnotvalid
Address not valid from this dateDateTime -
Addressnotvalidoverride
Do not perform any checkups on the address, assume it's correctbool -
Addresstype Mandatory
Address type; legal, avi or invoiceEnumAddress.AddresstypeEnumAddress type; legal, avi or invoice-
LegalLegal -
AviAvi -
InvoiceInvoice
-
-
Careof
Care ofstring -
City
Citystring -
Country
Countrystring -
Countrycode
Country code - 2 chars ISO 3166-1 alpha-2string -
Defaultaddress
True if this is the default addressbool -
Fulladdress
Full address in one fieldstring -
Fullname
Full namestring -
Houseno
House numberstring -
Housenoextension
House number extensionstring -
Statecode
State codestring -
Street
Streetstring -
Updateexisting
True if existing matching address should be update with new databool -
Zipcode
Zip codestring
-
-
Addressnotvalidoverride
Do not perform any checkups on the address, assume it's correctbool -
Autotransferbankaccount
Auto transfer bank account numberstring -
Autotransferrefno
Auto transfer reference numberstring -
Bankaccounts
bankaccountsArrayObjectBankaccountCustomer bank account number for disbursement-
Bankaccountno
Customer bank account number (national or IBAN)string -
Bankcode
Bank codestring -
Bankdescription
Description of bankaccountstring -
Bic
BIC code for the bankstring -
Blz
BLZ/clearing numberstring -
Countrycode
Country where the bank account is locatedstring -
Currencycode
Currency code for the bank accountstring -
Iban
IBAN bank account number (if national account is used)string -
Swift
SWIFT numberstring
-
-
Careof
Care ofstring -
Cellularphone
Cellular phonestring -
City
Citystring -
Companyname
Name of the companystring -
Country
Country namestring -
Countrycode
Country code 2 chars ISO 3166-1 alpha-2string -
Currencycode
3 chars ISO 4217 currency codestring -
Customerref
Customer number/referencestring -
Customerrole
Customer roleEnumCustomerroleEnumCustomerroleEnum-
DebtorDebtor -
GuarantorGuarantor -
Co_ApplicantCo_Applicant -
EstatebeneficiaryEstatebeneficiary -
Tradingcompany_PartnerTradingcompany_Partner -
General_PartnerGeneral_Partner -
CustodianCustodian -
Solvent_PersonSolvent_Person
-
-
Dataprovisions
Data provisions, connected to customerArrayObjectDataprovisionDataprovision-
Code Mandatory
Dataprovision codestring -
Text
Extra information regarding the data provisionstring -
Version
Version number of the dataprovisionstring
-
-
Dateofbirth
Date of birthDateTime -
Domicile
Domicilestring -
Einvoicereceiverid
Receiver identity for electronic invoicingstring -
Email
Email addressstring -
Establishmentdate
Establishment dateDateTime -
Extrafields
extrafieldsArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Firstname Mandatory
First/company namestring -
Fulladdress
Full address in one fieldstring -
Gender
GenderEnumGendertypeEnumGendertypeEnum-
FemaleFemale -
MaleMale -
UnknownUnknown
-
-
Glnnumber
GLN - Global Location Numberstring -
Homephone
Home phonestring -
Houseno
House numberstring -
Housenoextension
House number extensionstring -
Id
The value for the attribute idstring -
Idnumber
Customer id numberstring -
Initials
Initialsstring -
Juridicaltype
Customer juridical typeEnumJuridicaltypeEnumJuridicaltypeEnum-
Value1Person -
Value2Company
-
-
Languagecode
Language codestring -
Lastname
Last namestring -
Leinumber
LEI - Legal Entity Identifierstring -
Maritalstatus
Marital statusEnumMaritalstatustypeEnumMaritalstatustypeEnum-
UnmarriedUnmarried -
MarriedMarried -
Common_Law_SpouseCommon_Law_Spouse -
WidowWidow -
DivorcedDivorced -
PartnerPartner
-
-
Middlename
Middle namestring -
Municipalcode
Municipal codestring -
Nacecode
NACE classification codestring -
Namesuffix
Name suffixstring -
Originationdetails
OriginationdetailsObjectOriginationdetailsLoan origination details per applicant-
Annualincome
Annual income/salarydecimal -
Employer
Name of employerstring -
Employerphone
Phone number to employerstring -
Employmenttype
Type of employmentEnumEmploymenttypeEnumEmploymenttypeEnum-
StudentDisability_Pension -
Disability_PensionDisability_Pension -
UnemployedUnemployed -
Temporary_EmployedTemporary_Employed -
Permanent_EmployedPermanent_Employed -
Self_EmployedSelf_Employed -
RetiredRetired
-
-
Extrafields
Extra fields, connected to credit applicantArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Maritalstatus
Marital statusEnumMaritalstatustypeEnumMaritalstatustypeEnum-
UnmarriedUnmarried -
MarriedMarried -
Common_Law_SpouseCommon_Law_Spouse -
WidowWidow -
DivorcedDivorced -
PartnerPartner
-
-
Monthlycostforothercreditsandloans
Monthly cost for other loans and creditsdecimal -
Monthlyincome
Monthly income/salarydecimal -
Monthlyrentalcost
Rental cost per monthdecimal -
Numberofadults
No of adults at homeint -
Numberofdependentchildren
No of children at homeint -
Othersecuredloans
Other loans with collateralsdecimal -
Othertotalcreditsandloans
Other loans and creditsdecimal -
Otherunsecuredloans
Other unsecured loans (blanco)decimal -
Residentdescription
Free text description of the residentstring -
Shareofaccommodationcost
Your share of accommodation cost per monthdecimal -
Typeofresident
Type of residentEnumResidenttypeEnumResidenttypeEnum-
Rented_ApartmentRented_Apartment -
Co_Operative_ApartmentCo_Operative_Apartment -
Detached_HouseDetached_House -
Roomer_Or_Second_HandRoomer_Or_Second_Hand
-
-
-
Parentcustomer
ParentcustomerObjectParentcustomerParentcustomer-
Ref_ Mandatory
The value for the attribute refstring
-
-
Placeofbirth
Place of birthstring -
Preferredchannel
Code for preferred channelstring -
Representatives
RepresentativesArrayObjectRepresentativeRepresentative-
Mandate
Mandatestring -
Ref_ Mandatory
Ref_string -
Representativerole
Representativerolestring
-
-
Statecode
State codestring -
Street
Streetstring -
Telefax
Telefaxstring -
Title
Customer titlestring -
Underage
True if customer is underagedbool -
Updateexisting
True if matching existing customer should be updated with new infobool -
Vatnumber
VAT registration numberstring -
Workphone
Work phonestring -
Zipcode
Zip codestring
-
-
Dataprovisions
Data provisions, connected to accountArrayObjectDataprovisionDataprovision-
Code Mandatory
Dataprovision codestring -
Text
Extra information regarding the data provisionstring -
Version
Version number of the dataprovisionstring
-
-
Deductioninterval
Deduction interval in days. 30 equals a monthint -
Deliverysystemcode
Delivering systemstring -
Documents
DocumentsArrayObjectDocumentDocuments on credit account, eg. loan agreement-
Documenttype
Type of documentEnumDocumenttypeEnumDocumenttypeEnum-
UnspecifiedUnspecified -
Original_InvoiceOriginal_Invoice -
ContractContract
-
-
Externallink
Link to an external repositorystring -
Filecontents
Base64 encoded file contentsstring -
Loggedat
Note time stampDateTime -
Note Mandatory
Textual note/description regarding the documentstring -
Originalfilename
Original file namestring
-
-
Extrafields
ExtrafieldsArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Fixedinteresttermstart
Date for current fixed interest term start. Required for fixed term interest ratesDateTime -
Interestcapitalizationdate
Next interest capitalizationDateTime -
Interestcode
Interest type code (Debit)string -
Interestfrom
Interest calulated from dateDateTime -
Interestrate
Interest rate (Debit)decimal -
Interestto
Interest calulated to dateDateTime -
Loantosettles
LoantosettlesArrayObjectLoantosettleLoantosettle-
Accruedinterest
Accrued interest to disbursement date of the settlement amountdecimal -
Bankaccount
Bank account to use for settlement paymentObjectBankaccountCustomer bank account number for disbursement-
Bankaccountno
Customer bank account number (national or IBAN)string -
Bankcode
Bank codestring -
Bankdescription
Description of bankaccountstring -
Bic
BIC code for the bankstring -
Blz
BLZ/clearing numberstring -
Countrycode
Country where the bank account is locatedstring -
Currencycode
Currency code for the bank accountstring -
Iban
IBAN bank account number (if national account is used)string -
Swift
SWIFT numberstring
-
-
Bankname Mandatory
Bank that holds the previous loanstring -
Currencycode Mandatory
Currency code for the loanstring -
Disbursementdate
End date for disbursement of settled amountDateTime -
Fees
Other fees of the settlement amountdecimal -
Loanreferencenumber Mandatory
Loan account numberstring -
Netineterestlosscompensation
Compensation for net interest loss, included in settlement amountdecimal -
Paymentreferencenumber
Payment reference number for the settlement payment to the bankstring -
Principalamount
The principal part of the settlement amountdecimal -
Settlementamount Mandatory
Total amount to settle the loandecimal
-
-
Mincreditinterestamount
Minimum interest amountdecimal -
Nextdeductiondate
Date for next deduction of the accountDateTime -
Nextpaymentdate
Due date for next paymentDateTime -
Notes
NotesArrayObjectNoteNotes shown on credit account-
Histnotetypeid
System specific note type id. Only used for migration purposeint -
Histownertypeid
System specific owner type id. Only used for migration purposeint -
Important
Important note = truebool -
Loggedat
Note time stampDateTime -
Note Mandatory
Note textstring -
Systemcode
System codestring -
Usercode
User codestring
-
-
Origination
OriginationObjectOriginationLoan origination information-
Applicationdate
Date when the application was filedDateTime -
Appliedcreditamount Mandatory
Credit amount applied fordecimal -
Durationinmonths Mandatory
Duration of the loan in monthsint -
Economicccalculation
Economic calculation detailsstring -
Extrafields
Extra fields, connected to credit applicationArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Interestcode
Interest type codestring -
Interestrate
Interest ratedecimal -
Originalappliedcreditamount
Original credit amount applied fordecimal -
Originaldurationinmonths
Original duration of the loan in monthsint -
Reason
Reason for the loan in clear textstring -
Startdate Mandatory
Start date for the loanDateTime
-
-
Paymentoccasionoffset
Offset for next payment day calculationint -
Paymentoccasiontype
Type of calculation for next payment dayEnumPaymentoccasiontypeEnumPaymentoccasiontypeEnum-
Value1Represents the value '1' in the XML -
Value2Represents the value '2' in the XML
-
-
Paymentplan
PaymentplanObjectPaymentplanAmortization plan for loans-
Interval
Interval/days of amortization plan, default 30 (one month)int -
Intervaltype
Interval type of amortization planEnumLoanpaymentplanintervaltypeEnumLoanpaymentplanintervaltypeEnum-
StartOfMonthStartOfMonth -
EndOfMonthEndOfMonth -
MonthMonth -
DayDay
-
-
Loanpaymentplantype Mandatory
Type of amortization planEnumLoanpaymentplantypetypeEnumLoanpaymentplantypetypeEnum-
FlatFlat -
AnnuityAnnuity -
InterestOnlyInterestOnly -
VirtualVirtual
-
-
Maturitydate
The maturity date of amortization planDateTime -
Numpayments Mandatory
Number of payments in amortization planint -
Payments
All payment occasions in amortization planArrayObjectPaymentAmortization plan payment occasion-
Amount
Total amount to pay on the occasiondecimal -
Fixedinterest
Fixed interest ratedecimal -
Paymentdate Mandatory
Payment (due) dateDateTime -
Principalamount
Part of the payment that should be allocated as amortizationdecimal
-
-
Startdate
Starting date of amortization planDateTime
-
-
Paymentreference
Payment reference / OCR numberstring -
Pledges
PledgesArrayObjectPledgePledge information for this account-
Customers Mandatory
CustomersArrayObjectPledge.CustomerPledgeCustomerPledge-
Customer
CustomerArrayObjectCustomerrefCustomerref-
Ref_ Mandatory
The value for the attribute refstring
-
-
Idnumber
Personal number for guarantor in customer-elementArraystring
-
-
Description
Description of the pledgestring -
Fullguarantee
Full guarantee informationObjectFullguaranteeFull guarantee information-
Generalfordebtor
Id number of debtor that this pledge is a general guarantee forstring -
Guaranteetypeid Mandatory
Guarantee typeint
-
-
Guarantee
Guarantee informationObjectGuaranteeGuarantee information-
Currencycode Mandatory
Guarantee currencystring -
Generalfordebtor
Id number of customer that this pledge is a general guarantee forstring -
Guaranteetypeid Mandatory
Guarantee typeint -
Interestamount Mandatory
Guarantee interest amountstring -
Interestcode
Interest type codestring -
Interestfrom
Interest calulated from dateDateTime -
Interestrate
Interest ratedecimal -
Interestto
Interest calulated to dateDateTime -
Principalamount Mandatory
Guarantee principal amountstring -
Remaininginterest
Remaining interest amount in guaranteedecimal -
Remainingprincipal
Remaining principal amount in guaranteedecimal -
Validuntil
Guarantee valid untilDateTime
-
-
Insuranceexpirydate
Expiry date of the insurance for this pledgeDateTime -
Insurancenumber
Insurance number for this pledgestring -
Insuredamount
Insured amount for this pledgedecimal -
Insurer
Insurer for this pledgestring -
Mortgagecompanies
Mortgage companies informationObjectMortgagecompaniesMortgage companies information-
Amountfrom
Mortgage companies from amount (obsolete, use mortgagelienpriorities instead)decimal -
Amountto
Mortgage companies to amount (obsolete, use mortgagelienpriorities instead)decimal -
Collateralcode
Pre defined collateral codestring -
Companyname
Companynamestring -
Mortgagelienpriorities
All known mortgage lien prioritiesObjectMortgagelienprioritiesMortgagelienpriorities-
Lienpriorities
LienprioritiesArrayObjectMortgagelienpriorities.LienpriorityElmLienpriorityElm-
Date
DateDateTime -
Lienpriorityamount Mandatory
Lienpriorityamountdecimal -
Note
Notestring -
Owner
Ownerstring -
Pledgedamount
Pledgedamountdecimal -
Priorityorder
Priorityorderint -
Referencenumber
Referencenumberstring
-
-
-
-
Movableproperty
Movable property informationObjectMovablepropertyMovable property information-
Collateralcode
Pre defined collateral codestring -
Mortgagelienpriorities
All known mortgage lien prioritiesObjectMortgagelienprioritiesMortgagelienpriorities-
Lienpriorities
LienprioritiesArrayObjectMortgagelienpriorities.LienpriorityElmLienpriorityElm-
Date
DateDateTime -
Lienpriorityamount Mandatory
Lienpriorityamountdecimal -
Note
Notestring -
Owner
Ownerstring -
Pledgedamount
Pledgedamountdecimal -
Priorityorder
Priorityorderint -
Referencenumber
Referencenumberstring
-
-
-
Propertytypeid Mandatory
Movable property typeint -
Valueamount
Value amountdecimal -
Valuedat
Valued atDateTime -
Valuedby
Valued bystring
-
-
Note
Notes for this pledgestring -
Pledgeamount
Pledge amountdecimal -
Pledgedate Mandatory
Pledge dateDateTime -
Pledgetypeid
Type of pledge (not needed as the choice of extra information determines type)int -
Realproperty
Real property informationObjectRealpropertyReal property information-
Amountfrom
Mortgage companies from amount (obsolete, use mortgagelienpriorities instead)decimal -
Amountto
Mortgage companies to amount (obsolete, use mortgagelienpriorities instead)decimal -
Collateralcode
Pre defined collateral codestring -
Estate Mandatory
Real estate identificationstring -
Estatetypeid Mandatory
Estate typeint -
Landcertificate
LandcertificateObjectLandcertificateLandcertificate-
Owners Mandatory
OwnersObjectLandcertificate_OwnersLandcertificate_Owners-
Owner
OwnerArrayObjectLandcertificate_Owners.OwnerElmOwnerElm-
Fullname
Fullnamestring -
Idnumber
Idnumberstring -
Ownership
Percentage of ownership for the current real property.decimal
-
-
-
-
Mortgagelienpriorities
All known mortgage lien prioritiesObjectMortgagelienprioritiesMortgagelienpriorities-
Lienpriorities
LienprioritiesArrayObjectMortgagelienpriorities.LienpriorityElmLienpriorityElm-
Date
DateDateTime -
Lienpriorityamount Mandatory
Lienpriorityamountdecimal -
Note
Notestring -
Owner
Ownerstring -
Pledgedamount
Pledgedamountdecimal -
Priorityorder
Priorityorderint -
Referencenumber
Referencenumberstring
-
-
-
Reportingcode
Reportingcodestring -
Reportingdate
ReportingdateDateTime -
Taxvalue
Tax value amountdecimal -
Valueamount
Value amountdecimal -
Valuedat
Valued atDateTime -
Valuedby
Valued bystring
-
-
Referencenumber Mandatory
Reference or identification number for pledgestring
-
-
Remindedat
Date for last reminderDateTime -
Remindercount
Number of reminders sentint -
Settleimmediately
Settle any transactions immediatelybool -
Transactions
TransactionsArrayObjectTransactionTransaction record.-
Amount Mandatory
Total amount incl. VAT for this transactiondecimal -
Amountspecs
Detailed specification of the sub transactionsArrayObjectAmountspecAmountspec-
Amount Mandatory
The amount (+ for new debt, - for payments)decimal -
Amounttype
Amount type. 1 for principal, 2 for interestint -
Currencycode
Currency code if other than the main transactionstring -
Debttype
Debt type. 5 for credit, 2 for imported fee, 7 for capitalized interestint -
Feecode
The fee code (i.e. REMIND)string -
Transspectypecode
Transaction specification code. To be used for different accounting behaviourstring -
Transsubtype
Sub transaction typeint -
Transtype
Transaction type. 121 for payments and 120 for purchases (default)int
-
-
Cashregisternumber
Cash register number that handled the purchasestring -
Deliverycondition
Delivery condition from purchase processing system. Only stored as information in Aptic ARC.string -
Deliverydate
Delivery date from purchase processing system. Only stored as information in Aptic ARC.DateTime -
Deliverymethod
Delivery method from purchase processing system. Only stored as information in Aptic ARC.string -
Deliverynoteid
Delivery number from purchase processing system. Only stored as information in Aptic ARC.string -
Description
Description of this transaction in clear textstring -
Duedate
Due date from purchase processing system. Only stored as information in Aptic ARC.DateTime -
Externalinvoicenumber
External invoicenumber from purchase processing system. Only stored as information in Aptic ARC.string -
Externalpaymentreference
External payment reference from purchase processing system. Only stored as information in Aptic ARC.string -
Invoicenumber
Invoicenumber from purchase processing system. Only stored as information in Aptic ARC.string -
Itemcount
Number of units of the items purchasedint -
Itemprincipal
Price per item incl. vat.decimal -
Message
Message from purchase processing system. Only stored as information in Aptic ARC.string -
Ourorder
Our order number from purchase processing system. Only stored as information in Aptic ARC.string -
Ourreference
Our reference contact from purchase processing system. Only stored as information in Aptic ARC.string -
Paymentcondition
Payment condition from purchase processing system. Only stored as information in Aptic ARC.int -
Placeofpurchase
Place of purchase if store isn't usedstring -
Printcode
Print code to control printing of invoice.string -
Receiptnumber
Receipt number of the purchasestring -
Receivercity
Receiver citystring -
Receivercountrycode
Receiver country code - 2 chars ISO 3166-1 alpha-2string -
Receiverfulladdress
Receiver full addressstring -
Receiverfullname
Receiver full namestring -
Receiverhouseno
House numberstring -
Receiverhousenoextension
House number extensionstring -
Receiverstatecode
Receiver state codestring -
Receiverstreet
Receiver streetstring -
Receiverzipcode
Receiver zip codestring -
Referencenumber
Referencenumber for this transactionstring -
Rounding
Rounding amount for this transactiondecimal -
Storereferencecode
The store that handled the purchase. This store must be in Aptic ARCstring -
Transdate Mandatory
Date for this transactionDateTime -
Transspectypecode
Transaction specification code. To be used for different accounting behaviourstring -
Transtype
Transaction type. 121 for payments and 120 for purchases (default)int -
Unittype
Units of item in clear textstring -
Yourorder
Your order number from purchase processing system. Only stored as information in Aptic ARC.string -
Yourreference
Your reference contact from purchase processing system. Only stored as information in Aptic ARC.string
-
-
Yearlyconsumption
Yearly consumption for utility accounts (formatted and including unit)string -
Yearlyconsumptionamount
Calculated yearly consumption for utility accounts (in account's currency)decimal
-
-
CustomerLookup Mandatory
A lookup for customer.ObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
LoanReferenceNumber Mandatory
Loan reference number.string -
MinAmountBackToNormal
Minimal amount to be paid to reserver back to normal Loan from (pre)termination statusdecimal -
NextStatusCheck
Next status check date for pre-terminationDateTime -
TerminationStatus Mandatory
Status of pre-termination.EnumTerminationStatusTermination status-
PreterminationPre-termination -
PerformingPerforming
-
-
-
Output
Error codes:
- 1 : error message from ARC server
InitiatePreterminationResponse
-
InitiatePreterminationResult
Result of InitiatePreterminationObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
Ping
0 if everything went ok. If something went wrong
it will return a result code other than 0 and the result text will contain
information about error. However if service is unreachable, e.g. not started, the
service will not respond at all.Examples
CreditUpdateClient client = new CreditUpdateClient();
try
{
GeneralResult result = client.Ping();
if (result.Result.ResultCode != 0)
{
throw new Exception(result.Result.ResultText ?? "Unknown error");
}
}
catch(Exception e)
{
throw new Exception("Failed to ping credit update service.", e);
}
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<soapenv:Body>
<urn:Ping/>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request data.ObjectPingPing
Output
0 if ping was successful, otherwise read result text for error information.
GeneralResultResponse
-
GeneralResult
Result of GeneralResultObjectGeneralResultA general result containing a result with result code and result text.-
Result
The result of the request.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
RegisterAndUpdateCreditAccount
Examples
CreditUpdateClient client = new CreditUpdateClient();
RegisterCreditAccountResult result = client.RegisterAndUpdateCreditAccount(new RegisterCreditAccountRequest()
{
CreditorReference = "1001",
CreditAccount = new Account
{
Creditlimit = 123,
Currencycode = "SEK",
Customers = new List <Customer>()
{
new Customer()
{
Cellularphone = "123123",
Currencycode = "sek",
Customerref = "9212128019",
Dateofbirth = new DateTime(1990, 1, 1),
Firstname = "Firstname",
Gender = GendertypeEnum.Male,
Id = "12106009",
Juridicaltype = JuridicaltypeEnum.Value1,
Languagecode = "SE",
Lastname = "Lastname",
Leinumber = "1493006stf3jbeysn481",
Maritalstatus = MaritalstatustypeEnum.Married,
Preferredchannel = "email",
Street = "Street",
Updateexisting = true,
Zipcode = "23232"
}
}.ToArray()
}
});
</code>
Sample soap request:
<code class="xml">
<![CDATA[
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b" xmlns:apt="http://schemas.datacontract.org/2004/07/Aptic.WebIntegrationPlatform.Soap.DataContracts.CreditUpdate" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<soapenv:Header/>
<soapenv:Body>
<urn:RegisterAndUpdateCreditAccount>
<urn:registerCreditAccountRequest>
<urn:CreditAccount>
<urn:Accountnumber>61000136475</urn:Accountnumber>
<urn:Creditlimit>275000.00</urn:Creditlimit>
<urn:Currencycode>SEK</urn:Currencycode>
<urn:Customers>
<urn:Customer>
<urn:Cellularphone>0457-111111142</urn:Cellularphone>
<urn:City>somecity</urn:City>
<urn:Currencycode>sek</urn:Currencycode>
<urn:Customerref>3229128079</urn:Customerref>
<urn:Dateofbirth>2001-07-02</urn:Dateofbirth>
<urn:Firstname>Firstname</urn:Firstname>
<urn:Gender>Male</urn:Gender>
<urn:Id>12196009</urn:Id>
<urn:Idnumber>9219128079</urn:Idnumber>
<urn:Juridicaltype>Value1</urn:Juridicaltype>
<urn:Languagecode>SE</urn:Languagecode>
<urn:Lastname>lastname</urn:Lastname>
<urn:Leinumber>1493006stf3jbeysn481</urn:Leinumber>
<urn:Maritalstatus>Married</urn:Maritalstatus>
<urn:Preferredchannel>email</urn:Preferredchannel>
<urn:Street>Street</urn:Street>
<urn:Updateexisting>true</urn:Updateexisting>
<urn:Zipcode>21223</urn:Zipcode>
</urn:Customer>
</urn:Customers>
<urn:Customeraccounttypecode>KLUBBKONTO</urn:Customeraccounttypecode>
</urn:CreditAccount>
<urn:CreditorReference>1001</urn:CreditorReference>
</urn:registerCreditAccountRequest>
</urn:RegisterAndUpdateCreditAccount>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
register CreditAccount informationObjectRegisterAndUpdateCreditAccountRegisterAndUpdateCreditAccount-
RegisterCreditAccountRequest
RegisterAndUpdateCreditAccount requestObjectRegisterCreditAccountRequestGeneral class for representing method output.-
CreditAccount Mandatory
Credit accounts.ObjectAccountAccount-
Accountnumber
The account numberstring -
Brokerreferencecode
Broker reference codestring -
Calcrate
Current interest rate (Debit)decimal -
Collectiondate
Date for debt collectionDateTime -
Collector
User code for preferred collectorstring -
Creditcalcrate
Current interest rate (Credit)decimal -
Creditinterestcode
Interest type code (Credit)string -
Creditinterestrate
Interest rate (Credit)decimal -
Creditlimit
Credit limit for this accountdecimal -
Creditlimitfeepercent
Credit limit fee in percentdecimal -
Creditstop
Is the account stopped for purchasebool -
Creditstopcausedescription
Description of the cause of the credit stopstring -
Creditstopcauseid
Bit masked 64 bit integer defining multiple causes for credit stopstring -
Currencycode
3 chars ISO 4217 currency codestring -
Currentbalance
The current balance of the accountdecimal -
Customeraccounttypecode Mandatory
Type of accountstring -
Customers Mandatory
CustomersArrayObjectCustomerCustomer-
Addresses
addressesArrayObjectAddressAddress-
Addressnotvalid
Address not valid from this dateDateTime -
Addressnotvalidoverride
Do not perform any checkups on the address, assume it's correctbool -
Addresstype Mandatory
Address type; legal, avi or invoiceEnumAddress.AddresstypeEnumAddress type; legal, avi or invoice-
LegalLegal -
AviAvi -
InvoiceInvoice
-
-
Careof
Care ofstring -
City
Citystring -
Country
Countrystring -
Countrycode
Country code - 2 chars ISO 3166-1 alpha-2string -
Defaultaddress
True if this is the default addressbool -
Fulladdress
Full address in one fieldstring -
Fullname
Full namestring -
Houseno
House numberstring -
Housenoextension
House number extensionstring -
Statecode
State codestring -
Street
Streetstring -
Updateexisting
True if existing matching address should be update with new databool -
Zipcode
Zip codestring
-
-
Addressnotvalidoverride
Do not perform any checkups on the address, assume it's correctbool -
Autotransferbankaccount
Auto transfer bank account numberstring -
Autotransferrefno
Auto transfer reference numberstring -
Bankaccounts
bankaccountsArrayObjectBankaccountCustomer bank account number for disbursement-
Bankaccountno
Customer bank account number (national or IBAN)string -
Bankcode
Bank codestring -
Bankdescription
Description of bankaccountstring -
Bic
BIC code for the bankstring -
Blz
BLZ/clearing numberstring -
Countrycode
Country where the bank account is locatedstring -
Currencycode
Currency code for the bank accountstring -
Iban
IBAN bank account number (if national account is used)string -
Swift
SWIFT numberstring
-
-
Careof
Care ofstring -
Cellularphone
Cellular phonestring -
City
Citystring -
Companyname
Name of the companystring -
Country
Country namestring -
Countrycode
Country code 2 chars ISO 3166-1 alpha-2string -
Currencycode
3 chars ISO 4217 currency codestring -
Customerref
Customer number/referencestring -
Customerrole
Customer roleEnumCustomerroleEnumCustomerroleEnum-
DebtorDebtor -
GuarantorGuarantor -
Co_ApplicantCo_Applicant -
EstatebeneficiaryEstatebeneficiary -
Tradingcompany_PartnerTradingcompany_Partner -
General_PartnerGeneral_Partner -
CustodianCustodian -
Solvent_PersonSolvent_Person
-
-
Dataprovisions
Data provisions, connected to customerArrayObjectDataprovisionDataprovision-
Code Mandatory
Dataprovision codestring -
Text
Extra information regarding the data provisionstring -
Version
Version number of the dataprovisionstring
-
-
Dateofbirth
Date of birthDateTime -
Domicile
Domicilestring -
Einvoicereceiverid
Receiver identity for electronic invoicingstring -
Email
Email addressstring -
Establishmentdate
Establishment dateDateTime -
Extrafields
extrafieldsArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Firstname Mandatory
First/company namestring -
Fulladdress
Full address in one fieldstring -
Gender
GenderEnumGendertypeEnumGendertypeEnum-
FemaleFemale -
MaleMale -
UnknownUnknown
-
-
Glnnumber
GLN - Global Location Numberstring -
Homephone
Home phonestring -
Houseno
House numberstring -
Housenoextension
House number extensionstring -
Id
The value for the attribute idstring -
Idnumber
Customer id numberstring -
Initials
Initialsstring -
Juridicaltype
Customer juridical typeEnumJuridicaltypeEnumJuridicaltypeEnum-
Value1Person -
Value2Company
-
-
Languagecode
Language codestring -
Lastname
Last namestring -
Leinumber
LEI - Legal Entity Identifierstring -
Maritalstatus
Marital statusEnumMaritalstatustypeEnumMaritalstatustypeEnum-
UnmarriedUnmarried -
MarriedMarried -
Common_Law_SpouseCommon_Law_Spouse -
WidowWidow -
DivorcedDivorced -
PartnerPartner
-
-
Middlename
Middle namestring -
Municipalcode
Municipal codestring -
Nacecode
NACE classification codestring -
Namesuffix
Name suffixstring -
Originationdetails
OriginationdetailsObjectOriginationdetailsLoan origination details per applicant-
Annualincome
Annual income/salarydecimal -
Employer
Name of employerstring -
Employerphone
Phone number to employerstring -
Employmenttype
Type of employmentEnumEmploymenttypeEnumEmploymenttypeEnum-
StudentDisability_Pension -
Disability_PensionDisability_Pension -
UnemployedUnemployed -
Temporary_EmployedTemporary_Employed -
Permanent_EmployedPermanent_Employed -
Self_EmployedSelf_Employed -
RetiredRetired
-
-
Extrafields
Extra fields, connected to credit applicantArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Maritalstatus
Marital statusEnumMaritalstatustypeEnumMaritalstatustypeEnum-
UnmarriedUnmarried -
MarriedMarried -
Common_Law_SpouseCommon_Law_Spouse -
WidowWidow -
DivorcedDivorced -
PartnerPartner
-
-
Monthlycostforothercreditsandloans
Monthly cost for other loans and creditsdecimal -
Monthlyincome
Monthly income/salarydecimal -
Monthlyrentalcost
Rental cost per monthdecimal -
Numberofadults
No of adults at homeint -
Numberofdependentchildren
No of children at homeint -
Othersecuredloans
Other loans with collateralsdecimal -
Othertotalcreditsandloans
Other loans and creditsdecimal -
Otherunsecuredloans
Other unsecured loans (blanco)decimal -
Residentdescription
Free text description of the residentstring -
Shareofaccommodationcost
Your share of accommodation cost per monthdecimal -
Typeofresident
Type of residentEnumResidenttypeEnumResidenttypeEnum-
Rented_ApartmentRented_Apartment -
Co_Operative_ApartmentCo_Operative_Apartment -
Detached_HouseDetached_House -
Roomer_Or_Second_HandRoomer_Or_Second_Hand
-
-
-
Parentcustomer
ParentcustomerObjectParentcustomerParentcustomer-
Ref_ Mandatory
The value for the attribute refstring
-
-
Placeofbirth
Place of birthstring -
Preferredchannel
Code for preferred channelstring -
Representatives
RepresentativesArrayObjectRepresentativeRepresentative-
Mandate
Mandatestring -
Ref_ Mandatory
Ref_string -
Representativerole
Representativerolestring
-
-
Statecode
State codestring -
Street
Streetstring -
Telefax
Telefaxstring -
Title
Customer titlestring -
Underage
True if customer is underagedbool -
Updateexisting
True if matching existing customer should be updated with new infobool -
Vatnumber
VAT registration numberstring -
Workphone
Work phonestring -
Zipcode
Zip codestring
-
-
Dataprovisions
Data provisions, connected to accountArrayObjectDataprovisionDataprovision-
Code Mandatory
Dataprovision codestring -
Text
Extra information regarding the data provisionstring -
Version
Version number of the dataprovisionstring
-
-
Deductioninterval
Deduction interval in days. 30 equals a monthint -
Deliverysystemcode
Delivering systemstring -
Documents
DocumentsArrayObjectDocumentDocuments on credit account, eg. loan agreement-
Documenttype
Type of documentEnumDocumenttypeEnumDocumenttypeEnum-
UnspecifiedUnspecified -
Original_InvoiceOriginal_Invoice -
ContractContract
-
-
Externallink
Link to an external repositorystring -
Filecontents
Base64 encoded file contentsstring -
Loggedat
Note time stampDateTime -
Note Mandatory
Textual note/description regarding the documentstring -
Originalfilename
Original file namestring
-
-
Extrafields
ExtrafieldsArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Fixedinteresttermstart
Date for current fixed interest term start. Required for fixed term interest ratesDateTime -
Interestcapitalizationdate
Next interest capitalizationDateTime -
Interestcode
Interest type code (Debit)string -
Interestfrom
Interest calulated from dateDateTime -
Interestrate
Interest rate (Debit)decimal -
Interestto
Interest calulated to dateDateTime -
Loantosettles
LoantosettlesArrayObjectLoantosettleLoantosettle-
Accruedinterest
Accrued interest to disbursement date of the settlement amountdecimal -
Bankaccount
Bank account to use for settlement paymentObjectBankaccountCustomer bank account number for disbursement-
Bankaccountno
Customer bank account number (national or IBAN)string -
Bankcode
Bank codestring -
Bankdescription
Description of bankaccountstring -
Bic
BIC code for the bankstring -
Blz
BLZ/clearing numberstring -
Countrycode
Country where the bank account is locatedstring -
Currencycode
Currency code for the bank accountstring -
Iban
IBAN bank account number (if national account is used)string -
Swift
SWIFT numberstring
-
-
Bankname Mandatory
Bank that holds the previous loanstring -
Currencycode Mandatory
Currency code for the loanstring -
Disbursementdate
End date for disbursement of settled amountDateTime -
Fees
Other fees of the settlement amountdecimal -
Loanreferencenumber Mandatory
Loan account numberstring -
Netineterestlosscompensation
Compensation for net interest loss, included in settlement amountdecimal -
Paymentreferencenumber
Payment reference number for the settlement payment to the bankstring -
Principalamount
The principal part of the settlement amountdecimal -
Settlementamount Mandatory
Total amount to settle the loandecimal
-
-
Mincreditinterestamount
Minimum interest amountdecimal -
Nextdeductiondate
Date for next deduction of the accountDateTime -
Nextpaymentdate
Due date for next paymentDateTime -
Notes
NotesArrayObjectNoteNotes shown on credit account-
Histnotetypeid
System specific note type id. Only used for migration purposeint -
Histownertypeid
System specific owner type id. Only used for migration purposeint -
Important
Important note = truebool -
Loggedat
Note time stampDateTime -
Note Mandatory
Note textstring -
Systemcode
System codestring -
Usercode
User codestring
-
-
Origination
OriginationObjectOriginationLoan origination information-
Applicationdate
Date when the application was filedDateTime -
Appliedcreditamount Mandatory
Credit amount applied fordecimal -
Durationinmonths Mandatory
Duration of the loan in monthsint -
Economicccalculation
Economic calculation detailsstring -
Extrafields
Extra fields, connected to credit applicationArrayObjectExtrafieldExtrafield-
Data Mandatory
Data contents of the extra fieldstring -
Name Mandatory
Name of the extra field, defined in cfg_extrafieldstring
-
-
Interestcode
Interest type codestring -
Interestrate
Interest ratedecimal -
Originalappliedcreditamount
Original credit amount applied fordecimal -
Originaldurationinmonths
Original duration of the loan in monthsint -
Reason
Reason for the loan in clear textstring -
Startdate Mandatory
Start date for the loanDateTime
-
-
Paymentoccasionoffset
Offset for next payment day calculationint -
Paymentoccasiontype
Type of calculation for next payment dayEnumPaymentoccasiontypeEnumPaymentoccasiontypeEnum-
Value1Represents the value '1' in the XML -
Value2Represents the value '2' in the XML
-
-
Paymentplan
PaymentplanObjectPaymentplanAmortization plan for loans-
Interval
Interval/days of amortization plan, default 30 (one month)int -
Intervaltype
Interval type of amortization planEnumLoanpaymentplanintervaltypeEnumLoanpaymentplanintervaltypeEnum-
StartOfMonthStartOfMonth -
EndOfMonthEndOfMonth -
MonthMonth -
DayDay
-
-
Loanpaymentplantype Mandatory
Type of amortization planEnumLoanpaymentplantypetypeEnumLoanpaymentplantypetypeEnum-
FlatFlat -
AnnuityAnnuity -
InterestOnlyInterestOnly -
VirtualVirtual
-
-
Maturitydate
The maturity date of amortization planDateTime -
Numpayments Mandatory
Number of payments in amortization planint -
Payments
All payment occasions in amortization planArrayObjectPaymentAmortization plan payment occasion-
Amount
Total amount to pay on the occasiondecimal -
Fixedinterest
Fixed interest ratedecimal -
Paymentdate Mandatory
Payment (due) dateDateTime -
Principalamount
Part of the payment that should be allocated as amortizationdecimal
-
-
Startdate
Starting date of amortization planDateTime
-
-
Paymentreference
Payment reference / OCR numberstring -
Pledges
PledgesArrayObjectPledgePledge information for this account-
Customers Mandatory
CustomersArrayObjectPledge.CustomerPledgeCustomerPledge-
Customer
CustomerArrayObjectCustomerrefCustomerref-
Ref_ Mandatory
The value for the attribute refstring
-
-
Idnumber
Personal number for guarantor in customer-elementArraystring
-
-
Description
Description of the pledgestring -
Fullguarantee
Full guarantee informationObjectFullguaranteeFull guarantee information-
Generalfordebtor
Id number of debtor that this pledge is a general guarantee forstring -
Guaranteetypeid Mandatory
Guarantee typeint
-
-
Guarantee
Guarantee informationObjectGuaranteeGuarantee information-
Currencycode Mandatory
Guarantee currencystring -
Generalfordebtor
Id number of customer that this pledge is a general guarantee forstring -
Guaranteetypeid Mandatory
Guarantee typeint -
Interestamount Mandatory
Guarantee interest amountstring -
Interestcode
Interest type codestring -
Interestfrom
Interest calulated from dateDateTime -
Interestrate
Interest ratedecimal -
Interestto
Interest calulated to dateDateTime -
Principalamount Mandatory
Guarantee principal amountstring -
Remaininginterest
Remaining interest amount in guaranteedecimal -
Remainingprincipal
Remaining principal amount in guaranteedecimal -
Validuntil
Guarantee valid untilDateTime
-
-
Insuranceexpirydate
Expiry date of the insurance for this pledgeDateTime -
Insurancenumber
Insurance number for this pledgestring -
Insuredamount
Insured amount for this pledgedecimal -
Insurer
Insurer for this pledgestring -
Mortgagecompanies
Mortgage companies informationObjectMortgagecompaniesMortgage companies information-
Amountfrom
Mortgage companies from amount (obsolete, use mortgagelienpriorities instead)decimal -
Amountto
Mortgage companies to amount (obsolete, use mortgagelienpriorities instead)decimal -
Collateralcode
Pre defined collateral codestring -
Companyname
Companynamestring -
Mortgagelienpriorities
All known mortgage lien prioritiesObjectMortgagelienprioritiesMortgagelienpriorities-
Lienpriorities
LienprioritiesArrayObjectMortgagelienpriorities.LienpriorityElmLienpriorityElm-
Date
DateDateTime -
Lienpriorityamount Mandatory
Lienpriorityamountdecimal -
Note
Notestring -
Owner
Ownerstring -
Pledgedamount
Pledgedamountdecimal -
Priorityorder
Priorityorderint -
Referencenumber
Referencenumberstring
-
-
-
-
Movableproperty
Movable property informationObjectMovablepropertyMovable property information-
Collateralcode
Pre defined collateral codestring -
Mortgagelienpriorities
All known mortgage lien prioritiesObjectMortgagelienprioritiesMortgagelienpriorities-
Lienpriorities
LienprioritiesArrayObjectMortgagelienpriorities.LienpriorityElmLienpriorityElm-
Date
DateDateTime -
Lienpriorityamount Mandatory
Lienpriorityamountdecimal -
Note
Notestring -
Owner
Ownerstring -
Pledgedamount
Pledgedamountdecimal -
Priorityorder
Priorityorderint -
Referencenumber
Referencenumberstring
-
-
-
Propertytypeid Mandatory
Movable property typeint -
Valueamount
Value amountdecimal -
Valuedat
Valued atDateTime -
Valuedby
Valued bystring
-
-
Note
Notes for this pledgestring -
Pledgeamount
Pledge amountdecimal -
Pledgedate Mandatory
Pledge dateDateTime -
Pledgetypeid
Type of pledge (not needed as the choice of extra information determines type)int -
Realproperty
Real property informationObjectRealpropertyReal property information-
Amountfrom
Mortgage companies from amount (obsolete, use mortgagelienpriorities instead)decimal -
Amountto
Mortgage companies to amount (obsolete, use mortgagelienpriorities instead)decimal -
Collateralcode
Pre defined collateral codestring -
Estate Mandatory
Real estate identificationstring -
Estatetypeid Mandatory
Estate typeint -
Landcertificate
LandcertificateObjectLandcertificateLandcertificate-
Owners Mandatory
OwnersObjectLandcertificate_OwnersLandcertificate_Owners-
Owner
OwnerArrayObjectLandcertificate_Owners.OwnerElmOwnerElm-
Fullname
Fullnamestring -
Idnumber
Idnumberstring -
Ownership
Percentage of ownership for the current real property.decimal
-
-
-
-
Mortgagelienpriorities
All known mortgage lien prioritiesObjectMortgagelienprioritiesMortgagelienpriorities-
Lienpriorities
LienprioritiesArrayObjectMortgagelienpriorities.LienpriorityElmLienpriorityElm-
Date
DateDateTime -
Lienpriorityamount Mandatory
Lienpriorityamountdecimal -
Note
Notestring -
Owner
Ownerstring -
Pledgedamount
Pledgedamountdecimal -
Priorityorder
Priorityorderint -
Referencenumber
Referencenumberstring
-
-
-
Reportingcode
Reportingcodestring -
Reportingdate
ReportingdateDateTime -
Taxvalue
Tax value amountdecimal -
Valueamount
Value amountdecimal -
Valuedat
Valued atDateTime -
Valuedby
Valued bystring
-
-
Referencenumber Mandatory
Reference or identification number for pledgestring
-
-
Remindedat
Date for last reminderDateTime -
Remindercount
Number of reminders sentint -
Settleimmediately
Settle any transactions immediatelybool -
Transactions
TransactionsArrayObjectTransactionTransaction record.-
Amount Mandatory
Total amount incl. VAT for this transactiondecimal -
Amountspecs
Detailed specification of the sub transactionsArrayObjectAmountspecAmountspec-
Amount Mandatory
The amount (+ for new debt, - for payments)decimal -
Amounttype
Amount type. 1 for principal, 2 for interestint -
Currencycode
Currency code if other than the main transactionstring -
Debttype
Debt type. 5 for credit, 2 for imported fee, 7 for capitalized interestint -
Feecode
The fee code (i.e. REMIND)string -
Transspectypecode
Transaction specification code. To be used for different accounting behaviourstring -
Transsubtype
Sub transaction typeint -
Transtype
Transaction type. 121 for payments and 120 for purchases (default)int
-
-
Cashregisternumber
Cash register number that handled the purchasestring -
Deliverycondition
Delivery condition from purchase processing system. Only stored as information in Aptic ARC.string -
Deliverydate
Delivery date from purchase processing system. Only stored as information in Aptic ARC.DateTime -
Deliverymethod
Delivery method from purchase processing system. Only stored as information in Aptic ARC.string -
Deliverynoteid
Delivery number from purchase processing system. Only stored as information in Aptic ARC.string -
Description
Description of this transaction in clear textstring -
Duedate
Due date from purchase processing system. Only stored as information in Aptic ARC.DateTime -
Externalinvoicenumber
External invoicenumber from purchase processing system. Only stored as information in Aptic ARC.string -
Externalpaymentreference
External payment reference from purchase processing system. Only stored as information in Aptic ARC.string -
Invoicenumber
Invoicenumber from purchase processing system. Only stored as information in Aptic ARC.string -
Itemcount
Number of units of the items purchasedint -
Itemprincipal
Price per item incl. vat.decimal -
Message
Message from purchase processing system. Only stored as information in Aptic ARC.string -
Ourorder
Our order number from purchase processing system. Only stored as information in Aptic ARC.string -
Ourreference
Our reference contact from purchase processing system. Only stored as information in Aptic ARC.string -
Paymentcondition
Payment condition from purchase processing system. Only stored as information in Aptic ARC.int -
Placeofpurchase
Place of purchase if store isn't usedstring -
Printcode
Print code to control printing of invoice.string -
Receiptnumber
Receipt number of the purchasestring -
Receivercity
Receiver citystring -
Receivercountrycode
Receiver country code - 2 chars ISO 3166-1 alpha-2string -
Receiverfulladdress
Receiver full addressstring -
Receiverfullname
Receiver full namestring -
Receiverhouseno
House numberstring -
Receiverhousenoextension
House number extensionstring -
Receiverstatecode
Receiver state codestring -
Receiverstreet
Receiver streetstring -
Receiverzipcode
Receiver zip codestring -
Referencenumber
Referencenumber for this transactionstring -
Rounding
Rounding amount for this transactiondecimal -
Storereferencecode
The store that handled the purchase. This store must be in Aptic ARCstring -
Transdate Mandatory
Date for this transactionDateTime -
Transspectypecode
Transaction specification code. To be used for different accounting behaviourstring -
Transtype
Transaction type. 121 for payments and 120 for purchases (default)int -
Unittype
Units of item in clear textstring -
Yourorder
Your order number from purchase processing system. Only stored as information in Aptic ARC.string -
Yourreference
Your reference contact from purchase processing system. Only stored as information in Aptic ARC.string
-
-
Yearlyconsumption
Yearly consumption for utility accounts (formatted and including unit)string -
Yearlyconsumptionamount
Calculated yearly consumption for utility accounts (in account's currency)decimal
-
-
CreditorReference Mandatory
Party reference code.string
-
-
Output
0 if registration or update successfully.
ImpCreditDebtId of restered or updated account LedgerAccountId of restered or updated account JournalId of restered or updated account
RegisterAndUpdateCreditAccountResponse
-
RegisterAndUpdateCreditAccountResult
Result of RegisterAndUpdateCreditAccountObjectRegisterCreditAccountResultGeneral class for representing method output.-
ImpCreditDebtId
Import ledger account ID.int -
JournalId
Journal ID.int -
LedgerAccountId
Ledger account ID.int -
Result Mandatory
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-
SetClosureOnAccount
Examples
CreditUpdateClient client = new CreditUpdateClient();
SetClosureOnAccountResult result = client.SetClosureOnAccount(null, "30000008782", "1001", "PAIDINFULL", null);
Sample soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:uuid:e657a351-ae8c-42c5-b083-ebe5dcda5c0b">
<soapenv:Header/>
<urn:SetClosureOnAccount>
<urn:ClosureCode>PAIDINFULL</urn:ClosureCode>
<urn:CreditorReference>1001</urn:CreditorReference>
<urn:CustomerAccountReference>30000008782</urn:CustomerAccountReference>
<urn:Transactions>
<urn:ClosureTransaction>
<urn:Amount>100</urn:Amount>
<urn:TransDate>2019-09-24</urn:TransDate>
<urn:TransType>Credit</urn:TransType>
</urn:ClosureTransaction>
</urn:Transactions>
</urn:SetClosureOnAccount>
</soapenv:Body>
</soapenv:Envelope>Input
-
request Mandatory
Request data.ObjectSetClosureOnAccountSetClosureOnAccount-
ClosureCode
Closure codestring -
CreditorReference
Optional. Loan creditor reference numberstring -
CustomerAccountReference
Loan reference numberstring -
CustomerLookup
Customer search criteriaObjectCustomerLookupA lookup for customer.-
CustomerIdentification Mandatory
Type of customer identification to look up.EnumCustomerIdentificationTypeCustomer identification type.-
CustomCustom identification. -
CustomerSESSNOrCompanyNoIdentify by Swedish SSN or company number. -
CustomerNOSSNOrCompanyNoIdentify by Norwegian SSN or company number. -
CustomerReferenceNumberIdentify by customer reference number. -
CustomerGuidCustomer identification.
-
-
CustomerIdentificationValue Mandatory
Customer identification to look up, depending on type it has different formats.string -
JuridicalType
Type of customer, e.g. physical.EnumCustomerJuridicalTypeJuridical type of the customer.-
PhysicalPhysical person, meaning a natural person. -
CompanyA company or other organisation. -
PersonalFirmA company that shares the juridical entity with a physical person.
-
-
-
Transactions
Optional. List of transactions to be applied on loan before closureArrayObjectClosureTransactionAdditional closure transaction information-
Amount Mandatory
Total amount incl. VAT for this transactiondecimal -
AmountSpec
Detailed specification of the sub transactionsArrayObjectAmountSpecTypeDetailed specification of the sub transaction-
Amount Mandatory
The amount (+ for new debt, - for payments)decimal -
AmountType
Amount typeEnumTransAmountTypeTransaction amount type.-
PrincipalPrincipal. -
InterestInterest. -
VATVAT.
-
-
CurrencyCode
Currency code if other than the main transactionstring -
DebtType
Debt typeEnumDebtTypeDebt type.-
UnknownNone. -
PrincipalPrincipal. -
ImportedFeeImportedFee. -
FeeFee. -
OutlayOutlay. -
CreditCredit. -
ReservationReservation. -
CapitalizedInterestCapitalizedInterest. -
BilledBilled. -
DueDue. -
PenaltyInterestOnPrincipalPenaltyInterestOnPrincipal. -
PenaltyInterestOnInterestPenaltyInterestOnInterest. -
PreterminationPretermination. -
TerminationTermination.
-
-
FeeCode
The fee code (i.e. REMIND)string -
TransSpecTypeCode
Transaction specification code. To be used for different accounting behaviourstring -
TransSubType
Sub transaction typeEnumTransactionSubTypeTransaction sub type.-
UnknownUnknown -
VATVAT Amount -
Payment_UnplacedUnplaced payment -
Payment_OverpaymentOverpayment -
CreditDebt_IncomingIncoming Credit balance -
CreditDebt_OutgoingOutgoing Credit Balance -
TrustAcc_LedgerPaymentLedgerPayment Accounted -
TrustAcc_KickbackKickback Accounted -
TrustAcc_OverpaymentOverpayment Accounted -
TrustAcc_LedgerCommissionLedgerCommission Accounted -
TrustAcc_LedgerCommissionVatLedgerCommissionVat Accounted -
TrustAcc_DepositDeposit Accounted -
TrustAcc_CollectionPaymentCollectionPayment Accounted -
TrustAcc_CollectionCommissionCollectionCommission Accounted -
TrustAcc_CollectionCommissionVatCollectionCommissionVat Accounted -
RoundingRounding -
CreditDebt_FeeCredit Fee -
CreditDebt_RevolvingCreditInterestRevolving Credit Interest -
CreditDebt_CampaignInterestCampaign Interest -
CreditDebt_MinimumInterestMinimum Interest -
CreditDebt_CreditLimitFeeCredit Limit Fee -
CreditDebt_InvoiceInvoice on Credit -
CreditDebt_PurchaseReturnPurchase Return -
CreditDebt_PenaltyInterestPenalty Interest -
CreditDebt_LoanInterestLoan Interest -
CreditDebt_PenaltyInterestOnInterestPenalty Interest On Interest -
CreditDebt_DebitInterestDebit Interest -
CreditDebt_CreditInterestCredit Interest -
CollectionInterestCollection Interest -
Ledger_ReturnReturn on ledger -
Ledger_DeleteDeletion on ledger -
OriginalInterest_LimitationInterest limitation -
TrustAcc_KickbackVatKickback's VAT Accounted -
PayableToThirdParty_InvoiceReceived3rd party remmittance operation -
PayableToThirdParty_CreditInvoiceReceived3rd party remmittance operation -
PayableToThirdParty_RepaidByThirdParty3rd party remmittance operation -
PayableToThirdParty_KeptByThirdParty3rd party remmittance operation -
PayableToThirdParty_PaidByDebtor3rd party remmittance operation -
PayableToThirdParty_Credited3rd party remmittance operation -
PayableToThirdParty_Discounted3rd party remmittance operation -
EarlyRepaymentInterestCompensation3rd party remmittance operation -
ReturnedPaymentReturned disbursement
-
-
TransType
Transaction type. 121 for payments and 120 for purchases (default)EnumTransactionTypeTransaction type.-
UnknownUnknown transaction type. -
NewNew transaction. -
TransferTransfer. -
InterestUpdateInterest update. -
PaymentPayment. -
AdjustUpAdjustment up. -
AdjustDownAdjustment down. -
CreditAccountAdjustCreditor account adjustment. -
ServiceService. -
ClosureClosure. -
DisbursementDisbursement. -
TransferCreditInvoiceCredit invoice transfer. -
TrustAccountingTrust accounting. -
RemitRemit. -
InterestLimitationLimitation of interest. -
UnspecifiedPaymentUnspecified payment. -
CreditorFeeCreditor fee. -
Purchase_DirectPaymentPurchase, direct payment. -
PurchaseDepositPurchase deposit. -
PurchasePurchase. -
DiffDiff. -
CreditCredit. -
SpecifyUnspecifiedPaymentSpecifying unspecified payment. -
RegressRegress. -
Payment_CreditInvoiceUse credit invoice. -
BlockedAccountBlocked account. -
DeletePaymentDeleted payment. -
NettedOutlayNetted outlay. -
WriteDownExpectedOutlayWrite-down expected outlay -
WriteUpEstablishedOutlayWrite-up establised outlay. -
DisbursementFeeDisbursement fee. -
MoveToCreditorDebtor fee moved to creditor -
Factoring_DisbursementFactoring, disbursement. -
Factoring_Disbursement_LoanFactoring, disbursement loan. -
CreditDebt_BalanceBalance. -
Factoring_InterestCapitalizationFactoring, interest capitalization. -
Factoring_Purchase_OBSOLETEEnum value Factoring_Purchase_OBSOLETE is obsolete.
Factoring, purchase. -
Factoring_EndorseFactoring, Endorsement. -
Factoring_ReendorseFactoring, Reendorsement. -
Factoring_Disbursement_PledgeFactoring, disbursement purchase deposit. -
Factoring_LoanFactoring, loan. -
PaymentSyncronizePayment, syncronization. -
PaymentSyncronize_CreditInvoicePayment, credit invoice, syncronization. -
OverpaymentOverpayment. -
OverpaymentContraTransOverpayment contra trans. -
ExchangeDifferenceExhchange difference. -
ExchangeFeeExchange fee. -
InterestChargeInterest charge -
FeeChargeFee charge. -
BadDebtReserveReserve for bad debt. -
BadDebtWriteOffWrite-off bad debt. -
BadDebtRecoveryBad debt recovery -
InterimPaymentInterim payment. -
ConfirmedDisbursementDisbursement (confirmed). -
ConvertInvoiceToCreditConvert invoice to credit. -
ConvertCampaignToCreditCampaign converted to account -
InterimDisbursementInterim disbursement. -
DisbursementToUnplacedPaymentDisbursement transfered to unplaced payment. -
TransferForSettlementTranfer for settlement. -
DebtlimitationAdjustmentDebt limitation adjustment. -
DebtlimitationPaymentOtherPayment by other. -
CreditDebt_PurchasePurchase. -
CreditDebt_PaymentPayment from customer. -
CreditDebt_DisbursementDisbursement. -
CreditDebt_InterestCapitalizationInterest capitalization. -
CreditDebt_InternalTransferInternal transfer. -
CreditDebt_ExternalTransferExternal transfer. -
CreditDebt_ExternalPaymentExternal payment. -
CreditDebt_InvoiceInvoice. -
CreditDebt_InterestInterest. -
CreditDebt_FeeFee. -
CreditDebt_AdjustmentAdjustment. -
CreditDebt_PrepaymentPre-payment. -
ReturnReturn. -
DeleteCrediting. -
CollectionCollection. -
CreditDebt_DepositDeposit. -
CreditDebt_DiscountDiscount. -
Interest_CompensationInterest calculated as compensation/penalty due to preredemption. -
CreditDebt_BilledPart of the loan that has been invoiced/billed. -
CreditDebt_DueThe invoiced/billed part of the loan that has become overdue. -
BankaccountInterestBank account interest. -
BankaccountFeeBank account fee. -
BankaccountOtherOther bank account transaction. -
UpdateDebtReturnDistribution of debt from credit debt to invoice. -
UpdateDebtNettingNetting of return debtrows. -
BankaccountTransferBank account transfer. -
DebtAdjustmentDebt adjustment. -
CollectedByThirdPartyCollected by third party. -
NettedAtThirdPartyNetted at 3rd party. -
PayableToThirdPartyAccounts payable to 3rd party. -
InterestCapitalizationInterest that has turned into principal amount. -
CreditDebt_Termination_DebitFirst transaction in a pre-termination phase of a loan. -
CreditDebt_Termination_CreditSecond transaction in a pre-termination phase of a loan. -
CashDiscountCache discount of an invoice due to early payment. -
VirtualAccount_BalanceTransaction that set the intial balance of a virtual account. -
VirtualAccount_TransactionTransaction that mirrors the original transaction on a virtual account -
DisbursementOfCreditInvoiceDisbursement of a credit invoice to the customer.
-
-
-
CashRegisterNumber
Cash register number that handled the purchasestring -
DeliveryCondition
Delivery condition from purchase processing system. Only stored as information in Aptic ARC.string -
DeliveryDate
Delivery date from purchase processing system. Only stored as information in Aptic ARC.DateTime -
DeliveryMethod
Delivery method from purchase processing system. Only stored as information in Aptic ARC.string -
DeliveryNoteId
Delivery number from purchase processing system. Only stored as information in Aptic ARC.string -
Description
Description of this transaction in clear textstring -
DueDate
Due date from purchase processing system. Only stored as information in Aptic ARC.DateTime -
ExternalInvoiceNumber
External invoicenumber from purchase processing system. Only stored as information in Aptic ARC.string -
ExternalPaymentReference
External payment reference from purchase processing system. Only stored as information in Aptic ARC.string -
InvoiceNumber
Invoicenumber from purchase processing system. Only stored as information in Aptic ARC.string -
ItemCount
Number of units of the items purchasedint -
ItemPrincipal
Price per item incl. vat.decimal -
Message
Message from purchase processing system. Only stored as information in Aptic ARC.string -
OurOrder
Our order number from purchase processing system. Only stored as information in Aptic ARC.string -
OurReference
Our reference contact from purchase processing system. Only stored as information in Aptic ARC.string -
PaymentCondition
Payment condition from purchase processing system. Only stored as information in Aptic ARC.int -
PlaceOfPurchase
Place of purchase if store isn't usedstring -
PrintCode
Print code to control printing of invoice.string -
ReceiptNumber
Receipt number of the purchasestring -
ReceiverCity
Receiver citystring -
ReceiverCountryCode
Receiver country code - 2 chars ISO 3166-1 alpha-2string -
ReceiverFullAddress
Receiver full addressstring -
ReceiverFullname
Receiver full namestring -
ReceiverHouseNo
House numberstring -
ReceiverHouseNoExtension
House number extensionstring -
ReceiverStateCode
Receiver state codestring -
ReceiverStreet
Receiver streetstring -
ReceiverZipCode
Receiver zip codestring -
ReferenceNumber
Referencenumber for this transactionstring -
Rounding
Rounding amount for this transactiondecimal -
StoreReferenceCode
The store that handled the purchase. This store must be in Aptic ARCstring -
TransDate Mandatory
Date for this transactionDateTime -
TransspecTypeCode
Transaction specification code. To be used for different accounting behaviourstring -
TransType
Transaction type. 121 for payments and 120 for purchases (default)EnumTransactionTypeTransaction type.-
UnknownUnknown transaction type. -
NewNew transaction. -
TransferTransfer. -
InterestUpdateInterest update. -
PaymentPayment. -
AdjustUpAdjustment up. -
AdjustDownAdjustment down. -
CreditAccountAdjustCreditor account adjustment. -
ServiceService. -
ClosureClosure. -
DisbursementDisbursement. -
TransferCreditInvoiceCredit invoice transfer. -
TrustAccountingTrust accounting. -
RemitRemit. -
InterestLimitationLimitation of interest. -
UnspecifiedPaymentUnspecified payment. -
CreditorFeeCreditor fee. -
Purchase_DirectPaymentPurchase, direct payment. -
PurchaseDepositPurchase deposit. -
PurchasePurchase. -
DiffDiff. -
CreditCredit. -
SpecifyUnspecifiedPaymentSpecifying unspecified payment. -
RegressRegress. -
Payment_CreditInvoiceUse credit invoice. -
BlockedAccountBlocked account. -
DeletePaymentDeleted payment. -
NettedOutlayNetted outlay. -
WriteDownExpectedOutlayWrite-down expected outlay -
WriteUpEstablishedOutlayWrite-up establised outlay. -
DisbursementFeeDisbursement fee. -
MoveToCreditorDebtor fee moved to creditor -
Factoring_DisbursementFactoring, disbursement. -
Factoring_Disbursement_LoanFactoring, disbursement loan. -
CreditDebt_BalanceBalance. -
Factoring_InterestCapitalizationFactoring, interest capitalization. -
Factoring_Purchase_OBSOLETEEnum value Factoring_Purchase_OBSOLETE is obsolete.
Factoring, purchase. -
Factoring_EndorseFactoring, Endorsement. -
Factoring_ReendorseFactoring, Reendorsement. -
Factoring_Disbursement_PledgeFactoring, disbursement purchase deposit. -
Factoring_LoanFactoring, loan. -
PaymentSyncronizePayment, syncronization. -
PaymentSyncronize_CreditInvoicePayment, credit invoice, syncronization. -
OverpaymentOverpayment. -
OverpaymentContraTransOverpayment contra trans. -
ExchangeDifferenceExhchange difference. -
ExchangeFeeExchange fee. -
InterestChargeInterest charge -
FeeChargeFee charge. -
BadDebtReserveReserve for bad debt. -
BadDebtWriteOffWrite-off bad debt. -
BadDebtRecoveryBad debt recovery -
InterimPaymentInterim payment. -
ConfirmedDisbursementDisbursement (confirmed). -
ConvertInvoiceToCreditConvert invoice to credit. -
ConvertCampaignToCreditCampaign converted to account -
InterimDisbursementInterim disbursement. -
DisbursementToUnplacedPaymentDisbursement transfered to unplaced payment. -
TransferForSettlementTranfer for settlement. -
DebtlimitationAdjustmentDebt limitation adjustment. -
DebtlimitationPaymentOtherPayment by other. -
CreditDebt_PurchasePurchase. -
CreditDebt_PaymentPayment from customer. -
CreditDebt_DisbursementDisbursement. -
CreditDebt_InterestCapitalizationInterest capitalization. -
CreditDebt_InternalTransferInternal transfer. -
CreditDebt_ExternalTransferExternal transfer. -
CreditDebt_ExternalPaymentExternal payment. -
CreditDebt_InvoiceInvoice. -
CreditDebt_InterestInterest. -
CreditDebt_FeeFee. -
CreditDebt_AdjustmentAdjustment. -
CreditDebt_PrepaymentPre-payment. -
ReturnReturn. -
DeleteCrediting. -
CollectionCollection. -
CreditDebt_DepositDeposit. -
CreditDebt_DiscountDiscount. -
Interest_CompensationInterest calculated as compensation/penalty due to preredemption. -
CreditDebt_BilledPart of the loan that has been invoiced/billed. -
CreditDebt_DueThe invoiced/billed part of the loan that has become overdue. -
BankaccountInterestBank account interest. -
BankaccountFeeBank account fee. -
BankaccountOtherOther bank account transaction. -
UpdateDebtReturnDistribution of debt from credit debt to invoice. -
UpdateDebtNettingNetting of return debtrows. -
BankaccountTransferBank account transfer. -
DebtAdjustmentDebt adjustment. -
CollectedByThirdPartyCollected by third party. -
NettedAtThirdPartyNetted at 3rd party. -
PayableToThirdPartyAccounts payable to 3rd party. -
InterestCapitalizationInterest that has turned into principal amount. -
CreditDebt_Termination_DebitFirst transaction in a pre-termination phase of a loan. -
CreditDebt_Termination_CreditSecond transaction in a pre-termination phase of a loan. -
CashDiscountCache discount of an invoice due to early payment. -
VirtualAccount_BalanceTransaction that set the intial balance of a virtual account. -
VirtualAccount_TransactionTransaction that mirrors the original transaction on a virtual account -
DisbursementOfCreditInvoiceDisbursement of a credit invoice to the customer.
-
-
UnitType
Units of item in clear textstring -
YourOrder
Your order number from purchase processing system. Only stored as information in Aptic ARC.string -
YourReference
Your reference contact from purchase processing system. Only stored as information in Aptic ARC.string
-
-
Output
Error codes:
- 1 : error message from ARC server
SetClosureOnAccountResponse
-
SetClosureOnAccountResult
Result of SetClosureOnAccountObjectSetClosureOnAccountResultGeneral class for representing method output.-
Result Mandatory
The result of the request. Indicating success or error.ObjectResultTypeCommon result type.-
ResultCode Mandatory
The result code0means ok, anything else usually indicates a warning or an error. Look at accompanying result text for more details on result.int -
ResultText Mandatory
Text information of the result. Usually contains a warning or error message when result code is indicating other than success.string
-
-