• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

raystack / frontier / 11433313172
30%
main: 38%

Build:
Build:
LAST BUILD BRANCH: perf/optimize-release-caching
DEFAULT BRANCH: main
Ran 21 Oct 2024 04:42AM UTC
Jobs 1
Files 308
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Oct 2024 04:38AM UTC coverage: 9.674% (-0.02%) from 9.697%
11433313172

Pull #796

github

kushsharma
feat: generate invoice for overdraft credits

It's necessary to configure the product name to calculate
per unit price before the overdraft credits can be invoiced
in `billing.customer.credit_overdraft_product`.
If not set, invoice reconcilation and creation is skipped.

If there is already an open(unpaid) invoice for overdraft
credits, no new invoice will be created for that customer.
Reconcilation of these invoice happens on same cadence as
invoices gets synced from the billing provider.

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>
Pull Request #796: feat: generate invoice for overdraft credits

6 of 384 new or added lines in 11 files covered. (1.56%)

5 existing lines in 1 file now uncovered.

11082 of 114556 relevant lines covered (9.67%)

2.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% billing/usage/service.go
1
0.0
0.0% internal/api/v1beta1/billing_invoice.go
2
0.0
0.0% cmd/serve.go
3
50.0
-50.0% billing/credit/credit.go
6
0.0
billing/invoice/invoice.go
6
3.08
-0.04% internal/store/postgres/billing_transactions_repository.go
8
0.0
pkg/utils/pointers.go
32
0.0
0.0% internal/store/postgres/billing_invoice_repository.go
40
34.69
-22.93% pkg/db/db.go
279
0.0
0.0% billing/invoice/service.go

Uncovered Existing Lines

Lines Coverage ∆ File
5
0.0
0.0% billing/invoice/service.go
Jobs
ID Job ID Ran Files Coverage
1 11433313172.1 21 Oct 2024 04:42AM UTC 308
9.67
GitHub Action Run
Source Files on build 11433313172
  • Tree
  • List 308
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #796
  • PR Base - main (#11363741830)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc