---
title: "Store Invoice Endpoint"
method: POST
path: "/api/v1/store_invoice"
---

# Store Invoice Endpoint

`POST /api/v1/store_invoice`

## Request body

- InvoiceData
  - `data` Body, required
    - `header` Header, required
      - `invoice_data` HeaderData, required
        - `AMOUNT_DUE` number, nullable
        - `INVOICE_DUE_DATE` string, nullable
        - `INVOICE_RECEIPT_DATE` string, nullable
        - `INVOICE_RECEIPT_ID` string, nullable
        - `SUBTOTAL` number, nullable
        - `TAX` number, nullable
        - `TOTAL` number, nullable
        - `VENDOR_ABN_NUMBER` string, nullable
        - `VENDOR_NAME` string, nullable
        - `total_valid` boolean, nullable
        - `BSB` string, nullable
        - `ACCOUNT_NUMBER` string, nullable
      - `NDIS_Participant_Number` union
        - string
        - integer
      - `participant_id` string, nullable
      - `plan_manager_id` string, nullable
    - `line_items` LineItemInput[], required
      - `id` integer, nullable
      - `cancellation` boolean, nullable
      - `claim_type` string, required
      - `description` string, required
      - `early_childhood` boolean, nullable
      - `line_total` number, required
      - `quantity` number, required
      - `service_date_from` string, nullable
      - `service_date_to` string, nullable
      - `service_item_number` string, nullable
      - `service_type` string, nullable
      - `time_from` integer, nullable
      - `time_to` integer, nullable
      - `unit_price` number, nullable
      - `line_tax` number, nullable
      - `method` string, nullable
      - `line_total_valid` boolean, nullable
      - `gst_code` string, nullable
      - `fallback_data` object[], nullable
      - `has_business_violations` boolean, nullable
      - `business_violation_messages` string[], nullable
      - `business_violation_types` string[], nullable
      - `page_number` integer, nullable
      - `coordinates` object, nullable
    - `summary` SummaryInput, required
      - `service_number_extracted` boolean, required
      - `line_items_match_total` boolean, required
      - `total_valid` boolean, required
      - `check_gst` boolean, nullable
      - `check_dates` boolean, nullable
      - `check_bank_details` boolean, nullable
      - `has_overlapping_lines` boolean, nullable
      - `claims_rules_violation` boolean, nullable
      - `business_rules_validation` object, nullable
  - `plan_manager_id` string, required
  - `pm_provider_id` string, nullable
  - `provider_id` string, nullable
  - `multiple_providers` boolean, nullable
  - `multiple_participants` boolean, nullable
  - `approval_status` string, nullable
  - `executionId` string, required
  - `s3_key` string, required
  - `participant_names` object[], nullable
  - `participant_age` integer, nullable
  - `email_message_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/caresquare/apis/fastapi.md) · [All operations](https://skmtc.dev/caresquare/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caresquare/fastapi/revisions/c9df874d8d59/schema)
