We are using cookies in our website in order to offer better service to you. You allow us to use cookies by continuing to use our internet website. You can reach the detailed information on cookies from our Privacy Policy and Cookies Policy.
X
Home > Api Products > Invoice Finance Management

Invoice Finance Management

Description

​This API is used to invoince financing management.


Discount Demand

This API is used to discount demand.

How it Works

Sample Request

POST /api/isbank/invoice-financing-management/v1/discount/demand/discounts
Body:
{
    "corporate_firm_code": "0030",
  "subscriber_code": "2418",
  "abf_id": "test-dbs-20220325006",
  "discount_demands": [
    {
      "discount_amount": 9000.00,
      "discount_term_date": "2022-05-09",
      "related_invoice": {
        "invoice_date": "2022-02-10",
        "invoice_term_date": "2022-05-08",
        "invoice_amount": 10000.00,
        "max_discount_amount": 10000.00,
        "serial_no": "D01",
        "invoice_no": "10000000002",
        "currency_code": "TRY",
        "description": "DBS test",
        "invoice_type": "E",
        "hash": "adferfsfeeeeeeeeeeeeeeeeeeeeesce",
        "buyer_vkn": 1123569874,
        "buyer_title": "TEST BUYER TITLE"
      }
    }
  ]
}
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json



Sample Response
{
    "data": {
"status": "OK"  
}
}

Get Discounts By ABF

This api lists the applications made by ABF id.

How it Work​s

Sample Request

GET /api/isbank/invoice-financing-management/v1/discount/demand/discounts?abf_id=921_202201061135529397,921_202201241457242080

Headers:

X-IBM-client-id: {YOUR_CLEINT_ID} 
X-IBM-client-secret: {YOUR_CLEINT_SECRET} 
Authorization: Bearer {access_token}
Content-Type: application/json


Sample Response


{"data": [
    {
      "abf_id": "921_202201061135529397",
      "serial_no": "AKS",
      "invoice_no": "2021000276602",
      "status_code": "WAITING_APPROVAL"
    },
    {
      "abf_id": "921_202201061135529397",
      "serial_no": "AKS",
      "invoice_no": "2021000276603",
      "status_code": "WAITING_APPROVAL"
    },
    {
      "abf_id": "921_202201241457242080",
      "serial_no": "ADA",
      "invoice_no": "2021000385422",
      "status_code": "WAITING_APPROVAL"
    },
    {
      "abf_id": "921_202201241457242080",
      "serial_no": "ADA",
      "invoice_no": "2021000385423",
      "status_code": "WAITING_APPROVAL"
    },
    {
      "abf_id": "921_202201241457242080",
      "serial_no": "ADA",
      "invoice_no": "2021000385424",
      "status_code": "WAITING_APPROVAL"
    }
  ]
}