Bond-Eurobond Calculator

This API calculates bond-eurobond sale or pruchase transaction. At least one of amount or item is required.

API Information

URL

/bondBillEurobondCalculator

Method

POST

Version

1.0

Scope

public

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

ProductName

String Product name
TahvilBono, Eurobond
Required

TransactionType

String Transaction type
Purchase: Customer purchase transactio,
Sale: Customer sale transaction
Required

ISIN

String International Securities Identification Number Required

Item

Number Nominal quantity Optional

Amount

Decimal Amount Optional


Output Information


Info

Name Format Description

Item

Number Nominal quantity

Amount

Decimal Amount

GrossYield

Decimal Gross yield

CouponUnitPrice

Decimal Coupon unit price

CleanPrice

Decimal Clean price

DirtyPrice

Decimal Dirty price

WithholdingRate

Decimal Withholding rate

WithholdingAmount

Decimal Withholding amount

NetAmount

Decimal Net amount at maturity

CouponInfo

List< CouponInfo > Coupon information


CouponInfo

Name Format Description

CouponExpiryDate

yyyy-MM-ddTHH24:mm:ss Coupon expiry date

CashFlow

Decimal Cash flow

ProfitAmount

Decimal Profit amount

WithholdingAmount

Decimal Withholding amount

NetAmount

Decimal Net amount

AccruedInterest

Decimal Accured interest


Message Codes

Message Code Description

ACBH000078

Transaction type cannot be empty.

ACBH000079

ISIN cannot be empty.

ACBH000080

Transaction type is invalid.

ACBH000081

ISIN is invalid.

ACBH000082

At least one of the amount or pieces must be entered.

ACBH000086

Product name cannot be empty.

ACBH000087

Product name is invalid.

Example

Request:

{
	"ProductName": "TahvilBono",
	"TransactionType": "Alis",
	"ISIN": "TRFVKFB92021",
	"Item": 0,
	"Amount": 250
}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "2ce2d775-a26c-4f1c-aa8b-d6ca7804d976"
    },
    "Data": {
        "Info": {
            "WithholdingRate": "15",
            "WithholdingAmount": "0.89",
            "Item": "255.0",
            "GrossYield": "5.9",
            "DirtyPrice": "96.003",
            "Amount": "249.1",
            "NetAmount": "254.11",
            "CleanPrice": "96.003",
            "CouponUnitPrice": ""
        }
    }
}