core-invoice 2.0.3

EN 16931 + Peppol PINT semantic model (VAT, GST, SST, consumption tax)
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Syntax root [`DocumentKind`]. Not derived from BT-3.

/// Syntax root. Not derived from BT-3. Self-billing is a profile + type code, not a third kind.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
pub enum DocumentKind {
    /// UBL `Invoice` / CII billed as invoice. Default.
    #[default]
    Invoice,
    /// UBL `CreditNote` root. Not inferred from BT-3 `381`.
    CreditNote,
}