# 3. TEKNİK ÜRÜN AKIŞLARI

### 3.1. Akışlar

Alacak Finansmanı ürünü TFS ürününün faturasız versiyonudur. Bu kapsamda fatura ve fatura ile ilişkili tablolar dışında çoğu tablolar ve fonksiyonlar ortak kullanılarak geliştirilmiştir. Bu nedenle bu döküman TFS ve AF arasındaki farklılıklara odaklanarak oluşturulmuştur. Ortak amaç için kullanılan allowance, allowace\_financer vb. ayrıntılar yer almamaktadır.

Aşağıdaki diyagram en basit haliyle süreci ele almaktadır.

<figure><img src="/files/0TnIK4s4E3JAtWBeRamU" alt=""><figcaption></figcaption></figure>

**Tablolar**

**\[FIN\_ORDER]**

<table><thead><tr><th width="213.7037353515625">Kolon Adı</th><th width="126.0369873046875">Data Tipi</th><th width="407.51861572265625">Description</th></tr></thead><tbody><tr><td>OrderNo</td><td>string</td><td>Alıcı + Tedarikçi özelinde unique. Gönderilmemesi durumunda sistem tarafından otomatik olarak bir numara verilmektedir.</td></tr><tr><td>PayableAmount</td><td>decimal</td><td>Alacak Finansmanı Tutarı.</td></tr><tr><td>ApprovedPayableAmount</td><td>decimal?</td><td>Alıcı onaylı tutar. <br>Boş gönderildiği sürece payableAmount assign edilir. </td></tr><tr><td>SenderCompanyId</td><td>long</td><td>Tedarikçi figo id.</td></tr><tr><td>SenderIdentifier</td><td>string</td><td>Tedarikçi VKN</td></tr><tr><td>ReceiverCompanyId</td><td>long?</td><td>Alıcı figo id.</td></tr><tr><td>ReceiverIdentifier</td><td>string</td><td>Alıcı VKN</td></tr><tr><td>PaymentDueDate</td><td>DateTime?</td><td>Alacak vade tarihi. </td></tr><tr><td>IssueDate</td><td>DateTime?</td><td>Alacağın tedarikçi ve alıcı arasında oluştuğu tarih. Figo portala yüklenme tarihi ile ilgili değildir. Faturanın kesim tarihi gibi düşünüleilir.</td></tr><tr><td>CurrencyId</td><td>long</td><td>Para birimi.</td></tr><tr><td>ProductType</td><td>ProductTypes?</td><td>ReceivablesFinancing</td></tr></tbody></table>

**\[FIN\_ALLOWANCE\_ORDER]**

<table><thead><tr><th width="257">Kolon Adı</th><th width="193.962890625">Data Tipi</th></tr></thead><tbody><tr><td>OrderId</td><td>long</td></tr><tr><td>AllowanceId</td><td>long</td></tr><tr><td>PayableAmount</td><td>decimal</td></tr><tr><td>ApprovedPayableAmount</td><td>decimal</td></tr><tr><td>PaymentDueDate</td><td>DateTime?</td></tr><tr><td>ApprovedPaymentDueDate</td><td>DateTime?</td></tr><tr><td>Status</td><td>AllowanceStatus</td></tr></tbody></table>

\[FIN\_COMPANY\_DEFINITION]: IS\_SENDER\_ORDER\_ADD  kolonu yeni kural olarak eklendi.

#### Tedarikçi Finansmanı ile Genel Farklılıklar

Alacak hem tedarikçi hemde alıcı tarafından yüklenebilir. Bu, alıcı tarafından belirlenmiş kurala bağlıdır. FIN\_COMPANY\_DEFINITION tablosunda IS\_SENDER\_ORDER\_ADD=1 ise tedarikçi alacak yükleyebilir.

Kısmi kredilendirme yoktur. Yani 10.000 tl'lik bir alacak yüklendiyse 10.000 tl'lik kredi talebinde bulunabilir.&#x20;

FIN\_ORDER tablosunda aktif/pasif kolonu mevcutta var fakat işlevi yoktur. Bir alacağın durumu bir iskontoya dahil olup olmamasından sorgulanır ve buna göre kullanılabilir.

Dolayısıyla faturadaki gibi remaining amount bilgisi bulunmaz.&#x20;

Eğer finansör ekranında Alacak Finansmanı ürünü için oran bilgisi girildiyse hesaplama TFS'teki gibi otomatik olarak hesaplanır.

#### Banka servislerindeki Farklılıklar:

Alacak Finansmanı için ABF yoktur.

\[POST] <https://apiqa.figopara.com/companies/{{companyId}}/interests> servisine ilgili InterestRateType göndermeli.

\[GET] <https://apiqa.figopara.com/allowances/66511/orders> kredi talebine ait alacaları sorgulama&#x20;

### 3.2.  Takip Edilen Eventler ve Ön Yüz Yerleri

<https://miro.com/app/board/uXjVLtdVcdA=/>

| Events                                                                    | Trigger                                                                                                                                                          |
| ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p> </p><p>Receivables Financing Home Page Viewed</p>                     | User views the home page of the receivables financing module                                                                                                     |
| Receivables Added                                                         | User adds receivables successfully                                                                                                                               |
| <p> </p><p>Receivables Financing Request Started</p><p> </p>              | The completed 1. step of the process. User requests a discount for selected invoices                                                                             |
| <p> </p><p>Receivables Financing Financial Institution Chosen</p><p> </p> | The completed 2. step of the process. User chooses the financial institution(s) they want a discount request from                                                |
| <p> </p><p>Receivables Financing Discount Request Submitted</p>           | User submits successfully receivables financing discount request                                                                                                 |
| <p> </p><p>Receivables Financing Request Detail Viewed</p>                | User views the requested receivables financing detail page.                                                                                                      |
| <p> </p><p>Receivables Financing Fee Payment Completed</p>                | User completes the payment of the receivables financing fee.                                                                                                     |
| <p> </p><p>Receivables Financing Offer Accepted</p><p> </p>               | User accepts one of financial institution's discount offer.                                                                                                      |
| Receivables Financing Payment Received                                    | User receives the discounted receivables financing amount.                                                                                                       |
| <p> </p><p>Receivables Financing Fee Refunded</p><p> </p>                 | User receives refund for the receivables financing fee (if they do not withdraw the discounted amount until 12.00 a.m.)                                          |
| Receivables Financing Invoices Downloaded                                 | User downloads receivables financing invoices                                                                                                                    |
| <p> </p><p>Buyer Receivables Home Page Viewed</p><p> </p>                 | [User, a buyer, views the homepage of buyer invoices https://portalqa.figopara.com/buyer/receivables/list](https://portalqa.figopara.com/buyer/receivables/list) |
| <p> </p><p>Buyer Receivables Addition Started</p><p> </p>                 | [User, a buyer, loads https://portalqa.figopara.com/buyer/receivables/add page](https://portalqa.figopara.com/buyer/receivables/add)                             |
| <p> Buyer Receivables Addition Completed</p><p> </p>                      | User, a buyer, succesfully completes adding receivables.                                                                                                         |
| <p> Sample Excel Template Downloaded</p><p> </p>                          | User, a buyer, downloads the sample excel template for receivables addition process.                                                                             |
| <p> Buyer Receivables Detail Viewed</p><p> </p>                           | User, a buyer, views the detail page of a buyer receivable.                                                                                                      |
| Buyer Receivables Edited                                                  | User, a buyer, edits a receivable.                                                                                                                               |
| Buyer Receivables Deleted                                                 | User, a buyer, deletes a receivable                                                                                                                              |
| Buyer Receivables Downloaded                                              | User, a buyer, downloads invoice financing invoices                                                                                                              |

### 3.4. Kullanılan Endpointler ve API Entegrasyonları

{% embed url="<https://documenter.getpostman.com/view/27417291/2sAXqndiuz#a3203947-bf3e-491c-b32a-7c75ac1acf1f>" %}

<table><thead><tr><th width="139">Oturum İşlemleri</th><th width="156.92578125"></th><th width="302.5555419921875"></th></tr></thead><tbody><tr><td>Post</td><td>Oturum Açma </td><td>https://apiqa.figopara.com/sessions</td></tr></tbody></table>

### **3.4.1. Finansörler**

<table data-header-hidden><thead><tr><th width="80.4814453125">Get</th><th width="268.777587890625">Alacak Finansmanı Talepleri Sorgulama</th><th width="395.8890380859375">https://apiqa.figopara.com/allowances/financer?FinancerCompanyId=6781&#x26;Status=800&#x26;Status=810&#x26;Status=830&#x26;Status=840&#x26;Status=860&#x26;Status=870&#x26;Status=880&#x26;Status=890&#x26;Status=900&#x26;Status=910&#x26;Kind=5&#x26;CompanyNameOrAllowanceNoFilter=&#x26;NotifyBuyer=1&#x26;Page=1&#x26;PageSize=100&#x26;SortType=desc&#x26;Sort=Id</th></tr></thead><tbody><tr><td>Get</td><td>Kredi Talebi Detay</td><td>https://apiqa.figopara.com/allowances/66519</td></tr><tr><td>Get</td><td>Alacak Detayı Getirme</td><td>https://apiqa.figopara.com/allowances/66519/orders</td></tr><tr><td>Post</td><td>Ödeme Bilgilerini Kaydet</td><td>https://apiqa.figopara.com/allowances/66520/payments</td></tr></tbody></table>

### **3.4.2. Alıcılar**

<table data-header-hidden><thead><tr><th width="71.59259033203125">Post</th><th width="248.7777099609375">Satıcı Kural Ekleme</th><th width="427.7406005859375">https://apiqa.figopara.com/companies/133488/definitions</th></tr></thead><tbody><tr><td>Put</td><td>Satıcı Kural Detayı Güncelleme</td><td>https://apiqa.figopara.com/companies/133488/definitions/110704/details</td></tr><tr><td>Put</td><td>Banka Ekleme &#x26; Güncelleme</td><td>https://apiqa.figopara.com/companies/133530/definitions/110707/details</td></tr><tr><td>Post</td><td>Satıcı Kuralına Valör Ekleme</td><td>https://apiqa.figopara.com/companies/133488/definitions/110704/valuedate</td></tr><tr><td>Put</td><td>Satıcı Valör Güncelleme</td><td>https://apiqa.figopara.com/companies/133530/definitions/110707/valuedate/2637</td></tr><tr><td>Del</td><td>Satıcı Kuralı Valör Silme</td><td>https://apiqa.figopara.com/companies/133488/definitions/110704/valuedate/2636</td></tr><tr><td>Del</td><td>Satıcı Kural Silme</td><td>https://apiqa.figopara.com/companies/133488/definitions/110704</td></tr><tr><td>Get</td><td>Alıcısı Olduğum Alacaklar Listeleme</td><td>https://apiqa.figopara.com/orders?OrderNo=&#x26;SenderName=&#x26;ReceiverName=&#x26;StartPaymentDueDate=2024-09-12&#x26;EndPaymentDueDate=&#x26;ProductType=7&#x26;CompanyType=1&#x26;Page=1&#x26;PageSize=100&#x26;SortType=asc&#x26;Sort=PaymentDueDate</td></tr><tr><td>Get</td><td>Alıcısı Olduğum Talepler</td><td>https://apiqa.figopara.com/allowances/receiver?ReceiverCompanyId=133530&#x26;Page=1&#x26;PageSize=100&#x26;SortType=desc&#x26;Sort=Id</td></tr><tr><td>Get</td><td>Talep Detay</td><td>https://apiqa.figopara.com/allowances/65905</td></tr><tr><td>Get</td><td>Talep Finansör Bilgileri</td><td>https://apiqa.figopara.com/allowances/65905/financers</td></tr><tr><td>Get</td><td>Talebe Ait Alacaklar Listesi</td><td>https://apiqa.figopara.com/allowances/65908/orders</td></tr><tr><td>Post</td><td>Alacak ile Anında Kredi Talebi Oluşturma</td><td>{{url}}/orders/allowance</td></tr><tr><td>Put</td><td>Alıcı İlk Onay</td><td>https://apiqa.figopara.com/allowances/65908/approve</td></tr><tr><td>Put</td><td>Alıcı İlk Onay Red</td><td>https://apiqa.figopara.com/allowances/65909/deny</td></tr><tr><td>Put</td><td>Alıcı Son Onay</td><td>https://apiqa.figopara.com/allowances/70698/approve</td></tr><tr><td>Put</td><td>Alıcı Son Onay Red</td><td>https://apiqa.figopara.com/allowances/65910/deny</td></tr></tbody></table>

### 3.4.3. Tedarikçiler

<table data-header-hidden><thead><tr><th width="75.29632568359375">Post</th><th width="200.62957763671875">Alacak Oluşturma</th><th width="472.1851806640625">{{url}}/orders</th></tr></thead><tbody><tr><td>Put</td><td>Alacak Güncelleme</td><td>https://apiqa.figopara.com/orders/592</td></tr><tr><td>Put</td><td>Alacak Silme</td><td>https://apiqa.figopara.com/orders/591/cancel</td></tr><tr><td>Get</td><td>Alacak Listeleme</td><td>https://apiqa.figopara.com/orders?OrderNo=&#x26;IsLoanAvailable=true&#x26;SenderName=&#x26;ReceiverName=&#x26;StartPaymentDueDate=2024-09-12&#x26;EndPaymentDueDate=&#x26;ProductType=7&#x26;CompanyType=2&#x26;Page=1&#x26;PageSize=100&#x26;SortType=asc&#x26;Sort=PaymentDueDate</td></tr><tr><td>Get</td><td>Alacak Detay</td><td>https://apiqa.figopara.com/orders/592</td></tr><tr><td>Post</td><td>Kredi Talebi Oluşturma</td><td>{{url}}/allowances/receivablesFinancing</td></tr><tr><td>Get</td><td>Kredi Talebi Listeleme</td><td>https://apiqa.figopara.com/allowances/sender?SenderCompanyId=133531&#x26;CompanyNameOrAllowanceNoFilter=&#x26;Page=1&#x26;PageSize=100&#x26;SortType=desc&#x26;Sort=Id</td></tr><tr><td>Put</td><td>Kredi Talebi Kabul Etme</td><td>https://apiqa.figopara.com/allowances/65908/financers/73946/accept</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.figopara.com/int-docs/urun-dokumantasyonu/alacak-finansmani/3.-teknik-urun-akislari.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
