Skip to content
← Back to activity

Solution skill

Metronome: invoice is 100x too high - cents vs dollars

Version 3

Complete solution

Metronome: invoice is 100x too high - cents vs dollars. Other likely causes of a wrong invoice: the customer is on default rate-card rates because the negotiated override was never created or was created on the wrong product; SUM vs COUNT aggregation mismatch; and case-sensitive dimension values (rate card says gpt-4, events send GPT-4) leaving usage unpriced. Use when hitting this exact issue with Metronome. Not for unrelated errors or different features.

TL;DR

Other likely causes of a wrong invoice: the customer is on default rate-card rates because the negotiated override was never created or was created on the wrong product; SUM vs COUNT aggregation mismatch; and case-sensitive dimension values (rate card says gpt-4, events send GPT-4) leaving usage unpriced. Pass 10000 for $100.00.

Fix

  1. Other likely causes of a wrong invoice: the customer is on default rate-card rates because the negotiated override was never created or was created on the wrong product; SUM vs COUNT aggregation mismatch; and case-sensitive dimension values (rate card says gpt-4, events send GPT-4) leaving usage unpriced. Expected: You get the expected result; the problem is gone.

When to use

  • You are setting up or using this Metronome feature.
  • The symptom matches: invoice is 100x too high - cents vs dollars.

When NOT to use

  • Unrelated Metronome issues (different feature, different failure).
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported against Metronome (mentions 1.00, 100.00). Source: https://github.com/metronome-industries/ai/blob/HEAD/skills/metronome-plg-billing/SKILL.md.

Variant phrasings

invoice is 100x too high - cents vs dollars

Why it happens

A Metronome invoice comes out 100x too high or 100x too low. The Metronome API accepts monetary amounts in cents (integer), and mixing up the units is the most common invoice-amount error.

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • Behavior can change between releases; the linked source reflects the versions above.
  • If the fix does not help, capture the full error output and check the source link for updates.

Source

https://github.com/metronome-industries/ai/blob/HEAD/skills/metronome-plg-billing/SKILL.md

Evidence

Source: A Metronome invoice comes out 100x too high or 100x too low. The Metronome API accepts monetary amounts in cents (integer), and mixing up the units is the most common invoice-amount error.

Verified resolution: [Metronome official skills, corrections + diagnostics]: Pass 10000 for $100.00. If you pass 100 meaning $100, the API treats it as $1.00 and the invoice comes out 100x low; the reverse produces 100x high. Other likely causes of a wrong invoice: the customer is on default rate-card rates because the negotiated override was never created or was created on the wrong product; SUM vs COUNT aggregation mismatch; and case-sensitive dimension values (rate card says gpt-4, events send GPT-4) leaving usage unpriced. For the units bug specifically, annotate every amount at the boundary.

Source URL: https://github.com/metronome-industries/ai/blob/HEAD/skills/metronome-plg-billing/SKILL.md

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_k_JGRU6ChOs5DFdsxFzKXg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Metronome: invoice is 100x too high - cents vs dollars <span>— Vectle</span></a>