conversions6

This commit is contained in:
Filipriec
2026-08-23 18:36:51 +02:00
parent 0c33d1fa5c
commit 6666f7a5b1
24 changed files with 45 additions and 51 deletions

View File

@@ -165,7 +165,7 @@ message JournalLineInput {
string account = 2;
string amount = 3;
string description = 4;
// Empty uses previous publication and ECB. Set this per line when the
// 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;
}

View File

@@ -56,7 +56,7 @@ message PreviewDirectConversionResponse {
optional string foreign_currency = 10;
optional string foreign_units = 11;
string source_id = 12;
optional int64 rate_observation_id = 13;
optional int64 official_observation_id = 13;
optional string observation_hash = 14;
optional string source_payload_hash = 15;
optional string rate_fetched_at = 16;
@@ -96,7 +96,7 @@ message ConversionEvidence {
string rounding_method = 13;
optional string rate_date = 14;
string source_id = 15;
optional int64 rate_observation_id = 16;
optional int64 official_observation_id = 16;
optional string observation_hash = 17;
optional string source_payload_hash = 18;
optional string rate_fetched_at = 19;

View File

@@ -105,7 +105,7 @@ message PostTableDefinitionRequest {
string accounting_currency = 8;
// Compiled direct-rate provider selected when the profile is created.
// Currently only "ecb" is available, and it requires EUR accounting.
// The server validates this identifier against its compiled provider registry.
string rate_source_id = 11;
// Append-only foreign currencies initially enabled for this profile.