Skip to content

DOCS-3667: Document annual billing feature for subscription billing model #4447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

promptless[bot]
Copy link
Contributor

@promptless promptless bot commented Jul 3, 2025

@CLAassistant
Copy link

CLAassistant commented Jul 3, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ npentrel
❌ promptless[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@viambot
Copy link
Member

viambot commented Jul 3, 2025

👋 Thanks for contributing! A reviewer will look at it on the next working day!

Copy link
Contributor Author

promptless bot commented Jul 3, 2025

Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.)

Copy link

netlify bot commented Jul 3, 2025

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 4860934
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6867dd8f87cc4500089c65ba
😎 Deploy Preview https://deploy-preview-4447--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 42 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@edobranov edobranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for jumping on this! To clarify a bit, there are only three valid use cases right now:

(1) Monthly, in arrears (the existing behavior):

{
  "billing": {
    "cost_per_month": {
      "per_machine": 10
      // ... and any other billable resources, like "binary_data_upload_bytes"
    },
    "tier_name": "monthly-arrears-tier",
    "in_arrears": true
  }
}

(2) Monthly, upfront (working on this right now in APP-8350):

{
  "billing": {
    "cost_per_month": {
      "per_machine": 10
    },
    "tier_name": "monthly-upfront-tier",
    "in_arrears": false   // or omitted
  }
}

(3) Yearly, upfront (the epic's primary goal):

{
  "billing": {
    "cost_per_year": {
      "per_machine": 10
    },
    "tier_name": "yearly-upfront-tier",
    "in_arrears": false   // or omitted
  }
}

Anything else is invalid. Specifically:

  • If in_arrears is false, then you can only specify the per_machine billable resource (it didn't make sense to allow charging for other kinds of usage upfront).
  • You cannot specify cost_per_year and in_arrears: true (this was more work for us to implement and didn't have a strong product case).

Lmk if I can help clarify anything else!

@npentrel
Copy link
Collaborator

npentrel commented Jul 4, 2025

Updated this, please have another look.

My only remaining question is:
Is there sufficient error-checking in the UI? I tested and currently I can set tabular_data_upload_bytes to a positive number and in_arrears: false. There's no error message. Maybe it's not fully deployed to prod, idk. Just want to check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants