OpeningPrepayment
Request and responseAn advance held at the opening date: one a customer paid us (received, a liability) or one we paid a supplier (paid, an asset). Its money is already in its account's balance, so nothing is posted; it can be offset against later invoices like any advance. An advance in another currency is held in that currency at its rate and never revalued (RTJ 1 p 97), as an advance received after the opening is; it ties to its account at book_amount. Not supported yet for an advance RECEIVED by a VAT-registered company (OPENING_STATE_RECEIVED_PREPAYMENT_VAT): its final invoice here would declare the VAT the earlier books already declared; net it into the balances instead. Paid advances are unaffected.
Used in requests and responses. In a request only the listed values are accepted; in a response, tolerate values not listed here.
Attributes
9Received from a customer, or paid to a supplier.
Values (closed in requests, open in responses) received, paid
The amount still held at the opening date, in currency; greater than zero.
The account that holds it (received advances, paid advances); not the receivable or payable account.
Currency (ISO 4217) of amount: the book currency or another currency the company has activated (CURRENCY_NOT_ACTIVE). Omitted: the book currency.
The rate the advance is held at, in ExchangeRate's direction. Omitted or null: the ECB rate of the advance's own date, the day it was paid (it is never revalued, so the source books hold it at that day's euros), the newest rate at or before it, at most 7 days back (EXCHANGE_RATE_MISSING when the bank has none).
Details
On an advance in the book currency only 1 is accepted (EXCHANGE_RATE_OVERRIDE_INVALID); on one in another currency 1 is refused (OPENING_STATE_FOREIGN_RATE_OF_ONE). Read back as stored, 1 in the book currency.
What it is held at in the book currency, the figure that ties to its account's balance. Omitted or null: amount at exchange_rate. Stated on an advance in another currency: the source books' own figure, stored as it is (an advance part used before the cut-over holds the book value its uses left, not its remaining amount at the rate); greater than zero (OPENING_STATE_PREPAYMENT_INVALID).
Details
On an advance in the book currency only amount is accepted (EXCHANGE_RATE_OVERRIDE_INVALID). Read back as stored; with as_of, what the ledger holds of it on that day. Null on an advance in another currency that has no book value yet.