Zum Inhalt
HALOWERK

Finopswerk

daily monthly budget ceiling transcript

From original standard2x/30.4 campaign budgets, ordered pre-cost edits and served/billed daily observations reconstruct daily versus monthly ceilings and minimum over-limit served cost. All _5 values are exact FIFTHS of a minor unit; budget fields original minor units. Missing prior billed remains one correlated amount, which cancels from reset remaining allowance. Mathematical upperbound audit, NOT actual billed=min(served,caps), campaign eligibility,advertising/financial advice or provider.

POST https://finops.halowerk.com/v1/daily-monthly-budget-ceiling-transcript

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
days_in_monthintegerJa
initial_budgetintegerJa
daysarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "days_in_month": {
      "type": "integer",
      "minimum": 28,
      "maximum": 31
    },
    "initial_budget": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    },
    "days": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000000
            },
            "minItems": 0,
            "maxItems": 3
          },
          "served_minor": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2000000
          },
          "billed_minor": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 2000000
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "changes",
          "served_minor",
          "billed_minor"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 8
    },
    "report": {
      "type": "object",
      "properties": {
        "days": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "opening_budget": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "highest_budget": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "closing_budget": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "daily_limit_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "monthly_limit_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "spent_before_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "remaining_allowance_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "served_ceiling_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "minimum_unbillable_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "billed_excess_5": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "opening_budget",
              "highest_budget",
              "closing_budget",
              "daily_limit_5",
              "monthly_limit_5",
              "spent_before_5",
              "remaining_allowance_5",
              "served_ceiling_5",
              "minimum_unbillable_5",
              "billed_excess_5"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 8
        },
        "closing_budget": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000000
            },
            {
              "type": "null"
            }
          ]
        },
        "cumulative_billed_5": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000000
            },
            {
              "type": "null"
            }
          ]
        },
        "monthly_limit_5": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000000
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "days",
        "closing_budget",
        "cumulative_billed_5",
        "monthly_limit_5"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "days_in_month",
    "initial_budget",
    "days",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "days_in_month": 30,
  "initial_budget": 10,
  "days": [
    {
      "changes": [],
      "served_minor": 15,
      "billed_minor": 15
    },
    {
      "changes": [
        50,
        1
      ],
      "served_minor": 80,
      "billed_minor": 20
    },
    {
      "changes": [],
      "served_minor": 35,
      "billed_minor": 1
    },
    {
      "changes": [
        4
      ],
      "served_minor": 8,
      "billed_minor": 8
    }
  ],
  "report": {
    "days": [
      {
        "opening_budget": 10,
        "highest_budget": 10,
        "closing_budget": 10,
        "daily_limit_5": 100,
        "monthly_limit_5": 1520,
        "spent_before_5": 0,
        "remaining_allowance_5": 100,
        "served_ceiling_5": 75,
        "minimum_unbillable_5": 0,
        "billed_excess_5": 0
      },
      {
        "opening_budget": 10,
        "highest_budget": 50,
        "closing_budget": 1,
        "daily_limit_5": 500,
        "monthly_limit_5": 220,
        "spent_before_5": 75,
        "remaining_allowance_5": 145,
        "served_ceiling_5": 145,
        "minimum_unbillable_5": 255,
        "billed_excess_5": 0
      },
      {
        "opening_budget": 1,
        "highest_budget": 1,
        "closing_budget": 1,
        "daily_limit_5": 10,
        "monthly_limit_5": 220,
        "spent_before_5": 175,
        "remaining_allowance_5": 10,
        "served_ceiling_5": 10,
        "minimum_unbillable_5": 165,
        "billed_excess_5": 0
      },
      {
        "opening_budget": 1,
        "highest_budget": 4,
        "closing_budget": 4,
        "daily_limit_5": 40,
        "monthly_limit_5": 720,
        "spent_before_5": 180,
        "remaining_allowance_5": 40,
        "served_ceiling_5": 40,
        "minimum_unbillable_5": 0,
        "billed_excess_5": 0
      }
    ],
    "closing_budget": 4,
    "cumulative_billed_5": 220,
    "monthly_limit_5": 720
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →