The Proration (pror
) key calculates prorated taxes on a transaction that represents a partial month of service. Percentage-based taxes are prorated by way of the charge (chg
) amount passed. However, fixed and per line taxes are subject to special prorating rules and procedures. Some tax authorities allow sellers to prorate fixed and per line taxes for partial months, but many insist on receiving the full amount. REST v2 applies these rules automatically if the pro-rating feature is used. Just specify the percentage of the month the service was active as a decimal in the pror
key.
A few things to keep in mind:
prop
) key from the line item (itms
) if you don't want to use Proration functionality. Setting prop
to 0 means 0% proration for pro-rateable fixed taxes.If the proration is being used for an adjustment credit rather than a partial charge, the ratio of the percentage applied should reflect the portion of the month in which the service was not active.
Use the Pro-rated Adjustment Type (proadj
) to tell Communications REST v2 how to handle the return of prorated adjusted fixed taxes.
0
Default1
Don't return non-proratable fixed taxes in the response2
Return non-proratable fixed taxes in the responseProration functionality is not supported on a Tax Inclusive (incl
set to true
) line item (itms
) or on line items with a quantity (qty
) greater than 1.
Proration (pror
) is set to 50% for 10 lines (line
).
The prorated tax amounts (tax
) are seen on Tax Type IDs (tid
) 6 and 23.
Proration (pror
) is set to 50% for 10 lines (line
) and the adjustment flag (adj
) is set to true
.
proadj
) to 0
proadj
) to 1
proadj
) to 2
tax
) for Tax Type ID (tid
) 10 are set to 0 when proadj
is set to 0
and 1
. The fixed tax amount (tax
) for Tax Type ID (tid
) 10 is returned with the negative tax amount when proadj
is set to 2
.