Upcoming A2P 10DLC changes, $10 per month / per campaign fee - twilio

I am trying to clarify $10 per month/campaign fees.
We are creating sub accounts for every customer we sign up and assign them long code. Let's say - 100 subscribers - 100 sub account with 100 long codes.
We have only one type of campaign with all sub accounts ( throughout software)
So we pay $10 * 100 sub accounts(brands) = $1000 per month OR $10 for one campaign at main account level?

For the ISV model, it will be: $10 * 100 sub accounts(brands) = $1000 per month
ISV U.S. A2P 10DLC Onboarding Guide

Related

Invoice parsing of ocrd extracted invoice text

Here's the output of tesseract on an invoice jpeg.
I want to classify the extracted data such as:
address: 123 Anywhere St. Any’ City
bank accounts:
Invoice items: Content plan $50
Invoice items: Copy Writing $50
And so on.
What are the suggested approaches for this idea?
Thanks in advance.
INVOICE
#1004
BILLED TO: _ Really Great Company
PAY TO: Avery Davis
123 Anywhere St. Any’ City
123-456-7890
Bank Really Great Bank
Account Name John Smith
BSB 000-000
Account Number 0000 0000
DESCRIPTION RATE HOURS AMOUNT
Content Plan $50, hr 4 $200.00
Copy Writing $50, hr 2 $100.00
Website Design $50, hr 5 $250.00
Website Development $100 hr 5 $500.00
sto $50 hr 4 $200.00
Sub-Total $1,250.00
Package Discount (30%) $375.00
TOTAL $875.00
Payment is required within L4 business day's of invoice date. Please send
remittance to hello#really greatsite.c:
Thank you for your business

Tableau Desktop - How to count excluding nulls from a column and two more conditions that checks additional columns

I am identifying 4 metrics
Metric 1. Request - Count all unique ids
Metric 2. Enrolled - All customers that have a date. This confirms that the customer received orders
Metric 3. Current - Date is less than 6 months from today. This will confirm that the customers are active
Metric 4. Dropped - Date is more than 6 months from today, This confirms that customers did not buy from us for more than 6 months.
Calculation Summary
I am calculating the date difference and then using buckets like < 6 months and > 6 months to separate the data. Then using the individual calculated field to count the numbers for each metric.
Below are my current calculations in Tableau
Metric 1 : Request
countd(id)
Metric 2 : Enrolled
COUNTD(IF NOT ISNULL(
[Date])
THEN [ID]
END)
Metric 3 : To calculate Current Customers, I have below additional calculations.
1. Date diff calculation
if NOT ISNULL([Date])
then datediff('month',[Date],Today())
END
2. current six months Bucket
IF [Date Diff Calc]<=6 THEN "<6 months"
END
3. Current Customer metric
COUNT([current six months Bucket])
However, I need to make changes to - Metric 2 (Enrolled) and Metric 3 (Current) with additional conditions
Metric 2 : Enrolled
1. Customers that have 'QRST' prefix in their ID should only be counted when the Repeat column has 'No'
2. But for the rest of the customers, all rows should be counted regardless of repeat yes or no statuses.
3. Additionally, two IDs- QRST-AA2517 and QRST-CO1325 should be removed from the total count.
Metric 3 : Current
1. Customers that have 'ABC' as prefix in their ID and Country = countryname should not be counted under this metric
2. But for the rest of the customers, all rows should be counted regardless of the country
Sample data structure
ID DATE REPEAT COUNTRY
ABC-1234 12-3-2015 Yes USA
QRST-AA2517 11-5-2021 No Italy
XYZ - 1234 08-3-2022 No Germany

How to know witch value to display Introductory Price or normal Price for an Apple subcription

We have added recently some subscription that contains SKProductDiscount of a 6 months and a year.
My question is how to display the right charging value to the user?
In first 6 months the introductory price and after that full price.
Is there other solution rather then calculate?
purchaseDate + count * unit > Date()

Google Sheets Formula For Wage Calculation

We are trying to work out a formula for paying our sales team. Basically they get paid a basic wage of £350 regardless of making any sales as a "safety net" or 40% of sales done up to £2000 (whichever is greater). So for example, £1000 sales = £400 commission, £500 sales = £350 commissions.
Essentially the £350 is there incase sales fall below £875 they are guaranteed to still get the £350.
It gets a little tricky for me when sales go over £2000 anything OVER £2000 they get 50% on. So for example £3000 sales they would get £800 on the first £2000 and £500 on the £1000 over the £2000. So total wages for that week would be £1,300. Some examples below:
Sales: £500 Pay = £350
Sales: £900 Pay = £360
Sales: £1500 Pay = £600
Sales: £2500 Pay = £1,050
Sales: £4000 Pay = £1,800
Is there a formula I can use if i have the sales total of the sales agent, to calculate there wage automatically.
Any help would be greatly appreciated.
This is a fairly short way of doing it
=MAX(350,0.4*A1+0.1*text(A1-2000,"0;\0"))
Otherwise perhaps more simply
=if(A1<875,350,if(A1<2000,A1*0.4,800+(A1-2000)*0.5))
Which can be simplified to
=IF(A1<875,350,IF(A1<2000,A1*0.4,0.5*A1-200))

The receipt is not balanced

I am trying to add a sales receipt to QuickBooks POS using the SDK. I receive this error:
The receipt is not balanced.
Here is my XML:
http://pastebin.com/MweDDRqU
My order total with tax is 21.25. Here are my items:
2 Shoes at $10 each
6.25% MA Sales Tax added to shoes only
Shipping worth $5
Discount worth $5
Total is $21.25.
I am unsure why the system says I am off $9.37. Any ideas?
I don't know where it's getting $9.37 from, but it's true that your receipt is NOT balanced.
The total amount is $21.25, but you indicated you only received $20.00 in payment.
<TenderCheckAdd>
<CheckNumber>3</CheckNumber>
<TenderAmount>20.0000000000</TenderAmount>
</TenderCheckAdd>
This is akin to the person at the cash register telling you your total is $21.25, and you handing them a $20 bill and walking out the door.
You still owe them $1.25.

Resources