use std::fmt;


#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
pub enum AccountingRecordTypeView {
    
    ProductSales,
    ProductSalesWithReverseVAT,
    RotRutDiscount,
    PaymentToBankAccount,
    OverPaymentToBankAccount,
    CentRounding,
    Interest,
    ProductSalesEU,
    ProductSalesEUVAT,
    ProductSalesNonEU,
    SupplierPaymentFromBankAccount,
    SupplierPurchaseDebt,
    SupplierPurchaseEU,
    SupplierPurchaseEUVAT,
    SupplierPurchaseNonEU,
    CurrencyDifference,
    FinanceCost,
    SelfInvoiceDebt,
    SelfInvoiceDebtVAT,
    SelfInvoicePaymentFromBankAccount,
    SelfInvoiceCreditation,
    InvoiceSalesDebtRemoved,
    WriteOff,
    ReminderCostPayment,
    Accrual,
    AdminsitrationCost,
    InvoiceSalesDebtAdded,
    RestingVAT,
    FreightCost,
    Unknown,

}


impl fmt::Display for AccountingRecordTypeView {


    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        write!(f, "{:?}", self)
    }
    
}