Net3 API Interface for Customer Portal

<back to all web services

UpdateInvoiceDataReportReq

Requires Authentication
The following routes are available for this service:
POST/billing/quickbooks/invoice/report/updateUpdate the invoice numbers created by Quickbooks in SSRS report
UpdateInvoiceDataReportReq Parameters:
NameParameterData TypeRequiredDescription
invoiceDataReportbodyTypeInvoiceDataNo
EmailbodystringNoOptional email address for debugging, use this instead of emailling accounting
SendEmailbodyboolNo
invoiceTypebodyInvoiceTypeNo
companyFilebodyCompanyFileNo

Allowable Values

  • V1
  • V2
  • Test
environmentbodyN3TEnvironmentNo

Allowable Values

  • DEV
  • QA
  • UAT
  • PROD
  • DEMO
  • EXT
TypeInvoiceData Parameters:
NameParameterData TypeRequiredDescription
ReportRunIdformGuidNo
InvoiceMonthformDateTimeNo
InvoiceReportMonthformDateTimeNo
InvoiceCompanyDataformList<TypeBillingCompany>No
TypeBillingCompany Parameters:
NameParameterData TypeRequiredDescription
OrgformstringNo
CompanyIdformGuidNo
IsResellerformboolNo
CompanyNameformstringNo
BillingVersionformdecimal?No
InvoiceRunIdformGuidNo
InvoiceMonthformDateTimeNo
InvoiceNumberformstringNo
BillingDatesformList<DateTime>No
ItemsformList<TypeBillingItemQB>No
ItemsPOCformList<TypeBillingItemQB>No
ItemsPOCFeesformList<TypeBillingItemQB>No
SupportCostsformList<TypeBillingItemQBSupport>No
SupportCostsPOCformList<TypeBillingItemQBSupport>No
SupportCostsPOCFeesformList<TypeBillingItemQBSupport>No
ChannelCompaniesformList<TypeBillingCompany>No
TypeBillingItemQB Parameters:
NameParameterData TypeRequiredDescription
CompanyFileformCompanyFileNo
FullNameformstringNo
ListIdformstringNo
GLCodeformstringNo
TypeformItemTypeNo
NameformstringNo
IsPOCformboolNo
DescriptionformstringNo
CostByMonthformList<TypeBillingItemQBMonth>No
ProductDescriptionsformList<TypeBillingItemQBProdDesc>No
TypeBillingItemQBBase Parameters:
NameParameterData TypeRequiredDescription
ContractedTotalformdecimalNo
FeesTotalformdecimalNo
OveragesTotalformdecimalNo
SupportCostTotalformdecimalNo
TotalformdecimalNo
ContractedCostsTotalformdecimalNo
FeesCostsTotalformdecimalNo
OveragesCostsTotalformdecimalNo
SupportCostCostsTotalformdecimalNo
CostsTotalformdecimalNo
ContractedCreditsTotalformdecimalNo
FeesCreditsTotalformdecimalNo
OveragesCreditsTotalformdecimalNo
SupportCostCreditsTotalformdecimalNo
CreditsTotalformdecimalNo
CompanyFile Enum:
NameValue
V11
V22
Test3
ItemType Enum:
NameValue
IItemDiscountRet1
IItemFixedAssetRet2
IItemGroupRet3
IItemInventoryAssemblyRet4
IItemInventoryRet5
IItemNonInventoryRet6
IItemOtherChargeRet7
IItemPaymentRet8
IItemSalesTaxGroupRet9
IItemSalesTaxRet10
IItemServiceRet11
IItemSubtotalRet12
TypeBillingItemQBMonth Parameters:
NameParameterData TypeRequiredDescription
MonthformDateTimeNo
ProductDescriptionsformList<TypeBillingItemQBProdDesc>No
TypeBillingItemQBProdDesc Parameters:
NameParameterData TypeRequiredDescription
TypeformBillTypeNo
ProductIdformintNo
ServiceIdformintNo
UnitformstringNo
PrecedenceformintNo
QuantityformdecimalNo
DescriptionformstringNo
SupportCostformdecimalNo
BillType Enum:
Contracted
Overage
TypeBillingItemQBSupport Parameters:
NameParameterData TypeRequiredDescription
InvoiceLineItemMonthformDateTimeNo
CourtesyDiscountNameformstringNo
CourtesyDiscountTotalformdecimalNo
InvoiceType Enum:
Monthly
NewOrders
All
N3TEnvironment Enum:
DEV
QA
UAT
PROD
DEMO
EXT

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /billing/quickbooks/invoice/report/update HTTP/1.1 
Host: n3tapi.palmettovdc.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	invoiceDataReport: 
	{
		reportRunId: 00000000000000000000000000000000,
		invoiceMonth: 0001-01-01,
		invoiceReportMonth: 0001-01-01,
		invoiceCompanyData: 
		[
			{
				org: String,
				companyId: 00000000000000000000000000000000,
				isReseller: False,
				companyName: String,
				billingVersion: 0,
				invoiceRunId: 00000000000000000000000000000000,
				invoiceMonth: 0001-01-01,
				invoiceNumber: String,
				billingDates: 
				[
					0001-01-01
				],
				items: 
				[
					{
						companyFile: V1,
						fullName: String,
						listId: String,
						glCode: String,
						type: IItemDiscountRet,
						name: String,
						isPOC: False,
						description: String,
						costByMonth: 
						[
							{
								month: 0001-01-01,
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						productDescriptions: 
						[
							{
								type: Contracted,
								productId: 0,
								serviceId: 0,
								unit: String,
								precedence: 0,
								quantity: 0,
								description: String,
								supportCost: 0
							}
						],
						contractedTotal: 0,
						feesTotal: 0,
						overagesTotal: 0,
						supportCostTotal: 0,
						total: 0,
						contractedCostsTotal: 0,
						feesCostsTotal: 0,
						overagesCostsTotal: 0,
						supportCostCostsTotal: 0,
						costsTotal: 0,
						contractedCreditsTotal: 0,
						feesCreditsTotal: 0,
						overagesCreditsTotal: 0,
						supportCostCreditsTotal: 0,
						creditsTotal: 0
					}
				],
				itemsPOC: 
				[
					{
						companyFile: V1,
						fullName: String,
						listId: String,
						glCode: String,
						type: IItemDiscountRet,
						name: String,
						isPOC: False,
						description: String,
						costByMonth: 
						[
							{
								month: 0001-01-01,
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						productDescriptions: 
						[
							{
								type: Contracted,
								productId: 0,
								serviceId: 0,
								unit: String,
								precedence: 0,
								quantity: 0,
								description: String,
								supportCost: 0
							}
						],
						contractedTotal: 0,
						feesTotal: 0,
						overagesTotal: 0,
						supportCostTotal: 0,
						total: 0,
						contractedCostsTotal: 0,
						feesCostsTotal: 0,
						overagesCostsTotal: 0,
						supportCostCostsTotal: 0,
						costsTotal: 0,
						contractedCreditsTotal: 0,
						feesCreditsTotal: 0,
						overagesCreditsTotal: 0,
						supportCostCreditsTotal: 0,
						creditsTotal: 0
					}
				],
				itemsPOCFees: 
				[
					{
						companyFile: V1,
						fullName: String,
						listId: String,
						glCode: String,
						type: IItemDiscountRet,
						name: String,
						isPOC: False,
						description: String,
						costByMonth: 
						[
							{
								month: 0001-01-01,
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						productDescriptions: 
						[
							{
								type: Contracted,
								productId: 0,
								serviceId: 0,
								unit: String,
								precedence: 0,
								quantity: 0,
								description: String,
								supportCost: 0
							}
						],
						contractedTotal: 0,
						feesTotal: 0,
						overagesTotal: 0,
						supportCostTotal: 0,
						total: 0,
						contractedCostsTotal: 0,
						feesCostsTotal: 0,
						overagesCostsTotal: 0,
						supportCostCostsTotal: 0,
						costsTotal: 0,
						contractedCreditsTotal: 0,
						feesCreditsTotal: 0,
						overagesCreditsTotal: 0,
						supportCostCreditsTotal: 0,
						creditsTotal: 0
					}
				],
				supportCosts: 
				[
					{
						invoiceLineItemMonth: 0001-01-01,
						courtesyDiscountName: String,
						courtesyDiscountTotal: 0,
						companyFile: V1,
						fullName: String,
						listId: String,
						glCode: String,
						type: IItemDiscountRet,
						name: String,
						isPOC: False,
						description: String,
						costByMonth: 
						[
							{
								month: 0001-01-01,
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						productDescriptions: 
						[
							{
								type: Contracted,
								productId: 0,
								serviceId: 0,
								unit: String,
								precedence: 0,
								quantity: 0,
								description: String,
								supportCost: 0
							}
						],
						contractedTotal: 0,
						feesTotal: 0,
						overagesTotal: 0,
						supportCostTotal: 0,
						total: 0,
						contractedCostsTotal: 0,
						feesCostsTotal: 0,
						overagesCostsTotal: 0,
						supportCostCostsTotal: 0,
						costsTotal: 0,
						contractedCreditsTotal: 0,
						feesCreditsTotal: 0,
						overagesCreditsTotal: 0,
						supportCostCreditsTotal: 0,
						creditsTotal: 0
					}
				],
				supportCostsPOC: 
				[
					{
						invoiceLineItemMonth: 0001-01-01,
						courtesyDiscountName: String,
						courtesyDiscountTotal: 0,
						companyFile: V1,
						fullName: String,
						listId: String,
						glCode: String,
						type: IItemDiscountRet,
						name: String,
						isPOC: False,
						description: String,
						costByMonth: 
						[
							{
								month: 0001-01-01,
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						productDescriptions: 
						[
							{
								type: Contracted,
								productId: 0,
								serviceId: 0,
								unit: String,
								precedence: 0,
								quantity: 0,
								description: String,
								supportCost: 0
							}
						],
						contractedTotal: 0,
						feesTotal: 0,
						overagesTotal: 0,
						supportCostTotal: 0,
						total: 0,
						contractedCostsTotal: 0,
						feesCostsTotal: 0,
						overagesCostsTotal: 0,
						supportCostCostsTotal: 0,
						costsTotal: 0,
						contractedCreditsTotal: 0,
						feesCreditsTotal: 0,
						overagesCreditsTotal: 0,
						supportCostCreditsTotal: 0,
						creditsTotal: 0
					}
				],
				supportCostsPOCFees: 
				[
					{
						invoiceLineItemMonth: 0001-01-01,
						courtesyDiscountName: String,
						courtesyDiscountTotal: 0,
						companyFile: V1,
						fullName: String,
						listId: String,
						glCode: String,
						type: IItemDiscountRet,
						name: String,
						isPOC: False,
						description: String,
						costByMonth: 
						[
							{
								month: 0001-01-01,
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						productDescriptions: 
						[
							{
								type: Contracted,
								productId: 0,
								serviceId: 0,
								unit: String,
								precedence: 0,
								quantity: 0,
								description: String,
								supportCost: 0
							}
						],
						contractedTotal: 0,
						feesTotal: 0,
						overagesTotal: 0,
						supportCostTotal: 0,
						total: 0,
						contractedCostsTotal: 0,
						feesCostsTotal: 0,
						overagesCostsTotal: 0,
						supportCostCostsTotal: 0,
						costsTotal: 0,
						contractedCreditsTotal: 0,
						feesCreditsTotal: 0,
						overagesCreditsTotal: 0,
						supportCostCreditsTotal: 0,
						creditsTotal: 0
					}
				],
				channelCompanies: 
				[
					{
						org: String,
						companyId: 00000000000000000000000000000000,
						isReseller: False,
						companyName: String,
						billingVersion: 0,
						invoiceRunId: 00000000000000000000000000000000,
						invoiceMonth: 0001-01-01,
						invoiceNumber: String,
						billingDates: 
						[
							0001-01-01
						],
						items: 
						[
							{
								companyFile: V1,
								fullName: String,
								listId: String,
								glCode: String,
								type: IItemDiscountRet,
								name: String,
								isPOC: False,
								description: String,
								costByMonth: 
								[
									{
										month: 0001-01-01,
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						itemsPOC: 
						[
							{
								companyFile: V1,
								fullName: String,
								listId: String,
								glCode: String,
								type: IItemDiscountRet,
								name: String,
								isPOC: False,
								description: String,
								costByMonth: 
								[
									{
										month: 0001-01-01,
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						itemsPOCFees: 
						[
							{
								companyFile: V1,
								fullName: String,
								listId: String,
								glCode: String,
								type: IItemDiscountRet,
								name: String,
								isPOC: False,
								description: String,
								costByMonth: 
								[
									{
										month: 0001-01-01,
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						supportCosts: 
						[
							{
								invoiceLineItemMonth: 0001-01-01,
								courtesyDiscountName: String,
								courtesyDiscountTotal: 0,
								companyFile: V1,
								fullName: String,
								listId: String,
								glCode: String,
								type: IItemDiscountRet,
								name: String,
								isPOC: False,
								description: String,
								costByMonth: 
								[
									{
										month: 0001-01-01,
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						supportCostsPOC: 
						[
							{
								invoiceLineItemMonth: 0001-01-01,
								courtesyDiscountName: String,
								courtesyDiscountTotal: 0,
								companyFile: V1,
								fullName: String,
								listId: String,
								glCode: String,
								type: IItemDiscountRet,
								name: String,
								isPOC: False,
								description: String,
								costByMonth: 
								[
									{
										month: 0001-01-01,
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						supportCostsPOCFees: 
						[
							{
								invoiceLineItemMonth: 0001-01-01,
								courtesyDiscountName: String,
								courtesyDiscountTotal: 0,
								companyFile: V1,
								fullName: String,
								listId: String,
								glCode: String,
								type: IItemDiscountRet,
								name: String,
								isPOC: False,
								description: String,
								costByMonth: 
								[
									{
										month: 0001-01-01,
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								productDescriptions: 
								[
									{
										type: Contracted,
										productId: 0,
										serviceId: 0,
										unit: String,
										precedence: 0,
										quantity: 0,
										description: String,
										supportCost: 0
									}
								],
								contractedTotal: 0,
								feesTotal: 0,
								overagesTotal: 0,
								supportCostTotal: 0,
								total: 0,
								contractedCostsTotal: 0,
								feesCostsTotal: 0,
								overagesCostsTotal: 0,
								supportCostCostsTotal: 0,
								costsTotal: 0,
								contractedCreditsTotal: 0,
								feesCreditsTotal: 0,
								overagesCreditsTotal: 0,
								supportCostCreditsTotal: 0,
								creditsTotal: 0
							}
						],
						channelCompanies: 
						[
							{
								org: String,
								companyId: 00000000000000000000000000000000,
								isReseller: False,
								companyName: String,
								billingVersion: 0,
								invoiceRunId: 00000000000000000000000000000000,
								invoiceMonth: 0001-01-01,
								invoiceNumber: String,
								billingDates: 
								[
									0001-01-01
								],
								items: 
								[
									{
										companyFile: V1,
										fullName: String,
										listId: String,
										glCode: String,
										type: IItemDiscountRet,
										name: String,
										isPOC: False,
										description: String,
										costByMonth: 
										[
											{
												month: 0001-01-01,
												productDescriptions: 
												[
													{
														type: Contracted,
														productId: 0,
														serviceId: 0,
														unit: String,
														precedence: 0,
														quantity: 0,
														description: String,
														supportCost: 0
													}
												],
												contractedTotal: 0,
												feesTotal: 0,
												overagesTotal: 0,
												supportCostTotal: 0,
												total: 0,
												contractedCostsTotal: 0,
												feesCostsTotal: 0,
												overagesCostsTotal: 0,
												supportCostCostsTotal: 0,
												costsTotal: 0,
												contractedCreditsTotal: 0,
												feesCreditsTotal: 0,
												overagesCreditsTotal: 0,
												supportCostCreditsTotal: 0,
												creditsTotal: 0
											}
										],
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								itemsPOC: 
								[
									{
										companyFile: V1,
										fullName: String,
										listId: String,
										glCode: String,
										type: IItemDiscountRet,
										name: String,
										isPOC: False,
										description: String,
										costByMonth: 
										[
											{
												month: 0001-01-01,
												productDescriptions: 
												[
													{
														type: Contracted,
														productId: 0,
														serviceId: 0,
														unit: String,
														precedence: 0,
														quantity: 0,
														description: String,
														supportCost: 0
													}
												],
												contractedTotal: 0,
												feesTotal: 0,
												overagesTotal: 0,
												supportCostTotal: 0,
												total: 0,
												contractedCostsTotal: 0,
												feesCostsTotal: 0,
												overagesCostsTotal: 0,
												supportCostCostsTotal: 0,
												costsTotal: 0,
												contractedCreditsTotal: 0,
												feesCreditsTotal: 0,
												overagesCreditsTotal: 0,
												supportCostCreditsTotal: 0,
												creditsTotal: 0
											}
										],
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								itemsPOCFees: 
								[
									{
										companyFile: V1,
										fullName: String,
										listId: String,
										glCode: String,
										type: IItemDiscountRet,
										name: String,
										isPOC: False,
										description: String,
										costByMonth: 
										[
											{
												month: 0001-01-01,
												productDescriptions: 
												[
													{
														type: Contracted,
														productId: 0,
														serviceId: 0,
														unit: String,
														precedence: 0,
														quantity: 0,
														description: String,
														supportCost: 0
													}
												],
												contractedTotal: 0,
												feesTotal: 0,
												overagesTotal: 0,
												supportCostTotal: 0,
												total: 0,
												contractedCostsTotal: 0,
												feesCostsTotal: 0,
												overagesCostsTotal: 0,
												supportCostCostsTotal: 0,
												costsTotal: 0,
												contractedCreditsTotal: 0,
												feesCreditsTotal: 0,
												overagesCreditsTotal: 0,
												supportCostCreditsTotal: 0,
												creditsTotal: 0
											}
										],
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								supportCosts: 
								[
									{
										invoiceLineItemMonth: 0001-01-01,
										courtesyDiscountName: String,
										courtesyDiscountTotal: 0,
										companyFile: V1,
										fullName: String,
										listId: String,
										glCode: String,
										type: IItemDiscountRet,
										name: String,
										isPOC: False,
										description: String,
										costByMonth: 
										[
											{
												month: 0001-01-01,
												productDescriptions: 
												[
													{
														type: Contracted,
														productId: 0,
														serviceId: 0,
														unit: String,
														precedence: 0,
														quantity: 0,
														description: String,
														supportCost: 0
													}
												],
												contractedTotal: 0,
												feesTotal: 0,
												overagesTotal: 0,
												supportCostTotal: 0,
												total: 0,
												contractedCostsTotal: 0,
												feesCostsTotal: 0,
												overagesCostsTotal: 0,
												supportCostCostsTotal: 0,
												costsTotal: 0,
												contractedCreditsTotal: 0,
												feesCreditsTotal: 0,
												overagesCreditsTotal: 0,
												supportCostCreditsTotal: 0,
												creditsTotal: 0
											}
										],
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								supportCostsPOC: 
								[
									{
										invoiceLineItemMonth: 0001-01-01,
										courtesyDiscountName: String,
										courtesyDiscountTotal: 0,
										companyFile: V1,
										fullName: String,
										listId: String,
										glCode: String,
										type: IItemDiscountRet,
										name: String,
										isPOC: False,
										description: String,
										costByMonth: 
										[
											{
												month: 0001-01-01,
												productDescriptions: 
												[
													{
														type: Contracted,
														productId: 0,
														serviceId: 0,
														unit: String,
														precedence: 0,
														quantity: 0,
														description: String,
														supportCost: 0
													}
												],
												contractedTotal: 0,
												feesTotal: 0,
												overagesTotal: 0,
												supportCostTotal: 0,
												total: 0,
												contractedCostsTotal: 0,
												feesCostsTotal: 0,
												overagesCostsTotal: 0,
												supportCostCostsTotal: 0,
												costsTotal: 0,
												contractedCreditsTotal: 0,
												feesCreditsTotal: 0,
												overagesCreditsTotal: 0,
												supportCostCreditsTotal: 0,
												creditsTotal: 0
											}
										],
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								],
								supportCostsPOCFees: 
								[
									{
										invoiceLineItemMonth: 0001-01-01,
										courtesyDiscountName: String,
										courtesyDiscountTotal: 0,
										companyFile: V1,
										fullName: String,
										listId: String,
										glCode: String,
										type: IItemDiscountRet,
										name: String,
										isPOC: False,
										description: String,
										costByMonth: 
										[
											{
												month: 0001-01-01,
												productDescriptions: 
												[
													{
														type: Contracted,
														productId: 0,
														serviceId: 0,
														unit: String,
														precedence: 0,
														quantity: 0,
														description: String,
														supportCost: 0
													}
												],
												contractedTotal: 0,
												feesTotal: 0,
												overagesTotal: 0,
												supportCostTotal: 0,
												total: 0,
												contractedCostsTotal: 0,
												feesCostsTotal: 0,
												overagesCostsTotal: 0,
												supportCostCostsTotal: 0,
												costsTotal: 0,
												contractedCreditsTotal: 0,
												feesCreditsTotal: 0,
												overagesCreditsTotal: 0,
												supportCostCreditsTotal: 0,
												creditsTotal: 0
											}
										],
										productDescriptions: 
										[
											{
												type: Contracted,
												productId: 0,
												serviceId: 0,
												unit: String,
												precedence: 0,
												quantity: 0,
												description: String,
												supportCost: 0
											}
										],
										contractedTotal: 0,
										feesTotal: 0,
										overagesTotal: 0,
										supportCostTotal: 0,
										total: 0,
										contractedCostsTotal: 0,
										feesCostsTotal: 0,
										overagesCostsTotal: 0,
										supportCostCostsTotal: 0,
										costsTotal: 0,
										contractedCreditsTotal: 0,
										feesCreditsTotal: 0,
										overagesCreditsTotal: 0,
										supportCostCreditsTotal: 0,
										creditsTotal: 0
									}
								]
							}
						]
					}
				]
			}
		]
	},
	email: String,
	sendEmail: False,
	invoiceType: Monthly,
	companyFile: V1,
	environment: DEV
}