Skip to main content

Get Amortization Schedule Status

GET 

/api/amortization-schedules/:amortizationSchedule/status

Get a compact processing-progress summary for an amortization schedule - useful for dashboards and polling without fetching the full period list.

Required scope: purchase-orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Response fields:

  • total_periods, processed_periods, pending_periods, is_fully_processed - Progress counters.
  • total_amount / amount_per_period - The amount being amortized.
  • next_period - The next unprocessed period (period_number, period_start, period_end, amount, and is_due, which is true once the period's end date has passed). Null when every period has been processed.
  • allocation_config - The stored allocation target: allocatable_type (product, brand, supplier, sales_channel), allocatable_id, allocatable_name (the target's name or SKU), and proration_strategy.

Schedules are created with POST /api/cost-entries/:costEntry/amortization-schedule (documented under Cost Entries).

Authentication: Requires Bearer token. Scope: purchase-orders (read/write).

Request

Responses

OK

Response Headers
    Content-Type