> For the complete documentation index, see [llms.txt](https://apidocs.arionbanki.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.arionbanki.is/b2b-2013-schema/b2b-services/b2b-secondary-collection-claim-service/fields.md).

# Fields

This chapter contains information on the input and output fields of the B2B Secondary Collection Claim Service.

## Service functions&#x20;

The actions available through the service, along with their inputs and outputs, are summarized in the following table. In the case of inputs and outputs, these refer to the names of the classes that the web service accepts and returns.

<table data-full-width="true"><thead><tr><th width="321.5">Function</th><th>Input</th><th width="217">Output</th><th>Description</th></tr></thead><tbody><tr><td>AlterClaim</td><td><a href="#claim">Claim </a></td><td><a href="#claimoperationresult">ClaimOperationResult </a></td><td>Modifies a previously created claim. The entire claim is submitted new values</td></tr><tr><td>AlterClaims</td><td><a href="#claim">Claim </a></td><td><a href="#operationid">operationId</a></td><td>Modifies a list of previously created claims</td></tr><tr><td>CancelClaim</td><td><a href="#claimkey">ClaimKey</a></td><td><a href="#claimoperationresult">ClaimOperationResult</a></td><td>Cancels an unpaid claim.</td></tr><tr><td>CancelClaims</td><td><a href="#claimkey">ClaimKey</a></td><td><a href="#operationid">operationId</a></td><td>Cancels multiple unpaid claims.</td></tr><tr><td>GetClaimOperationResult</td><td><a href="#operationid">operationId</a></td><td><a href="#claimoperationresult">ClaimOperationResult</a></td><td>Returns information on a claim batch along with the status on individual claims in the batch.</td></tr><tr><td>QueryClaim</td><td><a href="#claimkey">ClaimKey</a></td><td><a href="#claiminfo">ClaimInfo</a></td><td>Returns information on a claim.</td></tr><tr><td>QueryClaims</td><td><a href="#claimsquery">ClaimsQuery</a></td><td><a href="#queryclaimsresult">QueryClaimsResult</a></td><td>Returns information on multiple claims.</td></tr><tr><td>QueryClaimTransactions</td><td><a href="#claimkey">ClaimKey</a></td><td><a href="#claimtransactionsresult">ClaimTransactionsResult</a></td><td>Returns the whole transaction history of a claim (payments, updates, reminders sent, etc.)</td></tr><tr><td>QuerySecondaryCollectionClaims</td><td><a href="#secondarycollectionclaimsquery">SecondaryCollectionClaimsQuery</a></td><td><a href="#queryclaimsresult">QueryClaimsResult</a></td><td>Retrieves information about claims for the specified claimant. Used to fetch claims marked for secondary collection.</td></tr><tr><td>QuerySecondaryCollectionPayments</td><td><a href="#secondarycollectionpaymentsquery">SecondaryCollectionPaymentsQuery</a></td><td><a href="#querypaymentsresult">QueryPaymentsResult</a></td><td>Returns a list of individual payments for claims that have been partially or fully paid.</td></tr><tr><td>SecondaryCollectionReturnClaim</td><td><a href="#claim">Claim</a></td><td><a href="#claimoperationresult">ClaimOperationResult</a></td><td>Returns a collection claim that is in secondary collection or opened for the secondary collection agent back to the claimant.</td></tr><tr><td>SecondaryCollectionReturnClaims</td><td><a href="#claim">Claim</a></td><td><a href="#operationid">OperationId</a></td><td>Returns one or more secondary collection claims or opened claims back to the claimant with original identifiers and agreed fees and costs.</td></tr></tbody></table>

## Claim&#x20;

The Claim class is the input for AlterClaim and SecondaryCollectionReturnClaim classes.

The Claim class provides information about a claim. When modifying a claim, the contents of the "Key" class or the "PayorID" field cannot be changed, while other fields can be updated. The "Amount" field cannot be modified if payments have already been made to the claim.

**Fields marked with an asterisk in the table below are required.**&#x20;

<table data-full-width="false"><thead><tr><th>Parameter</th><th>Description</th></tr></thead><tbody><tr><td><a href="#claimkey">Key</a>*</td><td>Unique identification for the claim.</td></tr><tr><td>PayorID*</td><td>Kennitala (National identification number) of payor.</td></tr><tr><td>CancellationDate*</td><td>Cancellation date of claim. Cannot be the same date as the due date or final due date.</td></tr><tr><td>Identifier*</td><td>Identifier (ísl. auðkenni) of the claim template (ísl. kröfusniðmát) for the claimant.</td></tr><tr><td>Amount*</td><td>Claim amount. Not possible to edit this parameter if a payment has been made on the claim.</td></tr><tr><td>Reference*</td><td>Alphanumerical reference number decided by the claimant.</td></tr><tr><td>FinalDueDate*</td><td>Final due date of claim (ísl. eindagi).</td></tr><tr><td>BillNumber</td><td>Optional bill number provided by claimant (ísl. seðilnúmer)</td></tr><tr><td>CustomerNumber</td><td>Customer number of payor. Unique key that identifies the payor to the claimant. Required if a direct debit contract (ísl. beingreiðslusamningur) is to be made for the claim.</td></tr><tr><td><a href="#noticeandpaymentfee">NoticeAndPaymentFee</a></td><td>The notice and payment fee (ísl. tilkynningar og greiðslugjald) for both paperless and printed communication. No fee will be added if this field is empty.</td></tr><tr><td><a href="#daterestrictedcharge">DefaultCharge</a></td><td>Information on the default charge on the claim (ísl. vanskilagjald).</td></tr><tr><td>OtherCosts</td><td>Other costs to be paid by the payor.</td></tr><tr><td>OtherDefaultCosts</td><td>Other default costs such as secondary collection costs (ísl. milliinnheimtugjöld).</td></tr><tr><td><a href="#defaultinterest">DefaultInterest</a></td><td>Information on how the default interest (ísl. dráttarvextir) is calculated. No interest fee will be added if this field is empty.</td></tr><tr><td><a href="#currencyinformation">CurrencyInformation</a></td><td>Information for claims to be paid in a foreign currency.</td></tr><tr><td>PermitOutOfSequencePayment</td><td>Boolean value determining if it is possible to pay the claim if an older unpaid due date exists. If empty, this value will be “false”.</td></tr><tr><td><a href="#discountcharge">Discount</a></td><td>Information on discount. No discount is added if value is empty.</td></tr><tr><td>IsPartialPaymentAllowed</td><td>Boolean value determining if partial payments are allowed. If empty, this value will be “false”.</td></tr><tr><td><a href="#billpresentmentsystem">BillPresentmentSystem</a></td><td>Not implemented.</td></tr><tr><td><a href="#printing">Printing</a></td><td>Information on whether and how the claim is printed and sent out via mail. If the <em>Printing</em> field is edited after the claim has been printed, it will not be printed again.</td></tr></tbody></table>

### NoticeAndPaymentFee&#x20;

The NoticeAndPaymentFee class contains information about the fee for calculating and issuing a payment notice and sending it to the payer.

| Parameter | Description                        |
| --------- | ---------------------------------- |
| Printing  | Fee amount when claim is printed   |
| Paperless | Fee amount when claim is paperless |

### DateRestrictedCharge&#x20;

The DateRestrictedCharge class contains information on the default charge on the claim (ísl. vanskilagjald).

| Parameter     | Description                                                                                                                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| First         | <p>Contains information on the first default charge.</p><p>Of class type <a href="#discountordefaultchargebase"><em>DiscountOrDefaultChargeBase</em></a></p>                                   |
| Second        | <p>Contains information on the second default charge.</p><p>Of class type <a href="#discountordefaultchargebase"><em>DiscountOrDefaultChargeBase</em></a></p>                                  |
| ReferenceDate | Reference date to use to calculate when the first and second default charge should occur. Of Enum type ReferenceDate with DueDate (ísl, gjalddagi) and FinalDueDate (ísl. eindagi) as options. |

### DiscountOrDefaultChargeBase&#x20;

The DiscountOrDefaultChargeBase class contains information on the [first and second default charge](#daterestrictedcharge) or [discount](#discountcharge). Note that the value must comply with regulation 37/2009. The value can be either an amount or a percentage.

| Parameter | Description                                                                  |
| --------- | ---------------------------------------------------------------------------- |
| Days      | Number of days from the reference date when the default charge should occur. |
| Value     | Amount or percentage of the default charge.                                  |

### DefaultInterest&#x20;

The DefaultInterest class contains information on how default interest (ísl. dráttarvextir) is calculated.

| Parameter   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Rule        | <p>Of type <em>DefaultInterestRule</em> (Enum)</p><p>Controls whether default interest should be calculated after a reference date and if so, how it is calculated.</p><ul><li><em>NoDefaultInterest</em> – No default interest will be applied</li><li><em>DefaultInterestAmount</em> – Default interest will be applied</li><li><em>DefaultInterestAmountAndDefaultCharge</em> – Default interest and default change will be applied</li></ul> |
| Percentage4 | Interest rate to be used for default interest. Note that this rate cannot be higher than the highest default interest allowed by the Central Bank of Iceland. If the default interest should be applied and this parameter is empty, the highest default interest allowed by the Central Bank of Iceland will be automatically applied.                                                                                                          |
| SpecialCode | Rule to be applied for the default interest. This value is a string with a code from the[ default interest rate rule table from RB (Dráttarvaxtareglur RB).](#rbs-default-interest-rate-rules-drattarvaxtareglur-rb)                                                                                                                                                                                                                             |

### CurrencyInformation&#x20;

The CurrencyInformation class contains information for claims in foreign currencies.

| Parameter     | Description                                                                                                                                                                                                                                                                                                                                                                         |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ReferenceRate | <p>Reference rate to be used.</p><p>Enum type <em>CurrencyInformationReferenceRate</em> with the following options:</p><ul><li><em>ExchangeRate</em> (ísl. almennt gengi)</li><li><em>NoteRate</em> (ísl. seðlagengi)</li><li><em>CentralBankMidRate</em> (ísl. miðgengi Seðlabanka Íslands)</li><li><em>CentralBankStatutoryRate</em> (ísl. lögboðið gengi, fundargengi)</li></ul> |
| Currency      | Three letter ISO 4217 code for the currency to be used (USD for example)                                                                                                                                                                                                                                                                                                            |
| PaymentRate   | <p>Spot rate (ísl. daggengi) to be used when issuing claim.</p><p>Enum type <em>CurrencyInformationPaymentRate</em> with the following options:</p><ul><li><em>DueDateRate</em> – Rate on due date</li><li><em>PaymentDateRate</em> – Rate on payment date</li></ul>                                                                                                                |

### DiscountCharge&#x20;

The DiscountCharge class contains information about discounts, either as a fixed amount or a percentage.

| Parameter     | Description                                                                                                                                                                                     |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| First         | <p>Information on the first discount charge</p><p>Of class type <a href="#discountordefaultchargebase"><em>DiscountOrDefaultChargeBase</em></a></p>                                             |
| Second        | <p>Information on the second discount charge</p><p>Of class type <a href="#discountordefaultchargebase"><em>DiscountOrDefaultChargeBase</em></a></p>                                            |
| ReferenceDate | Reference date to use to calculate when the first and second discount charge should occur. Of Enum type ReferenceDate with DueDate (ísl, gjalddagi) and FinalDueDate (ísl. eindagi) as options. |
| IsPostRefDate | Boolean value indicating whether the number of days specified are after the reference date (or before it by choosing false).                                                                    |

### BillPresentmentSystem&#x20;

This functionality is not implemented.&#x20;

### Printing&#x20;

The Printing class contains information if the claim is printed and sent out via mail. If this parameter is edited after the claim has been printed, it will not be printed again. If this is empty, the claim will not be printed and sent by mail.

| Parameter                   | Description                                                                                                  |
| --------------------------- | ------------------------------------------------------------------------------------------------------------ |
| [ClaimantAddress](#address) | Address of the claimant. If field is empty, the values from the national registry will be used.              |
| [PayorAddress](#address)    | Address of payor. If field is empty, the values from the national registry will be used.                     |
| ItemRows                    | <p>A breakdown of the amount and fees of the claim.</p><p>Type Collection <a href="#itemrow">ItemRow</a></p> |
| Comments                    | List of comments printed at the bottom of the payment slip.                                                  |

#### Address&#x20;

The Address class contains postal address information.

| Parameter      | Description            |
| -------------- | ---------------------- |
| Name           | Name of recipient      |
| AddressLine1   | First part of address  |
| AddressLine2   | Second part of address |
| PostCodeNumber | Post code              |
| City           | City                   |
| Region         | Region                 |
| Country        | Country                |

#### ItemRow&#x20;

The ItemRow class contains information about the breakdown of the claim.

| Parameter | Description                  |
| --------- | ---------------------------- |
| Text      | Description of fee or amount |
| Amount    | Amount                       |

## ClaimInfo&#x20;

The ClaimInfo class is the output of the methods QueryClaim and QueryClaims. It contains all the information about a single claim.

| Parameter                                       | Description                                                                                                                                                                   |
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Key](#claimkey)                                | Unique identification for the claim.                                                                                                                                          |
| PayorID                                         | Kennitala (National identification number) of payor.                                                                                                                          |
| CancellationDate                                | Cancellation date of claim. Cannot be the same date as the due date or final due date.                                                                                        |
| Identifier                                      | Identifier of the claim template (ísl. kröfusniðmát) for the claimant.                                                                                                        |
| Amount                                          | Claim amount. Not possible to edit this parameter if a payment has been made on the claim.                                                                                    |
| Reference                                       | Alphanumerical reference number decided by the claimant.                                                                                                                      |
| FinalDueDate                                    | Final due date of claim (ísl. eindagi).                                                                                                                                       |
| BillNumber                                      | Optional bill number provided by claimant (ísl. seðilnúmer)                                                                                                                   |
| CustomerNumber                                  | Customer number of payor. Unique key that identifies the payor to the claimant. Required if a direct debit contract (ísl. beingreiðslusamningur) is to be made for the claim. |
| [NoticeAndPaymentFee](#noticeandpaymentfee)     | The notice and payment fee (ísl. tilkynningar og greiðslugjald) for both paperless and printed communication. No fee will be added if this field is empty.                    |
| [DefaultCharge](#daterestrictedcharge)          | Information on the default charge on the claim (ísl. vanskilagjald).                                                                                                          |
| OtherCosts                                      | Other costs to be paid by the payor.                                                                                                                                          |
| OtherDefaultCosts                               | Other default costs such as secondary collection costs (ísl. milliinnheimtugjöld).                                                                                            |
| [DefaultInterest](#defaultinterest)             | Information on how the default interest (ísl. dráttarvextir) is caluclated. No interest fee will be added if this field is empty.                                             |
| [CurrencyInformation](#currencyinformation)     | Information for claims to be paid in a foreign currency.                                                                                                                      |
| PermitOutOfSequencePayment                      | Boolean value determining if it is possible to pay the claim if an older unpaid due date exists. If empty, this value will be “false”.                                        |
| [Discount](#discountcharge)                     | Information on discount. No discount is added if value is empty.                                                                                                              |
| IsPartialPaymentAllowed                         | Boolean value determining if partial payments are allowed. If empty, this value will be “false”.                                                                              |
| [BillPresentmentSystem](#billpresentmentsystem) | Not implemented.                                                                                                                                                              |
| [Printing](#printing)                           | Information on whether and how the claim is printed and sent out via mail.                                                                                                    |
| Status                                          | Status of claim. Can be “Unpaid”, “Paid”, “Cancelled” and “Invalid”.                                                                                                          |
| State                                           | Status of claim collection. Can be “PrimaryCollection”, “SecondaryCollection” and “LegalCollection”.                                                                          |
| CategoryCode                                    | Optional category code (ísl. textalykill) that describes what kind of payment claim this is.                                                                                  |
| TotalAmountDue                                  | Total amount of payment due.                                                                                                                                                  |
| NoticeChargeAmount                              | Notice charge amount due (ísl. tilkynningargjald).                                                                                                                            |
| DefaultChargeAmount                             | Default charge amount due (ísl. vanskilagjald).                                                                                                                               |
| OtherCostsAmount                                | Other costs due.                                                                                                                                                              |
| OtherDefaultCostsAmount                         | Other default costs due (ísl. annar vanskilakostnaður).                                                                                                                       |
| DefaultInterestAmount                           | Default interest amount due (ísl. áfallnir dráttarvextir).                                                                                                                    |
| DiscountAmount                                  | Discount applied if claim is paid in its current state.                                                                                                                       |
| SecondaryCollectionIdentifier                   | Identifier of secondary collection (ísl. milliinnheimtuaðila) if applicable. On the format “MIx” where “x” is a single letter or number.                                      |
| LegalCollectionIdentifier                       | Identifier of legal collection (ísl. löginnheimtuaðila) if applicable. On the format “LIx” where “x” is a single letter or number.                                            |
| IsPartiallyPaid                                 | Boolean value stating whether a partial payment has been made on the claim.                                                                                                   |

## ClaimKey&#x20;

The ClaimKey class is the input for the methods CancelClaim, QueryClaimTransactions, and QueryClaim. ClaimKey is a unique identifier for a claim and does not change, even if the claim itself is modified.

**All parameters of the class are mandatory.**

| Parameter | Description                                                                                                                                   |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Claimant  | Kennitala (national registry ID number) of the claimant.                                                                                      |
| Account   | Claim identifier containing branch ID (first 4 digits), account type (next 2 digits) and the claim number (last 6 digits). E.g. 030126001234. |
| DueDate   | Due date of the claim                                                                                                                         |

## ClaimOperationResult&#x20;

The ClaimOperationResult class is the output of the methods AlterClaim, CancelClaim, GetClaimOperationResult, and SecondaryCollectionReturnClaim. It contains the classes BatchStatus, ClaimResult, and ClaimError.&#x20;

If any claim in a batch encounters an error, the batch status is returned as CompletedWithErrors, while successfully processed claims are created.

| Parameter | Description                                                                                                                                                                                                                               |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ID        | Unique operation identifier of a single claim or unique batch identifier for batch processing. Can be empty if an error occurred.                                                                                                         |
| Status    | <p>Status of a claim batch that was operated on.</p><p>Of enum type <em>BatchStatus</em> with the following options:</p><ul><li>InProgress</li><li>Completed</li><li>CompletedWithErrors</li><li>NotConfirmed (Not implemented)</li></ul> |
| Success   | <p>List of claims in which the operation was successful.</p><p>Of type Collection <a href="#claimresult">ClaimResult</a></p>                                                                                                              |
| Errors    | <p>List of claims in which the operation raised an error.</p><p>Of type Collection <a href="#claimerror">ClaimError</a></p>                                                                                                               |

### ClaimResult&#x20;

Provides information about a collection claim that was successfully processed.

| Parameter        | Description                                                                                                                                                      |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Key](#claimkey) | Unique key for claim.                                                                                                                                            |
| Print            | Boolean value stating whether the claim should be printed at the bank. Claims on a direct debit contract (ísl. beingreiðslusamningur) do not need to be printed. |

### ClaimError&#x20;

Provides information about a collection claim that encountered an error.

| Parameter        | Description                                            |
| ---------------- | ------------------------------------------------------ |
| [Key](#claimkey) | Unique key for claim.                                  |
| [Error](#error)  | The error that was raised when operating on the claim. |

#### Error&#x20;

Includes the error code and message describing what failed during the operation.

| Parameter | Description   |
| --------- | ------------- |
| Code      | Error code    |
| Message   | Error message |

## OperationId&#x20;

The OperationId string is a unique identifier for a claim batch. It is the input for the GetClaimOperationResult method and the output for the methods AlterClaims, CancelClaims, and SecondaryCollectionReturnClaims.&#x20;

## ClaimsQuery&#x20;

The ClaimsQuery class is the input for the QueryClaims function. It includes the ClaimsQueryDataSpan class. If more than one parameters are used (e.g. Payor and Status = Unpaid), the query will return all claims with "Unpaid" status for that payor. If no unpaid claims exist for that payer, the query will return an empty list.

| Parameter  | Description                                                                                                                                                                 |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Claimant   | Kennitala (national registry ID number) of claimant. The kennitala must match the kennitala of the user that is using the service.                                          |
| Identifier | Identifier of the claim template (ísl. kröfusniðmát) for the claimant. Only claims in secondary collection can be looked up, i.e., claims marked with MI.                   |
| Period     | Of type collection [ClaimsQueryDataSpan](#claimsquerydataspan). Period and reference date to query claims from.                                                             |
| Payor      | Kennitala (national registry ID number) of payor                                                                                                                            |
| Status     | <p>Status of claim. Of enum type <em>ClaimStatus</em> with the following options:</p><ul><li>Unpaid</li><li>Paid</li><li>Cancelled</li><li>Invalid</li></ul>                |
| State      | This variable does not apply as claims in secondary collection are always returned, i.e., claims marked with MI. Therefore, the selection here has no effect on the output. |
| RecordFrom | Record entry number. Used to limit the number of claims returned.                                                                                                           |
| RecordTo   | Record entry number. Used to limit the number of claims returned.                                                                                                           |

### ClaimsQueryDataSpan&#x20;

Contains the time span for which information is being queried and specifies which reference date should be used.

| Parameter             | Description                                                                                                                                                                                                                         |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DateFrom              | Query from and including this date                                                                                                                                                                                                  |
| DateTo                | Query to and including this date                                                                                                                                                                                                    |
| DateSpanReferenceDate | <p>Reference date to query. Of enum type <em>DateSpanReferenceDate</em> with the following options:</p><ul><li>DueDate (ísl. gjalddagi)</li><li>FinalDueDate (ísl. eindagi)</li><li>CancellationDate</li><li>CreationDate</li></ul> |

## QueryClaimsResult&#x20;

The QueryClaimsResult class is the output of the QueryClaims and QuerySecondaryCollectionClaims methods. It includes the ClaimInfo class. QueryClaimsResult returns a list of records found and the total number of records in the list.

| Parameter            | Description                                 |
| -------------------- | ------------------------------------------- |
| TotalCount           | Total count of claims returned by the query |
| [Claims](#claiminfo) | List of claims.                             |

## SecondaryCollectionPaymentsQuery&#x20;

The SecondaryCollectionPaymentsQuery class contains a payment query. It is the input for the QuerySecondaryCollectionPayments function. If no payments match the search criteria, the query returns an empty list.

| Parameter           | Description                                                         |
| ------------------- | ------------------------------------------------------------------- |
| Claimant            | Kennitala (national registry ID number) of claimant.                |
| TransactionDateFrom | Query from and including this date                                  |
| TransactionDateTo   | Query to and including this date                                    |
| RecordFrom          | Record entry number. Used to limit the number of payments returned. |
| RecordTo            | Record entry number. Used to limit the number of payments returned. |

## QueryPaymentsResult&#x20;

The QueryPaymentsResult class contains the result of a payment query. It is the output of the QuerySecondaryCollectionPayments function.

| Parameter  | Description                                                    |
| ---------- | -------------------------------------------------------------- |
| TotalCount | Total count of payments returned by the query                  |
| Payments   | List of payments. Of class type Collection [Payment](#payment) |

## ClaimTransactionsResult&#x20;

The class ClaimTransactionsResult contains information on the history of all transactions made on a single claim. It is the output of the QueryClaimTransactions function.

| Parameter    | Description                                                                          |
| ------------ | ------------------------------------------------------------------------------------ |
| Transactions | List of transactions. Of class type Collection [ClaimTransaction](#claimtransaction) |

### ClaimTransaction&#x20;

The class ClaimTransaction contains information on a transaction that has been made on a single claim.The Claim parameter contains the claim’s state after the transaction. If the transaction includes a payment then information on the payment will be returned in the Payment parameter. The ClaimTransaction class will also include information on letters sent.

| Parameter                                | Description                                                     |
| ---------------------------------------- | --------------------------------------------------------------- |
| [Claim](#claim)                          | Information on the claim as stands after the transaction.       |
| [Payment](#payment)                      | Information on a payment if the transaction includes a payment. |
| [TransactionType](#claimtransactiontype) | Type of transaction. Of enum type *ClaimTransactionType.*       |
| TransactionDate                          | Date of transaction                                             |

If TransactionType is "Payment", the payment class in the data structure is populated, Claim reflects its state after the transaction.&#x20;

#### Collection Reminder:&#x20;

If TransactionType is "CollectionReminderSentByBank", both Payment and Claim are empty, and TransactionDate is the date the collection reminder was sent.&#x20;

#### Claim Action:&#x20;

If TransactionType is neither "Payment" nor "CollectionReminderSentByBank", the Payment field is empty, and the Claim reflects its state after the modification.

### Payment&#x20;

The Payment class contains information about an single payment.

| Parameter                         | Description                                                                                                                                      |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Key ](#claimkey)                 | Unique key for claim.                                                                                                                            |
| PayorID                           | Kennitala (national registry ID number) of payor                                                                                                 |
| Amount                            | Claim amount                                                                                                                                     |
| FinalDueDate                      | Final due date (ísl. eindagi)                                                                                                                    |
| Identifier                        | Identifier of the claim template (ísl. kröfusniðmát) for the claimant.                                                                           |
| Reference                         | Alphanumerical reference number decided by the claimant.                                                                                         |
| CategoryCode                      | Category code (ísl. textalykill) that describes what kind of payment claim this is.                                                              |
| RedeemingBank                     | The bank that issued the claim                                                                                                                   |
| TransactionDate                   | Transaction date of payment                                                                                                                      |
| BookingDate                       | Booking date of payment in the RB system                                                                                                         |
| ValueDate                         | The date in which default interest is calculated from.                                                                                           |
| PaymentType                       | <p>Payment type. Of enum type <em>PaymentType</em> which has the following options:</p><ul><li>Complete</li><li>Partial</li><li>Refund</li></ul> |
| AmountDeposited                   | Amount that was deposited into the claimants account                                                                                             |
| TotalAmount                       | Total amount that was paid, including interest and fees.                                                                                         |
| CapitalGainsTax                   | Deducted capital gains tax (ísl. fjármagnstekjuskattur)                                                                                          |
| BillNumber                        | Optional bill number (ísl. seðilnúmer) provided by claimant.                                                                                     |
| CustomerNumber                    | Unique customer number of payor in the claimants accounting system.                                                                              |
| NoticeChargeAmount                | Notice charge amount paid (ísl. tilkynningargjald)                                                                                               |
| DefaultChargeAmount               | Default charge amount paid (ísl. vanskilagjald)                                                                                                  |
| OtherCostsAmount                  | Other costs paid                                                                                                                                 |
| OtherDefaultCostAmount            | Other default cost paid (ísl. annar vanskilakostnaður)                                                                                           |
| DefaultInterestAmount             | Default interest amount paid (ísl. dráttarvextir)                                                                                                |
| DiscountAmount                    | Discounted amount                                                                                                                                |
| [Currency](#currencyexchangerate) | Currency rate information, used for claims in foreign currency                                                                                   |
| BatchNumber                       | Batch number of payment                                                                                                                          |
| SecondaryCollectionIdentifier     | Identifier of secondary collection (ísl. milliinnheimtuaðila), if applicable                                                                     |
| LegalCollectionIdentifier         | Identifier of legal collection (ísl. löginnheimtuaðila), if applicable                                                                           |

### CurrencyExchangeRate&#x20;

The CurrencyExchangeRate class contains exchange rate information, used for claims in foreign currencies.

| Parameter | Description                                                            |
| --------- | ---------------------------------------------------------------------- |
| Currency  | Currency of the claim. Three letter ISO 4217 code (“USD” for example). |
| Rate      | The currency exchange rate                                             |

### ClaimTransactionType&#x20;

The enum type ClaimTransactionType contains codes to classify transaction types, used in the ClaimTransaction class.

| Parameter                        | Description                                                                                                                                                                                |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Creation                         | Creation of claim                                                                                                                                                                          |
| Cancellation                     | <p>Cancelation of claim.</p><p>Can be initiated by claimant or an applied rule.</p>                                                                                                        |
| Update                           | Update to claim                                                                                                                                                                            |
| Payment                          | Payment to claim. Can be both partial and complete payments.                                                                                                                               |
| RefundClaimCreation              | Creation of a refund claim. Claim amount is transferred from claimant to payor. This is only possible if a direct debit contract is in place and the claimant needs to refund their payor. |
| ReAdjustment                     | Readjustment of claim (ísl. bakfærsla).                                                                                                                                                    |
| PaymentReAdjustment              | Readjustment of payment. When a complete payment is readjusted, the payment transaction is sorted as ReAdjustment but the readjustment itself gets this transaction type.                  |
| PartialPaymentReAdjustment       | Readjustment of a partial payment. When a partial payment is readjusted, the payment transaction is sorted as ReAdjustment but the readjustment itself gets this transaction type.         |
| TransferFromOldBank              | Claim is transferred from one bank to another.                                                                                                                                             |
| TransferToNewBank                | Claim is transferred from one bank to another.                                                                                                                                             |
| OptionalClaimCancellationByPayor | Cancellation of an optional claim by payor.                                                                                                                                                |
| RefundPayment                    | Refund payment                                                                                                                                                                             |
| CollectionReminderSentByBank     | Collection reminder (ísl. innheimtuviðvörun) is sent by bank.                                                                                                                              |

## SecondaryCollectionClaimsQuery&#x20;

The SecondaryCollectionClaimsQuery class is the input for the QuerySecondaryCollectionClaims method. It contains the information needed to retrieve claims for a specific claimant that are marked for secondary collection. If filtering by multiple criteria, they must align—for example, searching for paid claims of a specific claimant, and no paid claims exist in secondary collection, the method will return an empty list.

| Parameter          | Description                                                                                                                                                                 |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Claimant           | Kennitala (national registry ID number) of claimant.                                                                                                                        |
| CollectionDateFrom | Query from and including this date                                                                                                                                          |
| CollectionDateTo   | Query to and including this date                                                                                                                                            |
| Status             | <p>Status of claim. Of enum type ClaimStatus with the following options: </p><ul><li>Unpaid </li><li>Paid </li><li>Cancelled</li><li>Invalid</li></ul>                      |
| State              | This variable does not apply as claims in secondary collection are always returned, i.e., claims marked with MI. Therefore, the selection here has no effect on the output. |
| RecordFrom         | Record entry number. Used to limit the number of claims returned.                                                                                                           |
| RecordTo           | Record entry number. Used to limit the number of claims returned.                                                                                                           |

## RB’s default interest rate rules (Dráttarvaxtareglur RB)&#x20;

These codes represent rules decided by RB to be applied for the default interest.&#x20;

The reference time for calculation is always from 21:00 -21:00 for default interest rules 2,4,6,7,8,9,B. The reference time for calculation is always from 24:00 -24:00 for default interest rules \[empty] and 5

<table data-full-width="true"><thead><tr><th></th><th>Calculation of no. of days</th><th>Reference date of calculation</th><th>Description</th></tr></thead><tbody><tr><td>[empty]</td><td>360/360</td><td>Due date</td><td><p>If the final due date and due date are the same day and fall on a non-banking day, the claim may be paid without default interest before 21:00 of the following banking day.</p><p>If default interest is imposed, it is calculated from due date to payment date</p></td></tr><tr><td>1</td><td>-</td><td>-</td><td>No penalty interest is imposed</td></tr><tr><td>2</td><td>360/360</td><td>Final due date</td><td>If the final due date falls on a non-banking day and payment is effected before 21:00 of the previous banking day no default interest is imposed. But after that, default interest is imposed as if the payment was effected on the following banking day. If the final due date falls on a day before non-banking day and the payment is effected after 21:00 default interest is imposed as if the payment was effected on the following banking day</td></tr><tr><td>3</td><td>-</td><td>Final due date</td><td><p>1% penalty interest imposed per day. State claims.</p><p>If default interest is imposed, it is calculated from the final due date to the payment date.</p></td></tr><tr><td>4</td><td>actual/360</td><td>Due date</td><td>Same as default interest rule “2” except that the reference date of calculation is the due date.</td></tr><tr><td>5</td><td>actual/360</td><td>Due date</td><td>Same as default interest rule [empty] except that the number of days used in the calculation is actual/360.</td></tr><tr><td>6</td><td>actual/360</td><td>Final due date</td><td>Same as default interest rule “2” except that the number of days used in the calculation is actual/360</td></tr><tr><td>7</td><td>360/360</td><td>Due date</td><td>Same as default interest rule “4” except that the number of days used in the calculation is 360/360.</td></tr><tr><td>8</td><td>360/360</td><td>Due date</td><td><p>If the final due date and due date are the same day and fall on a non-banking day, the claim may be paid without default interest before 21:00 of the following banking day.</p><p>If the final due date and due date are not the same day and the final due date falls on a non-banking day and payment is effected before 21:00 of the previous banking day, no default interest is imposed. But after that default interest is imposed as if the payment was effected on the following banking day. If the final due date falls on a day before non-banking day and the payment is effected after 21:00, default interest is imposed as if the payment was effected on the following banking day.</p></td></tr><tr><td>9</td><td>actual/360</td><td>Due date</td><td>Same as default interest rule “8” except that the number of days used in the calculation is actual/360.</td></tr><tr><td>B</td><td>360/360</td><td>Due date</td><td><p>If the final due date falls on a non-banking day, the claim may be paid without default interest before 21:00 of the following banking day.</p><p>If default interest is imposed, it is calculated from the due date to the payment date.</p></td></tr><tr><td>C</td><td>-</td><td>Due date</td><td>5% penalty interest imposed per day. State claims TIF. If default interest is imposed, it is calculated from the due date to the payment date.</td></tr></tbody></table>

## IOBSFault&#x20;

The IOBSFault class contains information about errors that occur when calling the service.

| Output            | Description                                    |
| ----------------- | ---------------------------------------------- |
| GeneralErrorCode  | General error code                             |
| GeneralErrorText  | General error text, e.g., Business logic error |
| BanksErrorCode    | Technical error code from service provider     |
| BanksErrorText    | Technical error text from service provider     |
| GeneralSourceCode | Error code from source system                  |
| GeneralSourceText | Error text from source system                  |

| GeneralErrorCode | GeneralErrorText                       | Description                                                   |
| ---------------- | -------------------------------------- | ------------------------------------------------------------- |
| 0001             | Service is unavailable                 | The service is unavailable                                    |
| 1000             | An error occurred                      | General error message, with possible details                  |
| 1100             | Access to the operation is not present | The function is restricted and access is needed.              |
| 1200             | Data could not be validated            | Input data could not be validated according to the XML Schema |
| 1300             | Business logic error                   | General error in business logic                               |
