Credit Line Cuts
Read the historical statement of each scheduled credit-line cut for a company: whether the line was restored, which period it covers, and which movements explain it.
What You Can Do
- Open every cut recorded for a company, including days when the balance was already at the limit
- See whether a cut restored the line or only closed the period
- Open the movement list that explains the cut amount
- Export the company list or a single cut to CSV
- Open the same detail from a restoration credit in Accounting → Credits
Process flow
On cut day the system restores companies whose balance is below the limit. Companies already at the limit still get a period-only statement. Both kinds land on the company cuts list after the details job finishes.
If restoration fails, that company has no new statement that day. If the statement fails after a restore, the line may already be restored; the statement appears when the snapshot finishes.
Getting There
The list is company-scoped. There is no global cuts page.
- Open the company.
- Go to
/client/{companyId}/credit-line-cuts.
You need the client-account-table permission, the same one used to read the company account status.
From a restoration credit: Accounting → Credits, open the secondary actions, and choose the cut detail. That opens /accounting/credits/{creditId}/detail. The link appears only when that credit has a statement. Period-only cuts have no credit, so they only appear on the company list.
Common Tasks
Read the company cut list
- Open
/client/{companyId}/credit-line-cuts. - Each row is one scheduled cut, newest
period_endfirst. - Cut type is Restoration when a credit was created, or Period only when the balance was already covered (
cut_amountis0). - Source is the previous cut, a new credit-line activation, or a calendar estimate for the first tracked period.
- Use Details to open the statement.
Export uses the table CSV control (credit-line-cuts).
Read one statement
The detail shows:
- The period window (start inclusive, end exclusive)
- Cut type and cut amount
- Debits, credits, net movements, and the difference
- Opening balance, balance before the cut, and balance after the cut
- The movement table (shipments, surcharges, credits). Each amount sits in Abonos or Débitos, like a statement. The other column stays empty, and a debit is shown as a positive number.
- Saldo registrado, the balance stored on that movement, and Saldo recalculado, the balance rebuilt from the first movement of this cut. The rebuilt value is green when it matches and red when it does not. Nothing is saved.
| Figure | What it is | How it is calculated |
|---|---|---|
| Cut type | Restoration or period only | Restoration when the cut created a credit. Period only when the balance was already at the limit and cut_amount is 0. |
| Cut amount | Amount invoiced to restore the line | Limit at close minus the balance just before the cut. |
| Debits | Everything that lowered the balance in the period | Absolute sum of negative movements: each guide (total, insurance, extended zone, import, extra charges, custom key, SMS, WhatsApp) and charge surcharges. |
| Credits | Everything that raised the balance in the period | Sum of positive movements, including refunds and a credit-line increase. |
| Net | Credits minus debits | A negative net means the period consumed more than it credited. The line-increase credit is still inside this number. |
| Difference | What the cut amount does not explain | Stored difference is cut amount + net. The screen then subtracts line adjustments. Debits, credits, and net stay unchanged. |
| Status | Partial or completed | Partial when the absolute difference is greater than the tolerance (0.01). Completed when it is within tolerance. |
| Opening balance | Balance at the close of the previous cut | The previous restoration credit's balance. |
| Balance before the cut | Available balance the instant before this credit | Balance after the cut minus the cut amount. |
| Balance after the cut | Balance once the line is restored | The restoration credit's balance, normally the limit. — on a period-only row, which has no credit. |
A line adjustment is a surcharge that raises or lowers the limit during the period: a history event MD or CR approved inside the window, or a surcharge whose category is Credit Line. The same surcharge counts once. On this screen the difference is the stored difference minus that signed sum. A $1,000,000 increase that left a $220.30 gap shows a difference of $220.30, and the alert says the adjustment was subtracted. The movement stays in the table, labeled as a line adjustment.
A green difference on a restoration cut means the remaining difference is within tolerance. A period-only difference is always 0 and is not compared to a credit.
Check why a period starts at a credit-line activation
A cancelled line that later receives a new approved CR starts a new era. The period starts at that approval time and does not include movements from the old line. Same-era cuts still chain from the previous period_end.
Frequently Asked Questions
The list is empty. Did the cron fail?
The list only loads for a company URL. /credit-line-cuts without a company id is not a valid page. Also check that manual.sql was applied and that the details job completed.
Why is there a cut with amount 0?
The company had an active line (credit_line_limit > 0) and the balance was already at or above the limit. The system still closed the period so the next cut starts there.
Why is balance after the cut empty?
Period-only cuts have no restoration credit. The after-cut figure is read from that credit.
Why is the difference much smaller than the credits?
A credit-line increase inside the period is a credit, so it stays in Credits and in the net. The difference subtracts that adjustment. The cut amount is still the amount invoiced. Partial means the remainder, after that subtraction, is outside tolerance.
A company was cancelled and later approved again. Why doesn't the period start at the old cut?
That is a new era. The latest approved CR after the last cut becomes the period start. Movements from the cancelled line stay in the old statements.
Can a failed statement block restoration for other companies?
No. A failed statement for one company does not stop restoration for others.
Related
- Technical documentation: Credit Line Cuts — Overview
- Operations: Credit Line Cron — how the financial cut is triggered and monitored
