pub fn scan_amount(input: &str) -> (AmountTokens<'_>, &str)
Expand description
Scans the first Amount from the input
returns: AmountTokens
The amount line can be -10 VEUR {20 EUR} [2023-04-01] @ 25 EUR
of which, the amount is “-10 VEUR” and the rest is the cost, stored in
an annotation.