{
    "schema": 1,
    "id": "weekend-rate",
    "hypothetical": true,
    "inputs": {
        "invoice_amount": "1000.00",
        "invoice_currency": "EUR",
        "invoice_reference_date": "2026-10-11",
        "payment_reference_date": "2026-10-13"
    },
    "results": {
        "invoice_rate": "4.3775",
        "payment_rate": "4.3889",
        "invoice_table": "197/A/NBP/2026",
        "payment_table": "198/A/NBP/2026",
        "invoice_effective_date": "2026-10-09",
        "payment_effective_date": "2026-10-12",
        "invoice_pln": "4377.50",
        "payment_pln": "4388.90",
        "difference_pln": "11.40"
    },
    "receipt_assets": [
        "solokasa-geo-weekend-rate-1.json",
        "solokasa-geo-weekend-rate-2.json"
    ],
    "receipts": [
        {
            "schema": 1,
            "tool": "invoice_rate",
            "rule_version": "invoice_rate-1",
            "rule": "latest_published_table_before_reference_date",
            "rounding": "published_rate_unchanged",
            "tool_reviewed_on": "2026-11-16",
            "inputs": {
                "currency": "EUR",
                "reference_date": "2026-10-11",
                "quote": "PLN"
            },
            "rates": [
                {
                    "currency": "EUR",
                    "table": "A",
                    "table_no": "197/A/NBP/2026",
                    "reference_date": "2026-10-11",
                    "effective_date": "2026-10-09",
                    "rate": "4.3775",
                    "source_url": "https://api.nbp.pl/",
                    "publication_url": "https://api.nbp.pl/api/exchangerates/tables/a/2026-10-09/?format=json"
                }
            ],
            "results": {
                "rate": "4.3775",
                "cross": false
            },
            "rate_origins": {
                "result": "nbp_publication"
            },
            "fingerprint_sha256": "1f4e7d97a4fbd22b1bb032d5646aaeafb1ed617c6680c34dab78aacb1435a703"
        },
        {
            "schema": 1,
            "tool": "exchange_difference",
            "rule_version": "exchange_difference-1",
            "rule": "pln_difference_of_rounded_values",
            "rounding": "round_each_pln_amount_half_away_2_before_subtraction",
            "tool_reviewed_on": "2026-11-16",
            "inputs": {
                "foreign_amount": "1000.00",
                "invoice_rate": "4.377500",
                "payment_rate": "4.388900",
                "kind": "receivable"
            },
            "rates": {
                "invoice": {
                    "currency": "EUR",
                    "table": "A",
                    "table_no": "197/A/NBP/2026",
                    "reference_date": "2026-10-11",
                    "effective_date": "2026-10-09",
                    "rate": "4.3775",
                    "source_url": "https://api.nbp.pl/",
                    "publication_url": "https://api.nbp.pl/api/exchangerates/tables/a/2026-10-09/?format=json"
                },
                "payment": {
                    "currency": "EUR",
                    "table": "A",
                    "table_no": "198/A/NBP/2026",
                    "reference_date": "2026-10-13",
                    "effective_date": "2026-10-12",
                    "rate": "4.3889",
                    "source_url": "https://api.nbp.pl/",
                    "publication_url": "https://api.nbp.pl/api/exchangerates/tables/a/2026-10-12/?format=json"
                }
            },
            "results": {
                "invoice_pln": "4377.50",
                "payment_pln": "4388.90",
                "cash_change_pln": "11.40",
                "difference_pln": "11.40",
                "classification": "income"
            },
            "rate_origins": {
                "invoice": "nbp_publication",
                "payment": "nbp_publication"
            },
            "fingerprint_sha256": "261fbd3f12e19a7db8c5f700ae92d8e9f195a24ee16468e4a3b131275cabcebc"
        }
    ]
}
