conversion stuff is now handled by the module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package komp_ac.accounting;
|
||||
|
||||
import "exchange_rates.proto";
|
||||
import "common.proto";
|
||||
|
||||
// Mutable informational journals. A journal may contain only debits, only
|
||||
// credits, or any non-zero balance. Balance is reported but never enforced.
|
||||
@@ -170,9 +170,9 @@ message JournalLineInput {
|
||||
string account = 2;
|
||||
string amount = 3;
|
||||
string description = 4;
|
||||
// Empty uses the profile provider's previous publication. Set this per line when the
|
||||
// accountant needs a different rule, a saved custom rate, or a one-off rate.
|
||||
optional komp_ac.exchange_rates.ExchangeRateSelection exchange_rate_selection = 5;
|
||||
// Omit to use the selected conversion module's posting policy.
|
||||
// Explicit options are interpreted only by their named module.
|
||||
optional komp_ac.common.CurrencyConversionOptions conversion_options = 5;
|
||||
}
|
||||
|
||||
message CloseJournalRequest {
|
||||
@@ -325,6 +325,7 @@ message JournalLine {
|
||||
string original_amount = 16;
|
||||
string original_currency = 17;
|
||||
int64 conversion_evidence_id = 18;
|
||||
int64 conversion_table_definition_id = 19;
|
||||
}
|
||||
|
||||
message Journal {
|
||||
|
||||
Reference in New Issue
Block a user