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

@@ -28,6 +28,13 @@ pub struct PostJournalRequest {
/// the latest closed or approved accounting boundary for the profile.
#[prost(string, tag = "7")]
pub accounting_date: ::prost::alloc::string::String,
/// Convert this posting with the profile's own rate for the publication date
/// instead of the ECB reference rate. False, the default, always uses ECB, even
/// where a custom rate for that date exists. True requires one to have been
/// entered: a missing rate is refused rather than silently converted at the
/// official rate. Ignored when nothing needs converting.
#[prost(bool, tag = "8")]
pub use_custom_rate: bool,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct JournalLineInput {