The Invoice
object contains information about one or more transactions:
Key | Value |
---|---|
doc | [string] Document Code The Document Code is a unique string that is used to Commit or Uncommit transactions. It is required when Commit is true
|
cmmt | [bool] Commit Indicates if invoice should be committed as soon as it is processed
|
bill | [Location] required Bill To Location There are several ways to input location information. For more information, see Location |
cust | [int] required Customer Type
|
lfln | [bool] Lifeline
|
date | [timestamp] required Invoice Date ex. 2009-12-01T03:00:00 The date when the transaction took place. An accurate timestamp in this field is important! This affects the rules our tax engine applies when calculating taxes For example, if you submit a CalcTaxes request with a date of 7/1/2018 , the tax engine uses the rules that apply for your jurisdiction on 7/1/2018 . If the transaction actually occurred on 7/25/2018 , and the tax rate for this transaction changed after 7/1/2018 , you may receive incorrect tax information. |
exms | [Exemption] Exemptions A list of Exemptions to apply to this transaction |
itms | [LineItem] required Line Items A list of Line Items to process for this transaction
|
invm | [bool] Invoice Mode Indicates if all line items within invoice should be processed in invoice mode
|
dtl | [bool] Return Detail Indicates if individual line item taxes should be included in response
|
summ | [bool] Return Summary Indicates if the summarized taxes for the invoice should be included in the response
|
opt | [KeyValuePair] Optional Fields A list of Optional Fields to apply to this invoice |
acct | [string] Account Reference Account Reference field for use in reporting
|
custref | [string] Customer Reference Customer Reference field for use in reporting
|
invn | [string] Invoice Number Reference Invoice Number Reference field for use in reporting
|
bcyc | [string] Bill Cycle Reference Bill Cycle Reference field for use in reporting
|
bpd | [BillingPeriod] Billing Period The Billing Period for the invoice |
ccycd | [string] Currency Code Currency code for the invoice. Example: use USD for United States Dollar
|
Limited to 1,000 invoices per request.
These fields can be overridden on the Line Item:
bill
)cust
)lfln
)date
)