General Code removed from main section

This commit is contained in:
2025-05-01 07:29:51 -04:00
parent 3ff1635cc8
commit 9fc230fd3d
+43 -36
View File
@@ -4,6 +4,9 @@
On the first business day of each month, SmartVox / Bitnetix does billing. This is mostly through automatic invoices in Quickbooks, but some customers require special (mostly SmartVox) treatment.
Customer Invoices
## Vitelity Records
### General
* Log in to https://portal.vitelity.net/login.php
* Left hand nav: Billing | Invoice
* Select email of vitelity@smartvox.com
@@ -32,42 +35,17 @@ Customer Invoices
* If you find it, go back to vitelity and change subaccount to "All"
* leave everything else the same and click submit
* Done. Calculate charges based on received information.
* General Code:
* Start with the two CDR reports that were emailed for sub account 174.47.212.250
* Choose the inbound one (the first one)
* Sort by destination
* Add a column after seconds (call it X)
* Add formula "ceiling(d2/30,1)" to e2 (the first row in column X)
* Repeat that down the column; this indicates 30 second billing increments
* Find where destination changes to toll-free numbers (this is likely 8008368834)
* Add a few empty rows before the first toll-free number
* We bill separately for inbound normal and inbound toll-free
* At the bottom of each new set of data, sum colum X; this is the total of 30 second billing increments
* Divide this by two; this is the total number of billing minutes
* Add the result from the normal numbers to the invoice for INBOUND minutes
* Add the result from the toll-free numbers to the invoice for INBOUND TOLL-FREE minutes
* Change to the outbound sheet (the second one)
* Sort by cost
* Delete all rows with zero cost; this is toll-free numbers, no answers, etc (likely to be 0.00079 for first real entry)
* Add another column after "Seconds" column just like previous sheet
* Do all the same math as previous sheet for new column
* Enter this number on invoice for OUTBOUND minutes
* General Code backup trunk is done on SVGP shell access
* Run the following command, changing YYYYMM to 201505 or other appropriate year/month combo (note there are 7 underscores):
* ```cdr -m `date --date="last month" +"%Y%m"` -S "%I-GeneralCode%" -d "_______%" -I 30```
* Take the "Min" output and use that for the invoice BACKUP TRUNK number of minutes (if any).
* Additional backup on SVPP:
* ```acc -F 4.59.212.234 --from `date --date="last month" +"%Y-%m-01"` --to `date --date="this month" +"%Y-%m-01"` --cdr -C```
* Biznetix:
* Log in to SVGP shell access
* Run the following CDR commands, using Min as the fields for OUTGOING (which should be zero), INCOMING, and INCOMING TOLL-FREE, respectively. Note that this will use last month's date by default:
* ```cdr -m `date --date="last month" +"%Y%m"` -S "%5854266519%" -I 30; # OUTGOING (should be zero)```
* ```cdr -m `date --date="last month" +"%Y%m"` -D "%5854266519%" -I 30; # INCOMING```
* ```cdr -m `date --date="last month" +"%Y%m"` -D "%5854266519%" -I 30 -i; # INCOMING Toll Free```
* Log into SVVP shell access
* Run the following CDR command for OUTGOING calls
* ```acc -F 74.39.215.44 --from `date --date="last month" +"%Y-%m-01"` --to `date --date="this month" +"%Y-%m-01"` --cdr -C```
* Enter on invoice as appropriate
### Biznetix
* Log in to SVGP shell access
* Run the following CDR commands, using Min as the fields for OUTGOING (which should be zero), INCOMING, and INCOMING TOLL-FREE, respectively. Note that this will use last month's date by default:
* ```cdr -m `date --date="last month" +"%Y%m"` -S "%5854266519%" -I 30; # OUTGOING (should be zero)```
* ```cdr -m `date --date="last month" +"%Y%m"` -D "%5854266519%" -I 30; # INCOMING```
* ```cdr -m `date --date="last month" +"%Y%m"` -D "%5854266519%" -I 30 -i; # INCOMING Toll Free```
* Log into SVVP shell access
* Run the following CDR command for OUTGOING calls
* ```acc -F 74.39.215.44 --from `date --date="last month" +"%Y-%m-01"` --to `date --date="this month" +"%Y-%m-01"` --cdr -C```
* Enter on invoice as appropriate
## Mission Matrix and Credits
@@ -83,6 +61,35 @@ Next, check Reports | Memorized Reports | Customers | Open Credits and apply any
# NOTE: Just about everything that comes after this is no longer valid now that we use [Stripe](https://stripe.com) for payments! This section needs to be updated.
## Use: *SmartVox Monthly Phone Service* for the Description in Stripe.
---
## General Code
* Start with the two CDR reports that were emailed for sub account 174.47.212.250
* Choose the inbound one (the first one)
* Sort by destination
* Add a column after seconds (call it X)
* Add formula "ceiling(d2/30,1)" to e2 (the first row in column X)
* Repeat that down the column; this indicates 30 second billing increments
* Find where destination changes to toll-free numbers (this is likely 8008368834)
* Add a few empty rows before the first toll-free number
* We bill separately for inbound normal and inbound toll-free
* At the bottom of each new set of data, sum colum X; this is the total of 30 second billing increments
* Divide this by two; this is the total number of billing minutes
* Add the result from the normal numbers to the invoice for INBOUND minutes
* Add the result from the toll-free numbers to the invoice for INBOUND TOLL-FREE minutes
* Change to the outbound sheet (the second one)
* Sort by cost
* Delete all rows with zero cost; this is toll-free numbers, no answers, etc (likely to be 0.00079 for first real entry)
* Add another column after "Seconds" column just like previous sheet
* Do all the same math as previous sheet for new column
* Enter this number on invoice for OUTBOUND minutes
* General Code backup trunk is done on SVGP shell access
* Run the following command, changing YYYYMM to 201505 or other appropriate year/month combo (note there are 7 underscores):
* ```cdr -m `date --date="last month" +"%Y%m"` -S "%I-GeneralCode%" -d "_______%" -I 30```
* Take the "Min" output and use that for the invoice BACKUP TRUNK number of minutes (if any).
* Additional backup on SVPP:
* ```acc -F 4.59.212.234 --from `date --date="last month" +"%Y-%m-01"` --to `date --date="this month" +"%Y-%m-01"` --cdr -C```
## ACH Billing
* Agape