Expenses per Story Cap Policy Lookup

Audit actual per-story expense/preapproval ledgers against caller unapproved overage cap, preserving signed budget margin; no automatic reimbursement entitlement, invented outlet cap or receipt authenticity assessment.

Description

Expense preapproval and an unapproved-overage cap define separate budgets.

Expense preapproval and an unapproved-overage cap define separate budgets. Signed margins retain underspend and overspend.1

Enter aligned nonempty unique story IDs, nonnegative safe-integer same-currency incurred/approved amounts and cap. Return excess, signed margins and strict-over-cap indices.

When to use Expenses per Story Cap Policy Lookup

Use Expenses per Story Cap Policy Lookup when you need to evaluate the supplied records under the calculation and evidence rules below. No reimbursement entitlement, receipt authenticity or universal outlet cap is inferred.

Prepare the actual editorial, source, layout, timing or audience records requested. Supply explicit house-policy limits and preserve missing evidence.

How to use Expenses per Story Cap Policy Lookup and understand its results

  1. Prepare the actual editorial, source, layout, timing or audience records requested. Supply explicit house-policy limits and preserve missing evidence.
  2. Enter storyIds, incurredExpensesMinor, preapprovedAmountsMinor, callerUnapprovedExpenseCapMinor using the field table and calculation rules, then run the tool.
  3. Read amountsAbovePreapprovalMinor, signedPreapprovalMarginsMinor, storyIndicesAboveCallerUnapprovedCap. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
storyIdsStory idslist of stringRequired
incurredExpensesMinorIncurred expenses minorlist of numberRequired
preapprovedAmountsMinorPreapproved amounts minorlist of numberRequired
callerUnapprovedExpenseCapMinorCaller unapproved expense cap minornumberRequired

Enter aligned nonempty unique story IDs, nonnegative safe-integer same-currency incurred/approved amounts and cap. Return excess, signed margins and strict-over-cap indices.

excess=max(0,incurred−approved); margin=approved−incurred

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
amountsAbovePreapprovalMinorAmounts above preapproval minorlist of number
signedPreapprovalMarginsMinorSigned preapproval margins minorlist of number
storyIndicesAboveCallerUnapprovedCapStory indices above caller unapproved caplist of number
json
{
  "input": {
    "storyIds": [
      "a",
      "b"
    ],
    "incurredExpensesMinor": [
      100,
      200
    ],
    "preapprovedAmountsMinor": [
      150,
      150
    ],
    "callerUnapprovedExpenseCapMinor": 50
  },
  "output": {
    "amountsAbovePreapprovalMinor": [
      0,
      50
    ],
    "signedPreapprovalMarginsMinor": [
      50,
      -50
    ],
    "storyIndicesAboveCallerUnapprovedCap": []
  }
}

Limitations and assumptions

No reimbursement entitlement, receipt authenticity or universal outlet cap is inferred.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Beat Expense Mileage Log Quarter Total: Quarter mileage totals require actual trip dates and an explicit reimbursement rate. Per-trip rounding can differ from rounding one quarter total. For a complementary task, use Kill Fee Percent Unaccepted Pitch Lookup: A commissioned-story cancellation fee depends on an explicit contract trigger and rate. An already paid advance can leave a signed balance.

References

  1. Expenses per Story Cap Policy Lookup — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies