Iso accounting

From elasticdotventures/_b00t_ · View interactive version

Iso accounting is an AI agent skill from the GitHub repository elasticdotventures/_b00t_. ISO and IFRS accounting standards used in the Tax-Lawyer Platform: ISO 20022 (financial messaging), IFRS 9 (financial instruments), LEI (ISO 17442), and ISO 4217 (currency codes). Grounds monetary domain objects in formal standards.

How to use this skill

Skill file

ISO 20022 — Financial Services Messaging

ISO 20022 defines a common platform for financial services messaging.

Relevance to Tax-Lawyer Platform

pub struct ActiveCurrencyAndAmount {
    pub currency: Iso4217,   // "AUD" | "USD" | "ETH" | "BTC"
    pub value: rust_decimal::Decimal,
}

ISO 17442 — Legal Entity Identifier (LEI)

LEI is a 20-character alphanumeric code identifying legal entities that engage

in financial transactions globally. Required for ATO R&D registration.

Structure

XXXXXXXXXX  (4-char LOU prefix)
XXXXXXXXXX  (14-char entity-specific)
XX          (2-char check digits, MOD 97-10)

Examples

Rust validation

pub fn validate_lei(lei: &str) -> Result<(), anyhow::Error> {
    anyhow::ensure!(lei.len() == 20, "LEI must be 20 characters");
    anyhow::ensure!(lei.chars().all(|c| c.is_alphanumeric()), "LEI alphanumeric only");
    // MOD 97-10 check omitted for brevity — use `lei` crate
    Ok(())
}

ISO 4217 — Currency Codes

3-letter alphabetic codes. Crypto assets use non-standard codes (ISO 4217 only

covers fiat) — use XBT (BTC) and XET (ETH) as per emerging conventions, or

use custom CryptoAsset enum parallel to Iso4217.

pub enum Iso4217 {
    Aud,  // Australian Dollar
    Usd,  // US Dollar
    Gbp,  // Pound Sterling
}

pub enum CryptoAsset {
    Btc,
    Eth,
    Usdc,
    // ... platform-supported assets
}

IFRS 9 — Financial Instruments

Classification Relevant to Crypto

IFRS 9 classifies financial assets into three categories based on business model

and contractual cash flow characteristics:

| Category | IFRS 9 Class | Crypto applicability |

|---|---|---|

| Hold-to-collect (FCF) | Amortised Cost | Stablecoins as treasury |

| Hold-to-collect-and-sell | FVOCI | Long-term BTC/ETH holdings |

| Trading / other | FVTPL | Active trading wallets |

ATO vs IFRS 9 Tension

The ATO treats crypto as CGT assets (not IFRS 9 financial instruments) for

income tax purposes (QC 53725). IFRS 9 governs financial reporting — these are

separate frameworks. The platform tracks both:

pub struct CryptoWallet {
    pub ato_treatment: AtoCryptoTreatment,   // CgtAsset | PersonalUseAsset | TradingStock
    pub ifrs9_class: Option<Ifrs9Class>,     // for financial reporting if applicable
}

b00t:map v1

summary: ISO 20022, IFRS 9, LEI, ISO 4217 — accounting standards for Tax-Lawyer Platform

tags: iso, ifrs, accounting, lei, currency, financial

tier: ch0nky

complexity: 5

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.