Books where every amount still has its document
Invoices, bank lines and sales become balanced entries, each linked to its document.
- Invoice AC-0094412 arrives from e‑Factura.
- The number, the supplier and the amounts are read off the page.
- Net goes to 381, VAT to 4426 and the total to 401.
- The entry fills in: debit RON 4,995.73, credit RON 4,995.73.
- Debit and credit are the same amount, so the entry balances.
- The invoice is coded, so Post is offered: only a balanced entry can be posted.
- Posting the coded invoice writes JE-2026-10-0008. The invoice keeps its link to the entry.
- Suppliers, account 401, stood at RON 312,502.15 credit.
- With this invoice it closes October at RON 317,497.88 credit.
- The next invoice starts the same way.
Accounting
Documents
| Actions | ||||||||
|---|---|---|---|---|---|---|---|---|
| FCT-2026-00418Hanul Ozana SRL RO39172541 | 19 Nov 2026 | e‑Factura | 2,818.41 | 350.01 | 3,168.42 | 707 | ||
| AM-2026-10Depreciation | 31 Oct 2026 | Upload | 13,350.00 | 0.00 | 13,350.00 | 6811 | ||
| EX-1031-01Bank line | 31 Oct 2026 | Bank | 45.00 | 0.00 | 45.00 | 627 | ||
| Z-0441Day of sales | 30 Oct 2026 | POS | 32,500.50 | 4,621.24 | 37,121.74 | 707 | ||
| MV-26-1231Moara Vadului SRL RO51603473 | 29 Oct 2026 | e‑Factura | 2,250.00 | 247.50 | 2,497.51Differs by 0.01 | 371 | ||
| TL-2026-0777Transbistrița Logistic SRL RO62049137 | 24 Oct 2026 | Upload | 1,840.00 | 386.40 | 2,226.40 | 624 | ||
| EX-1023-02Bank line | 23 Oct 2026 | Bank | 41,380.00 | 0.00 | 41,380.00 | 4423 | ||
| BT-558201Băuturi Trotuș SRL RO51603783 | 22 Oct 2026 | e‑Factura | 32,864.00 | 6,901.44 | 39,765.44 | 371 | ||
| AC-0094412Ambalaje Carpatin SRL RO51603619 | 21 Oct 2026 | e‑Factura | 4,128.70 | 867.03 | 4,995.73 | 381 | ||
| EX-1020-04Bank line | 20 Oct 2026 | Bank | 20,420.00 | 0.00 | 20,420.00 | 401 | ||
| Z-0415Day of sales | 20 Oct 2026 | POS | 28,014.10 | 3,894.51 | 31,908.61 | 707 | ||
| Z-0413Day of sales | 18 Oct 2026 | POS | 38,998.50 | 5,394.56 | 44,393.06 | 707 | ||
| Z-0412Day of sales | 17 Oct 2026 | POS | 33,966.20 | 4,722.52 | 38,688.72 | 707 | ||
| BO-3320Brânzeturi Obcina SRL RO51603546 | 16 Oct 2026 | e‑Factura | 9,645.00 | 1,060.95 | 10,705.95 | 371 | ||
| MV-26-1187Moara Vadului SRL RO51603473 | 14 Oct 2026 | e‑Factura | 18,420.00 | 2,026.20 | 20,446.20 | 371 | ||
| BO-3188Brânzeturi Obcina SRL RO51603546 | 29 Sept 2026 | e‑Factura | 7,310.00 | 804.10 | 8,114.10 | 371 |
Press Enter to open the record.
Ledger
Month end
Entry AC-0094412
- 381
- Debit 4,128.70
- 4426
- Debit 867.03
- 401
- Credit 4,995.73
- Difference
- 0.00
Period
Documents
| Number | Partner | Total |
|---|---|---|
| BT-558201 | Băuturi Trotuș SRL | 39,765.44 |
| AC-0094412 | Ambalaje Carpatin SRL | 4,995.73 |
| EX-1020-04 | Bank line | 20,420.00 |
From any total back to its document
-
Pick a total on the trial balance
The closing balance of an account is a sum of lines. Take Suppliers, account 401, with its opening balance, its debit and credit turnover and its closing balance.
Show it: Pick a total on the trial balance -
Open the lines behind it
The account opens as a ledger: every line has its date, its entry, its document, its debit or credit and the running balance after it.
Show it: Open the lines behind it -
Follow a line to its document
The document number of a line opens the invoice, the day of sales or the bank line it came from. The document shows its partner and the entry it was posted as.
Show it: Follow a line to its document -
Read what happened to it
The history of the document says who approved it and when it was posted, with the time of every step. A reversal appears beside it as a second entry.
Show it: Read what happened to it
A month closes when nothing blocks it
Bank, VAT, accruals, depreciation and stock each have an owner and a count of what still blocks them. The VAT check compares the ledger with the month’s documents. You can lock the period when every count is zero.
October 2026
Blocking items 10
| Item | Owner | Status |
|---|---|---|
| Bank reconciled | Ioana Marin | |
| VAT reconciled with documents | Ioana Marin | |
| Accruals | Ioana Marin | |
| Depreciation | Ioana Marin | |
| Stock valued | Mihai Stan |
| Collected | Deductible | |
|---|---|---|
| In the ledger | 14,011.59 | 3,087.15 |
| From documents | 18,632.83 | 11,489.52 |
No pre-filled return received yet.
Where entries come from
- e‑Factura Gateway, product
- Accounting, product
- Tax Filing, product
Supplier invoice posted
e‑Factura Gateway, product
Receive the invoice
A supplier invoice arrives from the tax authority through e‑Factura Gateway and becomes a document in Accounting.
Romania: ANAF
- Document
- AC-0094412
- Partner
- Ambalaje Carpatin SRL
- Total
- RON 4,995.73
Accounting, product
Propose the account
The mapping policy picks an account for the net amount from those the kind of document allows, and the entry is proposed from the document.
- Document
- AC-0094412
- Partner
- Ambalaje Carpatin SRL
- Total
- RON 4,995.73
- Entry
- Proposed
Accounting, product
Check that it balances
Debit RON 4,995.73 and credit RON 4,995.73 are the same amount, so the entry can be posted.
- Document
- AC-0094412
- Partner
- Ambalaje Carpatin SRL
- Total
- RON 4,995.73
- Entry
- Debit = credit
Accounting, product
Post the entry
The entry is posted into October and the document points to it. From now on the entry is only reversed, never edited.
- Document
- AC-0094412
- Partner
- Ambalaje Carpatin SRL
- Total
- RON 4,995.73
- Entry
- JE-2026-10-0008
Tax Filing, product
Count the VAT
The deductible VAT of October rises from RON 3,087.15 to RON 3,954.18; the month-end checklist compares the ledger VAT with the VAT on the month’s documents.
- Document
- AC-0094412
- Partner
- Ambalaje Carpatin SRL
- Total
- RON 4,995.73
- Entry
- JE-2026-10-0008
Period locked, posting refused
e‑Factura Gateway, product
Receive the invoice
An invoice dated 29 September arrives on 10 October, after September was locked.
Romania: ANAF
- Document
- BO-3188
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 8,114.10
- Entry
- —
Accounting, product
Post into September
The request is dated in September. A locked month takes nothing more, so the posting is refused and the document stays as it was.
- Document
- BO-3188
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 8,114.10
- Entry
- —
Accounting, product
Post with an open date
The same document is submitted with the effective date 23 November, in an open month. The entry is posted there and September is untouched.
- Document
- BO-3188
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 8,114.10
- Entry
- JE-2026-11-0001
Reversal
Accounting, product
Find the entry
JE-2026-10-0002 was posted for the wrong supplier. A posted entry is never edited, so it stays as it is.
- Document
- BO-3320
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 10,705.95
- Entry
- JE-2026-10-0002
Accounting, product
Reverse it with a reason
A reversal dated 23 Nov 2026 swaps debit and credit and carries the reason. It is a second entry, linked to the first.
- Document
- BO-3320
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 10,705.95
- Entry
- JE-2026-11-0001
Accounting, product
Read the document again
The document goes back to review, with the reversal in its history, and can be coded and posted anew.
- Document
- BO-3320
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 10,705.95
- Entry
- —
Tax Filing, product
Correct the VAT
The reversal takes RON 1,060.95 of deductible VAT out of the ledger of November. October is left as it was.
- Document
- BO-3320
- Partner
- Brânzeturi Obcina SRL
- Total
- RON 10,705.95
- Entry
- JE-2026-11-0001
What each step writes
| Step | Record created or changed |
|---|---|
| 1 Receive the invoice | Document AC-0094412, revision 1 |
| 2 Propose the account | The coding, in the history of the document |
| 3 Check that it balances | Nothing: a posting is refused when the two differ |
| 4 Post the entry | Entry JE-2026-10-0008, posting request PR-D-408-2 |
| 5 Count the VAT | The VAT of October in the ledger |
| Step | Record created or changed |
|---|---|
| 1 Receive the invoice | Document BO-3188 |
| 2 Post into September | Nothing. The period is locked. Nothing is posted into it. |
| 3 Post with an open date | Entry JE-2026-11-0001, dated 23 Nov 2026 |
| Step | Record created or changed |
|---|---|
| 1 Find the entry | Nothing: the entry is not edited |
| 2 Reverse it with a reason | Entry JE-2026-11-0001, reversal of JE-2026-10-0002 |
| 3 Read the document again | The document, back to review |
| 4 Correct the VAT | The VAT of November in the ledger |
Three rules the books keep
-
Every entry balances
Debit and credit are the same amount, or the posting is refused and nothing is written.
-
A reversal adds and never edits
A posted entry stays as it was. The correction is a second entry linked to the first, with its reason, and the document goes back to review.
-
A locked period refuses a posting
Once a month is locked, nothing more is posted into it, whatever the date of the document says.
Post an entry from your code
curl -X POST "$RDC_BASE_URL/accounting/v1/posting-requests" \
-H "Authorization: Bearer $RDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"operationId": "32a34b30-2203-436d-897c-707b3c3770bd",
"postingRequestId": "b7007a22-a9ea-4fcb-b535-e0570cdd1f2e",
"customerOrgId": "bdbc5b26-3f8a-4c1a-8c21-6c396293da32",
"legalCompanyId": "8373a2b0-3239-4aee-b6c8-56d7829a746d",
"sourceDocumentId": "58572830-d5ca-43ff-bd1d-d7ca383d5c65",
"sourceDocumentType": "supplier_invoice",
"sourceRevision": 2,
"eventId": "39d59497-f6f8-4a3f-bdaa-df9d722ff44f",
"effectiveDate": "2026-10-21",
"currency": "RON",
"mappingPolicyVersion": "ro-2026.1",
"correlationId": "716186ba-fb20-458d-a36a-a97717c751c7",
"facts": [
{
"type": "document",
"number": "AC-0094412",
"date": "2026-10-21"
},
{
"type": "partner",
"name": "Ambalaje Carpatin SRL",
"vatId": "RO51603619"
},
{
"type": "amount",
"rate": "21",
"base": "4128.70",
"vat": "867.03"
},
{
"type": "total",
"gross": "4995.73"
}
]
}'const response = await fetch(`${process.env.RDC_BASE_URL}/accounting/v1/posting-requests`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operationId": "32a34b30-2203-436d-897c-707b3c3770bd",
"postingRequestId": "b7007a22-a9ea-4fcb-b535-e0570cdd1f2e",
"customerOrgId": "bdbc5b26-3f8a-4c1a-8c21-6c396293da32",
"legalCompanyId": "8373a2b0-3239-4aee-b6c8-56d7829a746d",
"sourceDocumentId": "58572830-d5ca-43ff-bd1d-d7ca383d5c65",
"sourceDocumentType": "supplier_invoice",
"sourceRevision": 2,
"eventId": "39d59497-f6f8-4a3f-bdaa-df9d722ff44f",
"effectiveDate": "2026-10-21",
"currency": "RON",
"mappingPolicyVersion": "ro-2026.1",
"correlationId": "716186ba-fb20-458d-a36a-a97717c751c7",
"facts": [
{
"type": "document",
"number": "AC-0094412",
"date": "2026-10-21"
},
{
"type": "partner",
"name": "Ambalaje Carpatin SRL",
"vatId": "RO51603619"
},
{
"type": "amount",
"rate": "21",
"base": "4128.70",
"vat": "867.03"
},
{
"type": "total",
"gross": "4995.73"
}
]
}),
});
const result = await response.json();import os
import requests
response = requests.request(
'POST',
f'{os.environ["RDC_BASE_URL"]}/accounting/v1/posting-requests',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
json={
'operationId': '32a34b30-2203-436d-897c-707b3c3770bd',
'postingRequestId': 'b7007a22-a9ea-4fcb-b535-e0570cdd1f2e',
'customerOrgId': 'bdbc5b26-3f8a-4c1a-8c21-6c396293da32',
'legalCompanyId': '8373a2b0-3239-4aee-b6c8-56d7829a746d',
'sourceDocumentId': '58572830-d5ca-43ff-bd1d-d7ca383d5c65',
'sourceDocumentType': 'supplier_invoice',
'sourceRevision': 2,
'eventId': '39d59497-f6f8-4a3f-bdaa-df9d722ff44f',
'effectiveDate': '2026-10-21',
'currency': 'RON',
'mappingPolicyVersion': 'ro-2026.1',
'correlationId': '716186ba-fb20-458d-a36a-a97717c751c7',
'facts': [
{
'type': 'document',
'number': 'AC-0094412',
'date': '2026-10-21',
},
{
'type': 'partner',
'name': 'Ambalaje Carpatin SRL',
'vatId': 'RO51603619',
},
{
'type': 'amount',
'rate': '21',
'base': '4128.70',
'vat': '867.03',
},
{
'type': 'total',
'gross': '4995.73',
},
],
},
)
result = response.json()<?php
$body = <<<'JSON'
{
"operationId": "32a34b30-2203-436d-897c-707b3c3770bd",
"postingRequestId": "b7007a22-a9ea-4fcb-b535-e0570cdd1f2e",
"customerOrgId": "bdbc5b26-3f8a-4c1a-8c21-6c396293da32",
"legalCompanyId": "8373a2b0-3239-4aee-b6c8-56d7829a746d",
"sourceDocumentId": "58572830-d5ca-43ff-bd1d-d7ca383d5c65",
"sourceDocumentType": "supplier_invoice",
"sourceRevision": 2,
"eventId": "39d59497-f6f8-4a3f-bdaa-df9d722ff44f",
"effectiveDate": "2026-10-21",
"currency": "RON",
"mappingPolicyVersion": "ro-2026.1",
"correlationId": "716186ba-fb20-458d-a36a-a97717c751c7",
"facts": [
{
"type": "document",
"number": "AC-0094412",
"date": "2026-10-21"
},
{
"type": "partner",
"name": "Ambalaje Carpatin SRL",
"vatId": "RO51603619"
},
{
"type": "amount",
"rate": "21",
"base": "4128.70",
"vat": "867.03"
},
{
"type": "total",
"gross": "4995.73"
}
]
}
JSON;
$curl = curl_init(getenv('RDC_BASE_URL') . '/accounting/v1/posting-requests');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/accounting/v1/posting-requests");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
"operationId": "32a34b30-2203-436d-897c-707b3c3770bd",
"postingRequestId": "b7007a22-a9ea-4fcb-b535-e0570cdd1f2e",
"customerOrgId": "bdbc5b26-3f8a-4c1a-8c21-6c396293da32",
"legalCompanyId": "8373a2b0-3239-4aee-b6c8-56d7829a746d",
"sourceDocumentId": "58572830-d5ca-43ff-bd1d-d7ca383d5c65",
"sourceDocumentType": "supplier_invoice",
"sourceRevision": 2,
"eventId": "39d59497-f6f8-4a3f-bdaa-df9d722ff44f",
"effectiveDate": "2026-10-21",
"currency": "RON",
"mappingPolicyVersion": "ro-2026.1",
"correlationId": "716186ba-fb20-458d-a36a-a97717c751c7",
"facts": [
{
"type": "document",
"number": "AC-0094412",
"date": "2026-10-21"
},
{
"type": "partner",
"name": "Ambalaje Carpatin SRL",
"vatId": "RO51603619"
},
{
"type": "amount",
"rate": "21",
"base": "4128.70",
"vat": "867.03"
},
{
"type": "total",
"gross": "4995.73"
}
]
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response202 Accepted
{
"operationId": "32a34b30-2203-436d-897c-707b3c3770bd",
"status": "accepted",
"aggregateId": "b7007a22-a9ea-4fcb-b535-e0570cdd1f2e",
"aggregateRevision": 1
} Questions from accountants
Can an entry that does not balance be posted?
No. Post is offered only when debit and credit are the same amount. Through the API, a request whose facts do not balance is accepted, then rejected with the code unbalanced, and nothing is posted.
How do I correct an entry that is already posted?
Reverse it. The reversal is a second entry with debit and credit swapped, linked to the first and carrying your reason. The first entry is not edited, and its document goes back to review so it can be posted again.
What happens to an invoice dated in a month that is already locked?
Posting it into that month is refused and the document stays as it was. Submit it with an effective date in an open month: the entry is posted there and the locked month is untouched.
Who approves an invoice before it is posted?
A supplier invoice at or above the limit your company sets waits for a finance approver. Below the limit it is posted once it is coded. The window says which of the two a document is waiting for.
Which accounts can a document be coded to?
Each kind of document has the accounts its policy allows. A supplier invoice can be coded to one of them or split between two, and the two parts must add up to its net amount. Accounts are shown with their own number and official name.
Can our own software send documents to be posted?
Yes. It sends the facts of a document in a posting request, and Accounting maps them into an entry under the mapping policy of the request. A request is accepted once: sent again with the same content it gets the same answer.
Related guides
-
Trace an accounting entry back to the source document
Build accounting document traceability from the original file through reviewed fields to the destination entry, with version history, corrections and controlled access.
Read the guide: Trace an accounting entry back to the source document -
Automate invoice intake without hiding the exceptions
Design invoice intake around field checks, supplier matching, exception owners and accountant review before approved data reaches the accounting or ERP system.
Read the guide: Automate invoice intake without hiding the exceptions -
A month-end handoff that shows what is still missing
Make month-end handoffs visible through expected documents, named owners, review states, late-item handling and versioned packages the accountant can verify.
Read the guide: A month-end handoff that shows what is still missing
Proposal for Accounting
Tell us about your books and the documents behind them. We reply with a proposal.