Skip to content
Testaroo
json9.3 KB

Fieldnote Learning Centre: Invoice register JSON

Invoice register JSON for Fieldnote Learning Centre. The same 18 invoices as invoice-register.csv with the four rules that govern them written out, including the capping rule that keeps net_payable non-negative. totals.netPayable is 4442.50.

Preview, first 50 linesjson
{
  "schemaVersion": 1,
  "generatedAt": "2026-09-08",
  "centre": "Fieldnote Learning Centre",
  "rules": [
    "tuition + materials_fee + registration_fee = gross_fee",
    "gross_fee - bursary_amount = net_payable",
    "a fixed bursary is capped at the fee, so net_payable is never negative",
    "payment_plan is true where net_payable exceeds 250.00"
  ],
  "totals": {
    "invoices": 18,
    "gross": "5250.00",
    "bursary": "807.50",
    "netPayable": "4442.50",
    "paymentPlans": 8
  },
  "invoices": [
    {
      "invoice_id": "INV-EDU-0001",
      "enrollment_id": "ENR-01",
      "learner_id": "LEARN-01",
      "learner_name": "Sample learner 1",
      "course_id": "COURSE-1",
      "issue_date": "2026-08-03",
      "due_date": "2026-08-31",
      "tuition": "240.00",
      "materials_fee": "35.00",
      "registration_fee": "25.00",
      "gross_fee": "300.00",
      "bursary_award_id": "",
      "bursary_amount": "0.00",
      "net_payable": "300.00",
      "payment_plan": "true"
    },
    {
      "invoice_id": "INV-EDU-0002",
      "enrollment_id": "ENR-02",
      "learner_id": "LEARN-02",
      "learner_name": "Sample learner 2",
      "course_id": "COURSE-2",
      "issue_date": "2026-08-03",
      "due_date": "2026-08-31",
      "tuition": "280.00",
      "materials_fee": "45.00",
      "registration_fee": "25.00",
      "gross_fee": "350.00",
      "bursary_award_id": "",
      "bursary_amount": "0.00",
      "net_payable": "350.00",
… 327 lines total: download for the full file.

Specifications

Document Set
education
Industry
education
Source Kit
education-training
Synthetic
true
As Of
2026-09-08
Rows
18
Rules
4
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Test all four stated rules against every invoice in the array.
Expected result
All four rules hold on all 18 invoices: the fee components add up, the bursary subtracts, no net is negative and exactly 8 invoices are flagged for a plan. The array sums to the totals object at 4442.50 net.

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“Fieldnote Learning Centre: Invoice register JSON” is a deterministic Testaroo fixture for Data import. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: 18 rows · UTF-8. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Code examples

import json

with open("invoice-register.json") as f:
    data = json.load(f)
print(type(data), len(data))

Generated by generation/industry_documents.py. Free for any use, no attribution required, license.