specifically need to ask for custom conversion rates

This commit is contained in:
Priec
2026-07-27 00:50:00 +02:00
parent adbe16989c
commit d643db92da
6 changed files with 29 additions and 7 deletions

View File

@@ -37,10 +37,14 @@ message PreviewEcbConversionRequest {
// conversion_context: transaction, statement, or decisive date.
string anchor_date = 4;
// Required. Profile whose custom exchange rate table is consulted before the
// ECB observations, so the preview matches what posting into that profile
// would do.
// Required. Profile whose rates apply. Only consulted when use_custom_rate is
// set, but always required so a preview names the books it describes.
string profile_name = 5;
// Preview the profile's own rate for the publication date rather than the ECB
// reference rate. Must match what the posting will ask for, or the preview
// describes a conversion that will not happen.
bool use_custom_rate = 6;
}
// The conversion and immutable local ECB observation that would be used now.