# Misc: Lines vs items

Source: https://developer.avalara.com/products/communications/integration-guides/communications-integration/idb1827883087521/

Guide: Communications

# Misc: Lines vs items

AFC allows multiple items per invoice. When passing transactions dealing with T/S pairs and Line counts, pass the Line count as opposed to sending individual transactions for each line. The tax logic can vary by Jurisdiction, and not passing a Line count can result in a different tax amount.

The example below shows this difference. It includes 2 invoices.

-   The first invoice includes 24 items with 1 line each.

-   The second invoice includes 1 item with 24 lines.

## Request

**View example**:

```
curl --location --request POST 'https://communicationsua.avalara.net/api/v2/afc/CalcTaxes' \
--header 'client_id: 787' \
--header 'client_profile_id;' \
--header 'Authorization: Basic {Base64-encoded credentials}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cfg": {"incrf": true //--Return Reporting Information.
    },
    "cmpn": {"bscl": 1, //--Business Class: Typical value is "1". Is the provider and an Incumbant Local Exchange Carrier ("ILEC",  basically those companies that own the wire, antennas and switches of a network) or not?   0=ILEC, 1=NOT an ILEC (or Competitive Local Exchange Carrier "CLEC")"svcl": 0, //--Service Class:  Is the provider Primarily a local service provider, or long distance?   0=Primary Local; 1=Primary Long Distance. "fclt": false, //--Facilities:  Does the company providing the service have facilities to provide the service?      "frch": false, //--Franchise:  Indicates if the company provides services sold pursuant to a franchise agreement between the carrier and jurisdiction."reg": false, //--Regulated:  Is the Seller is regulated?"idnt": "CertCompany"
    },
    "inv": [{    "doc": "24Line(s)", //--Document Code:  Required.  A unique value that is used to Commit transactions through the Commit API. Do NOT use InvoiceNumber.  GUID preferable. Every unique call must have a unique "doc".    "cmmt": false, //--Commit:  Required.  The status of transaction for end of period compliance reporting.  Previously CalcTaxes uncommitted transactions can be committed through the Commit API.    "bill": { //--Bill To Object:  Required.  Field usually originating from a customer account profile. The SoldTo address of the transaction.  AFC will return the level of granularity in taxation based on the granularity of the address provided.  This object can be JUST PCode value if you utilize the GEO or PCODE APIs for assigning a PCODE to a location.
"pcd": 2604100 //--PCode:  You can pass only this value in the BillTo object.  Preassigned values are handled via the GEO and PCODE APIs.
},    "cust": 1, //--Customer Type: Required.  Field usually originating from a customer account profile. 0=Residential; 1=Business; 2=Senior Citizen; 3=Industrial.  Different customer types could have different tax rules.    "lfln": false, //--Lifeline:  Field usually originating from a customer account profile.  Is the customer a lifeline participants?    "date": "2022-04-21", //--Date:  Effective Tax Rate Date to be applied to the invoice.  Most often Invoice Date generated through SysDate on the bill run.    "itms": [
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 1, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
}    ],    "invm": true,    "dtl": true,    "summ": true,    "acct": "CertCompany",    "custref": "CertTest4_6",    "invn": "CertTest4_6",    "bcyc": "202204",    "bpd": {
"month": 04,
"year": 2022    }},{    "doc": "SingleTransaction24Line(s)", //--Document Code:  Required.  A unique value that is used to Commit transactions through the Commit API. Do NOT use InvoiceNumber.  GUID preferable. Every unique call must have a unique "doc".    "cmmt": false, //--Commit:  Required.  The status of transaction for end of period compliance reporting.  Previously CalcTaxes uncommitted transactions can be committed through the Commit API.    "bill": { //--Bill To Object:  Required.  Field usually originating from a customer account profile. The SoldTo address of the transaction.  AFC will return the level of granularity in taxation based on the granularity of the address provided.  This object can be JUST PCode value if you utilize the GEO or PCODE APIs for assigning a PCODE to a location.
"pcd": 2604100 //--PCode:  You can pass only this value in the BillTo object.  Preassigned values are handled via the GEO and PCODE APIs.
},    "cust": 1, //--Customer Type: Required.  Field usually originating from a customer account profile. 0=Residential; 1=Business; 2=Senior Citizen; 3=Industrial.  Different customer types could have different tax rules.    "lfln": false, //--Lifeline:  Field usually originating from a customer account profile.  Is the customer a lifeline participants?    "date": "2022-04-21", //--Date:  Effective Tax Rate Date to be applied to the invoice.  Most often Invoice Date generated through SysDate on the bill run.    "itms": [
{
     "ref": "1_CertTest4_6_PCD_OutboundChannel", //--Reference Code.  Reference Id for a line item.
      "chg": 0, //--Charge:  Required.  Billed pre-tax amount if "incl"=false.  Billed after tax amount if "incl"=true.
      "line": 24, //--Lines:  Number of phone lines to be taxed.  Required for certain T/S Pairs.
    "sale": 1, //--Sale:  Sale Type:  0=Wholesale, 1=Retail, 2=Consumed (Sales and Use Only), 3=Vendor Use. REQUIRED
    "tran": 19, //--Transaction Type: Industry vertical...see mapping guidelines for this. REQUIRED
    "serv": 582, //--Service Type:  Billable services for an industry vertical....see mapping guidelines for this. REQUIRED
    "adj": false //--Adjustment:  True, will negate taxes. False, will return positive taxes.  Default is False.
}    ],    "invm": true,    "dtl": true,    "summ": true,    "acct": "CertCompany",    "custref": "CertTest4_6",    "invn": "CertTest4_6",    "bcyc": "202204",    "bpd": {
"month": 04,
"year": 2022    }}
    ]
}'
```

## Response

**View example**:

```
{
    "inv": [{    "doc": "24Line(s)",    "itms": [
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
},
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 1,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 1.0,    "lvl": 2,    "tid": 161}
    ]
}    ],    "summ": [
{
    "max": 75.0,
    "min": 0.0,
    "tchg": 0.0,
    "calc": 4,
    "cat": "E-911 CHARGES",
    "cid": 7,
    "name": "E911 (VoIP)",
    "exm": 0.0,
    "lns": 24,
    "pcd": 2604000,
    "rate": 1.0,
    "sur": false,
    "tax": 24.0,
    "lvl": 2,
    "tid": 161
}    ],    "incrf": {
"acct": "CertCompany",
"custref": "CertTest4_6",
"invn": "CertTest4_6",
"bcyc": "202204"    }},{    "doc": "SingleTransaction24Line(s)",    "itms": [
{
    "ref": "1_CertTest4_6_PCD_OutboundChannel",
    "txs": [{    "bill": true,    "cmpl": true,    "tm": 0.0,    "calc": 4,    "cat": "E-911 CHARGES",    "cid": 7,    "name": "E911 (VoIP)",    "exm": 0.0,    "lns": 24,    "min": 0.0,    "pcd": 2604000,    "rate": 1.0,    "sur": false,    "tax": 24.0,    "lvl": 2,    "tid": 161}
    ]
}    ],    "summ": [
{
    "max": 75.0,
    "min": 0.0,
    "tchg": 0.0,
    "calc": 4,
    "cat": "E-911 CHARGES",
    "cid": 7,
    "name": "E911 (VoIP)",
    "exm": 0.0,
    "lns": 24,
    "pcd": 2604000,
    "rate": 1.0,
    "sur": false,
    "tax": 24.0,
    "lvl": 2,
    "tid": 161
}    ],    "incrf": {
"acct": "CertCompany",
"custref": "CertTest4_6",
"invn": "CertTest4_6",
"bcyc": "202204"    }}
    ]
}
```