1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
use std::fmt;
#[derive(Debug, Clone, Copy, serde::Serialize, serde::Deserialize, PartialEq, Eq)]
#[serde(rename_all = "PascalCase")]
#[allow(non_camel_case_types)]
pub enum AccountingRecordTypeView {
Accrual,
AdminsitrationCost,
CentRounding,
ClientFundDebt,
CurrencyDifference,
FinanceCostNoRecourse,
FinanceCostWithRecourse,
FreightCost,
Interest,
InvoiceSalesDebtAdded,
InvoiceSalesDebtRemoved,
NonPerformingLoanPurchase,
OverPaymentDeleted,
OverPaymentToBankAccount,
PaymentToBankAccount,
ProductSales,
ProductSalesEU,
ProductSalesEUVAT,
ProductSalesNonEU,
ProductSalesWithReverseVAT,
PurchasedNonPerformingLoanPayment,
ReminderCostPayment,
RestingVAT,
RotRutDiscount,
SelfInvoiceCreditation,
SelfInvoiceDebt,
SelfInvoiceDebtVAT,
SelfInvoicePaymentFromBankAccount,
SupplierPaymentFromBankAccount,
SupplierPurchaseDebt,
SupplierPurchaseEU,
SupplierPurchaseEUVAT,
SupplierPurchaseNonEU,
UnmatchedPaymentDeleted,
UnmatchedPaymentToBankAccount,
WriteOff,
}
impl fmt::Display for AccountingRecordTypeView {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{:?}", self)
}
}