---
title: Create a Line-of-Credit (LOC)/ Draws
slug: apis/lending/deprecated-apis/create-a-line-of-credit-loc-draws
description: Open or update a line of credit defining terms, limits, and repayment.
docTags: 
createdAt: 2024-08-14T10:59:19.788Z
---

To operate LOC loans or loans with Multiple Draws, or to enable you to buy **draws**, you need to implement the current process:

::::WorkflowBlock
:::WorkflowBlockItem
**Unique Loan number**

- When calling Arix for the first time (LOC opening or first **draw**):
  The field **Loannumber** = `<loan-number>`
- On subsequent loans:
  The field **Loannumber** = `<loanNumber>`-yyyymmdd (add mmss if needed to make more than one draw per day).
:::

:::WorkflowBlockItem
**Oversight**

We perform oversight checks when the LOC is opened or on the first draw.
When calling Arix for the first time, the JSON in `field5` should contain the following:

```json
{
   "RevolvingLineFirstAppearance":"yes",
   "RevolvingLineGUID":null,
   "RevolvingLineBalanceAsOfWhenCallingCRB":null

```

The field Rails should be **\[]**
For subsequent draws, the JSON in `field5` should contain the following:

```json
{
   "RevolvingLineFirstAppearance":"no",
   "RevolvingLineGUID":"GUID from Origination/First Appearance,
   "RevolvingLineBalanceAsOfWhenCallingCRB":"$123"
}
```

Field Rails should contain the payment rails to be funded.
:::

:::WorkflowBlockItem
**NetFunding rule**

| **Loan Tape:**<br />- NetFunding<br />- OriginationsFee<br />- Field5MerchantFee<br />**Loan Agreement:**<br />- AmountFinanced | 1. NetFunding=AmountFinanced<br />2. NetFunding=Loan Amount-Origination Fee-Field5.MerchantFee<br />**Or**<br />     3. For draws, NetFunding= sum of the rails being funded |
| ------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
:::

:::WorkflowBlockItem
**Draw rule**

| **Loan Tape**<br />- `Field5RevolvingLineFirstAppearance`<br />- `Field5RevolvingLineGUID` | 1. If `RevolvingLineFirstAppearance` = ‘**No**’, you can skip all Arix rules if `RevolvingLineGUID` is a valid GUID and it's status is not in (1,101,102,100)<br />2. If `RevolvingLineGUID` = ‘First Appearance’, pass this rule<br />3. Room for additional rules inline with what any checks that you make during draws |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
:::

:::WorkflowBlockItem
The information provided on subsequent draws has to be current. For example:

- If there is name change, CR expects the draw to have the updated name.
- If there was a material change, such as a credit report was pulled (say on annual cadence), you must provide the updated credit report and treat the loan as a first appearance so that we can check all the details.
:::
::::

