TAG LINE
TAG LINE
SMALL TITLE

Invoice / Item

(API Version v8)


This is the billing transaction that is associated with an Invoice.


What can you do with InvoiceItem?


Properties

Property Details
identity
READ-ONLY
"identity": 13
Type: Number
This is the unique numeric identifier for the InvoiceItem
accountId
"accountId": 23
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId property.
packageId
"packageId": 23
Type: Number
Unique identifier for the associated Package object.
packageName
"packageName": "Sample Name"
Type: String
The name of the object associated with the packageId property.
serviceId
"serviceId": 26
Type: Number
Unique identifier for the associated Service object.
serviceName
"serviceName": "Sample Name"
Type: String
The name of the object associated with the serviceId property.
amount
"amount": 1
Type: Number
The total amount of the transaction charge.
detail
"detail": "Hello World"
Type: String
User defined or system generated description for the transaction.
periodStart
"periodStart": "2021-04-26T15:25:27.587Z"
Type: Date
The start date in which this transaction was generated.

Date and time values are specified in the ISO 8601 format.
periodEnd
"periodEnd": "2021-04-26T15:25:27.587Z"
Type: Date
The end date in which this transaction was generated.

Date and time values are specified in the ISO 8601 format.
prorated
"prorated": true
Type: Boolean
Whether or not this charge has been prorated
date
"date": "2021-04-26T15:25:27.587Z"
Type: Date
The date of the charge.

Date and time values are specified in the ISO 8601 format.
accountPackageId
"accountPackageId": "Hello World"
Type: String
Unique identifier for the associated AccountPackage object.
accountPackageName
"accountPackageName": "Sample Name"
Type: String
The name of the object associated with the accountPackageId property.
accountServiceId
"accountServiceId": "Hello World"
Type: String
Unique identifier for the associated AccountService object.
accountServiceName
"accountServiceName": "Sample Name"
Type: String
The name of the object associated with the accountServiceId property.
posting
"posting": "2021-04-26T15:25:27.587Z"
Type: Date
The date for when this charge should be considered posted.

Date and time values are specified in the ISO 8601 format.
invoiceId
"invoiceId": 0
Type: Number
Unique identifier for the associated Invoice object.
invoiceName
"invoiceName": "Sample Name"
Type: String
The name of the object associated with the invoiceId property.
invoiceItemTypeId
"invoiceItemTypeId": 23
Type: Number
Unique identifier for the associated InvoiceItemType object.
invoiceItemTypeName
"invoiceItemTypeName": "Sample Name"
Type: String
The name of the object associated with the invoiceItemTypeId property.
baseAmount
"baseAmount": 9
Type: Number
The total amount of the transaction charge in the Base/Owner currency.
invoiceAmount
"invoiceAmount": 27
Type: Number
The total amount of the transaction charge rounded to the currency precision.
invoiceCurrencyExchangeDetailId
"invoiceCurrencyExchangeDetailId": 23
Type: Number
Unique identifier for the associated CurrencyExchangeDetail object.
invoiceCurrencyExchangeDetailName
"invoiceCurrencyExchangeDetailName": "Sample Name"
Type: String
The name of the object associated with the invoiceCurrencyExchangeDetailId property.
originalInvoiceItemId
"originalInvoiceItemId": 5
Type: Number
A reference to the original transaction that was part of a previous voided invoice.

Unique identifier for the associated InvoiceItem object.
originalInvoiceItemName
"originalInvoiceItemName": "Sample Name"
Type: String
The name of the object associated with the originalInvoiceItemId property.
isManual
"isManual": true
Type: Boolean
Whether or not this charge was a user manually added charge.
createdByUserId
"createdByUserId": 3
Type: Number
Unique identifier for the associated User object.
createdByUserName
"createdByUserName": "Sample Name"
Type: String
The name of the object associated with the createdByUserId property.
udrUsageIdentifier
"udrUsageIdentifier": "Hello World"
Type: String
The unique usage identifier assigned to the Service that was charged.
accountServiceTemporalId
"accountServiceTemporalId": "Hello World"
Type: String
Unique identifier for the associated AccountServiceTemporal object.
accountServiceTemporalName
"accountServiceTemporalName": "Sample Name"
Type: String
The name of the object associated with the accountServiceTemporalId property.
quantity
"quantity": 2
Type: Number
The quantity of the invoice items.
price
"price": 26
Type: Number
The price of the invoice items.
generalLedgerId
"generalLedgerId": 1
Type: Number
Unique identifier for the associated GeneralLedger object.
generalLedgerName
"generalLedgerName": "Sample Name"
Type: String
The name of the object associated with the generalLedgerId property.
serviceTaxCategoryId
"serviceTaxCategoryId": 6
Type: Number
Unique identifier for the associated ServiceTaxCategory object.
serviceTaxCategoryName
"serviceTaxCategoryName": "Sample Name"
Type: String
The name of the object associated with the serviceTaxCategoryId property.
preDiscountAmount
"preDiscountAmount": 22
Type: Number
The amount of the item prior to discounting.
isTaxInclusive
"isTaxInclusive": true
Type: Boolean
Is the amount inclusive of tax.
invoicerAccountId
"invoicerAccountId": 11
Type: Number
Unique identifier for the associated Account object.
invoicerAccountName
"invoicerAccountName": "Sample Name"
Type: String
The name of the object associated with the invoicerAccountId property.
created
READ-ONLY
"created": "2021-04-26T15:25:27.587Z"
Type: Date
This is a system generated date when the record was created. Date and time values are specified in the ISO 8601 format.
updated
READ-ONLY
"updated": "2021-04-26T15:25:27.587Z"
Type: Date
The date time stamp when this record was updated. Date and time values are specified in the ISO 8601 format.


Patch Types

The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.

PATCH operations can be used as a standard API call. Below you will find the child objects that can be updated as part of PATCH operations for the InvoiceItem object.

Standard PATCH objects:

  • creditInvoiceDisbursement - create, update, delete
  • invoiceItemTax - create, update, delete

DataFlow PATCH objects:

  • invoiceItem - create, update, delete
  • creditInvoiceDisbursement - create, update, delete
  • invoiceItemTax - create, update, delete

End Points

DELETEInvoice/Item/{id}
Delete an instance of the InvoiceItem object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the InvoiceItem object.
Delete an instance of the InvoiceItem object.
DELETE Invoice/Item/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "invoiceItem"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETInvoice/Item/
Retrieve all of the InvoiceItem objects.
Retrieve all of the InvoiceItem objects.
GET Invoice/Item/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountId": 14,
            "accountName": "Sample Text Data",
            "packageId": 12,
            "packageName": "Sample Text Data",
            "serviceId": 24,
            "serviceName": "Sample Text Data",
            "amount": 27,
            "detail": "Sample Text Data",
            "periodStart": "2021-04-26T15:25:27.587Z",
            "periodEnd": "2021-04-26T15:25:27.587Z",
            "prorated": true,
            "date": "2021-04-26T15:25:27.587Z",
            "accountPackageId": "Sample Text Data",
            "accountPackageName": "Sample Text Data",
            "accountServiceId": "Sample Text Data",
            "accountServiceName": "Sample Text Data",
            "posting": "2021-04-26T15:25:27.587Z",
            "invoiceId": 18,
            "invoiceName": "Sample Text Data",
            "invoiceItemTypeId": 18,
            "invoiceItemTypeName": "Sample Text Data",
            "baseAmount": 27,
            "invoiceAmount": 18,
            "invoiceCurrencyExchangeDetailId": 4,
            "invoiceCurrencyExchangeDetailName": "Sample Text Data",
            "originalInvoiceItemId": 6,
            "originalInvoiceItemName": "Sample Text Data",
            "isManual": true,
            "createdByUserId": 2,
            "createdByUserName": "Sample Text Data",
            "udrUsageIdentifier": "Sample Text Data",
            "accountServiceTemporalId": "Sample Text Data",
            "accountServiceTemporalName": "Sample Text Data",
            "quantity": 23,
            "price": 24,
            "generalLedgerId": 3,
            "generalLedgerName": "Sample Text Data",
            "serviceTaxCategoryId": 9,
            "serviceTaxCategoryName": "Sample Text Data",
            "preDiscountAmount": 5,
            "isTaxInclusive": true,
            "invoicerAccountId": 1,
            "invoicerAccountName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "updated": "2021-04-26T15:25:27.587Z"
        }
    ]
}
GETInvoice/Item/Paged
Retrieve all of the InvoiceItem objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the InvoiceItem objects in a paged fashion.
GET Invoice/Item/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 17,
                "accountName": "Sample Text Data",
                "packageId": 2,
                "packageName": "Sample Text Data",
                "serviceId": 20,
                "serviceName": "Sample Text Data",
                "amount": 19,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 1,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 7,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 10,
                "invoiceAmount": 24,
                "invoiceCurrencyExchangeDetailId": 2,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 10,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 4,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 21,
                "price": 7,
                "generalLedgerId": 23,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 8,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 2,
                "isTaxInclusive": true,
                "invoicerAccountId": 20,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
GETInvoice/Item/Paged/Detail
Retrieve all of the InvoiceItem objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the InvoiceItem objects in a paged fashion with all object details.
GET Invoice/Item/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 23,
                "accountName": "Sample Text Data",
                "packageId": 20,
                "packageName": "Sample Text Data",
                "serviceId": 7,
                "serviceName": "Sample Text Data",
                "amount": 15,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 3,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 27,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 0,
                "invoiceAmount": 23,
                "invoiceCurrencyExchangeDetailId": 21,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 18,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 21,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 15,
                "price": 27,
                "generalLedgerId": 6,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 14,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 10,
                "isTaxInclusive": true,
                "invoicerAccountId": 19,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "details": {
                    "taxes": [
                        {
                            "identity": 69,
                            "invoiceItemId": 46,
                            "amount": 43.71,
                            "taxRateId": 32,
                            "taxRateName": "Sample Text Data",
                            "taxCodeId": 30,
                            "taxCodeName": "Sample Text Data",
                            "accountTaxCategoryId": 74,
                            "accountTaxCategoryName": "Sample Text Data",
                            "baseAmount": 40.61,
                            "invoiceAmount": 38.64,
                            "amountReportable": 90.89,
                            "baseAmountReportable": 85.63,
                            "invoiceAmountReportable": 64.37,
                            "serviceTaxCategoryId": 41,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "discounts": [
                        {
                            "identity": 69,
                            "invoiceItemId": 86,
                            "amount": 86.75,
                            "accountPackageServiceStatusDiscountId": 19,
                            "baseAmount": 97.94,
                            "invoiceAmount": 62.55,
                            "generalLedgerId": 39,
                            "generalLedgerName": "Sample Text Data",
                            "discountAmountId": 99,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "isFreeTrialExpiring": true
                        }
                    ],
                    "creditDisbursements": [
                        {
                            "identity": 70,
                            "invoiceId": 33,
                            "invoiceName": "Sample Text Data",
                            "amount": 7.93,
                            "invoiceItemId": 69,
                            "baseAmount": 86.09,
                            "invoiceAmount": 73.23,
                            "automaticDisburse": true
                        }
                    ],
                    "creditItem": {
                        "identity": 43,
                        "invoiceItemId": 93,
                        "showOnInvoice": true,
                        "showOnCreditNote": true,
                        "creditNoteId": 28,
                        "creditNoteName": "Sample Text Data",
                        "disbursed": true,
                        "automaticDisburse": true
                    },
                    "reversals": [
                        {
                            "identity": 2,
                            "accountId": 54,
                            "accountName": "Sample Text Data",
                            "packageId": 8,
                            "packageName": "Sample Text Data",
                            "serviceId": 97,
                            "serviceName": "Sample Text Data",
                            "amount": 78.07,
                            "detail": "Sample Text Data",
                            "periodStart": "2021-04-26T15:25:27.587Z",
                            "periodEnd": "2021-04-26T15:25:27.587Z",
                            "prorated": true,
                            "date": "2021-04-26T15:25:27.587Z",
                            "accountPackageName": "Sample Text Data",
                            "accountServiceName": "Sample Text Data",
                            "posting": "2021-04-26T15:25:27.587Z",
                            "invoiceId": 22,
                            "invoiceName": "Sample Text Data",
                            "invoiceItemTypeId": 80,
                            "invoiceItemTypeName": "Sample Text Data",
                            "baseAmount": 28.46,
                            "invoiceAmount": 27.47,
                            "invoiceCurrencyExchangeDetailId": 24,
                            "originalInvoiceItemId": 10,
                            "isManual": true,
                            "createdByUserId": 68,
                            "createdByUserName": "Sample Text Data",
                            "udrUsageIdentifier": "Sample Text Data",
                            "quantity": 74,
                            "price": 93.42,
                            "generalLedgerId": 44,
                            "generalLedgerName": "Sample Text Data",
                            "serviceTaxCategoryId": 86,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "preDiscountAmount": 99.07,
                            "isTaxInclusive": true,
                            "invoicerAccountId": 4,
                            "invoicerAccountName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "baseInvoiceItemTypeId": 66,
                            "baseInvoiceItemTypeName": "Sample Text Data",
                            "unitAmount": 94.93
                        }
                    ]
                }
            }
        ]
    }
}
GETInvoice/Item/{id}
Retrieve an instance of the InvoiceItem object by its ID.
{id}Unique identifier for the InvoiceItem object.
Retrieve an instance of the InvoiceItem object by its ID.
GET Invoice/Item/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 25,
        "accountName": "Sample Text Data",
        "packageId": 4,
        "packageName": "Sample Text Data",
        "serviceId": 19,
        "serviceName": "Sample Text Data",
        "amount": 8,
        "detail": "Sample Text Data",
        "periodStart": "2021-04-26T15:25:27.587Z",
        "periodEnd": "2021-04-26T15:25:27.587Z",
        "prorated": true,
        "date": "2021-04-26T15:25:27.587Z",
        "accountPackageId": "Sample Text Data",
        "accountPackageName": "Sample Text Data",
        "accountServiceId": "Sample Text Data",
        "accountServiceName": "Sample Text Data",
        "posting": "2021-04-26T15:25:27.587Z",
        "invoiceId": 26,
        "invoiceName": "Sample Text Data",
        "invoiceItemTypeId": 7,
        "invoiceItemTypeName": "Sample Text Data",
        "baseAmount": 15,
        "invoiceAmount": 6,
        "invoiceCurrencyExchangeDetailId": 22,
        "invoiceCurrencyExchangeDetailName": "Sample Text Data",
        "originalInvoiceItemId": 21,
        "originalInvoiceItemName": "Sample Text Data",
        "isManual": true,
        "createdByUserId": 1,
        "createdByUserName": "Sample Text Data",
        "udrUsageIdentifier": "Sample Text Data",
        "accountServiceTemporalId": "Sample Text Data",
        "accountServiceTemporalName": "Sample Text Data",
        "quantity": 22,
        "price": 16,
        "generalLedgerId": 11,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 0,
        "serviceTaxCategoryName": "Sample Text Data",
        "preDiscountAmount": 4,
        "isTaxInclusive": true,
        "invoicerAccountId": 24,
        "invoicerAccountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z"
    }
}
GETInvoice/Item/{id}/Detail
Retrieve deep detail of the InvoiceItem object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the InvoiceItem object.
Retrieve deep detail of the InvoiceItem object by its ID.
GET Invoice/Item/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 27,
        "accountName": "Sample Text Data",
        "packageId": 8,
        "packageName": "Sample Text Data",
        "serviceId": 14,
        "serviceName": "Sample Text Data",
        "amount": 4,
        "detail": "Sample Text Data",
        "periodStart": "2021-04-26T15:25:27.587Z",
        "periodEnd": "2021-04-26T15:25:27.587Z",
        "prorated": true,
        "date": "2021-04-26T15:25:27.587Z",
        "accountPackageId": "Sample Text Data",
        "accountPackageName": "Sample Text Data",
        "accountServiceId": "Sample Text Data",
        "accountServiceName": "Sample Text Data",
        "posting": "2021-04-26T15:25:27.587Z",
        "invoiceId": 19,
        "invoiceName": "Sample Text Data",
        "invoiceItemTypeId": 22,
        "invoiceItemTypeName": "Sample Text Data",
        "baseAmount": 21,
        "invoiceAmount": 3,
        "invoiceCurrencyExchangeDetailId": 16,
        "invoiceCurrencyExchangeDetailName": "Sample Text Data",
        "originalInvoiceItemId": 5,
        "originalInvoiceItemName": "Sample Text Data",
        "isManual": true,
        "createdByUserId": 25,
        "createdByUserName": "Sample Text Data",
        "udrUsageIdentifier": "Sample Text Data",
        "accountServiceTemporalId": "Sample Text Data",
        "accountServiceTemporalName": "Sample Text Data",
        "quantity": 2,
        "price": 18,
        "generalLedgerId": 6,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 3,
        "serviceTaxCategoryName": "Sample Text Data",
        "preDiscountAmount": 12,
        "isTaxInclusive": true,
        "invoicerAccountId": 19,
        "invoicerAccountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "details": {
            "taxes": [
                {
                    "identity": 69,
                    "invoiceItemId": 46,
                    "amount": 43.71,
                    "taxRateId": 32,
                    "taxRateName": "Sample Text Data",
                    "taxCodeId": 30,
                    "taxCodeName": "Sample Text Data",
                    "accountTaxCategoryId": 74,
                    "accountTaxCategoryName": "Sample Text Data",
                    "baseAmount": 40.61,
                    "invoiceAmount": 38.64,
                    "amountReportable": 90.89,
                    "baseAmountReportable": 85.63,
                    "invoiceAmountReportable": 64.37,
                    "serviceTaxCategoryId": 41,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "discounts": [
                {
                    "identity": 69,
                    "invoiceItemId": 86,
                    "amount": 86.75,
                    "accountPackageServiceStatusDiscountId": 19,
                    "baseAmount": 97.94,
                    "invoiceAmount": 62.55,
                    "generalLedgerId": 39,
                    "generalLedgerName": "Sample Text Data",
                    "discountAmountId": 99,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "isFreeTrialExpiring": true
                }
            ],
            "creditDisbursements": [
                {
                    "identity": 70,
                    "invoiceId": 33,
                    "invoiceName": "Sample Text Data",
                    "amount": 7.93,
                    "invoiceItemId": 69,
                    "baseAmount": 86.09,
                    "invoiceAmount": 73.23,
                    "automaticDisburse": true
                }
            ],
            "creditItem": {
                "identity": 43,
                "invoiceItemId": 93,
                "showOnInvoice": true,
                "showOnCreditNote": true,
                "creditNoteId": 28,
                "creditNoteName": "Sample Text Data",
                "disbursed": true,
                "automaticDisburse": true
            },
            "reversals": [
                {
                    "identity": 2,
                    "accountId": 54,
                    "accountName": "Sample Text Data",
                    "packageId": 8,
                    "packageName": "Sample Text Data",
                    "serviceId": 97,
                    "serviceName": "Sample Text Data",
                    "amount": 78.07,
                    "detail": "Sample Text Data",
                    "periodStart": "2021-04-26T15:25:27.587Z",
                    "periodEnd": "2021-04-26T15:25:27.587Z",
                    "prorated": true,
                    "date": "2021-04-26T15:25:27.587Z",
                    "accountPackageName": "Sample Text Data",
                    "accountServiceName": "Sample Text Data",
                    "posting": "2021-04-26T15:25:27.587Z",
                    "invoiceId": 22,
                    "invoiceName": "Sample Text Data",
                    "invoiceItemTypeId": 80,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 28.46,
                    "invoiceAmount": 27.47,
                    "invoiceCurrencyExchangeDetailId": 24,
                    "originalInvoiceItemId": 10,
                    "isManual": true,
                    "createdByUserId": 68,
                    "createdByUserName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "quantity": 74,
                    "price": 93.42,
                    "generalLedgerId": 44,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 86,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 99.07,
                    "isTaxInclusive": true,
                    "invoicerAccountId": 4,
                    "invoicerAccountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "baseInvoiceItemTypeId": 66,
                    "baseInvoiceItemTypeName": "Sample Text Data",
                    "unitAmount": 94.93
                }
            ]
        }
    }
}
PATCHInvoice/Item/TaxAdjustment/{id}
Update or Add the InvoiceItem object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the InvoiceItem object.
Update or Add the InvoiceItem object and optionally make changes to any child objects.
PATCH Invoice/Item/TaxAdjustment/{id}

{
    "details": {},
    "invoiceItems": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "accountId": 15,
                "packageId": 3,
                "serviceId": 1,
                "amount": 1,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 6,
                "invoiceItemTypeId": 11,
                "baseAmount": 9,
                "invoiceAmount": 20,
                "invoiceCurrencyExchangeDetailId": 13,
                "originalInvoiceItemId": 25,
                "isManual": true,
                "createdByUserId": 18,
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "quantity": 19,
                "price": 12,
                "generalLedgerId": 9,
                "serviceTaxCategoryId": 23,
                "preDiscountAmount": 4,
                "isTaxInclusive": true,
                "invoicerAccountId": 23,
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "invoiceItem",
                "instance": {
                    "identity": 1,
                    "accountId": 2,
                    "accountName": "Sample Text Data",
                    "packageId": 5,
                    "packageName": "Sample Text Data",
                    "serviceId": 4,
                    "serviceName": "Sample Text Data",
                    "amount": 5,
                    "detail": "Sample Text Data",
                    "periodStart": "2021-04-26T15:25:27.587Z",
                    "periodEnd": "2021-04-26T15:25:27.587Z",
                    "prorated": true,
                    "date": "2021-04-26T15:25:27.587Z",
                    "accountPackageId": "Sample Text Data",
                    "accountPackageName": "Sample Text Data",
                    "accountServiceId": "Sample Text Data",
                    "accountServiceName": "Sample Text Data",
                    "posting": "2021-04-26T15:25:27.587Z",
                    "invoiceId": 21,
                    "invoiceName": "Sample Text Data",
                    "invoiceItemTypeId": 5,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 21,
                    "invoiceAmount": 6,
                    "invoiceCurrencyExchangeDetailId": 11,
                    "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                    "originalInvoiceItemId": 27,
                    "originalInvoiceItemName": "Sample Text Data",
                    "isManual": true,
                    "createdByUserId": 10,
                    "createdByUserName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "accountServiceTemporalId": "Sample Text Data",
                    "accountServiceTemporalName": "Sample Text Data",
                    "quantity": 17,
                    "price": 19,
                    "generalLedgerId": 4,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 7,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 6,
                    "isTaxInclusive": true,
                    "invoicerAccountId": 23,
                    "invoicerAccountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            }
        ]
    }
}
PATCHInvoice/Item/{id}
Update or Add the InvoiceItem object and optionally make changes to any child objects. Patch end points allow for adding/updating multiple related entities and the results of those changes will be reported in the response JSON payload in the items array.
{id}Unique identifier for the InvoiceItem object.
Update or Add the InvoiceItem object and optionally make changes to any child objects.
PATCH Invoice/Item/{id}

{
    "details": {},
    "invoiceItems": {
        "items": [
            {
                "patchType": "create",
                "patchClientId": 1,
                "accountId": 20,
                "packageId": 13,
                "serviceId": 8,
                "amount": 3,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 26,
                "invoiceItemTypeId": 24,
                "baseAmount": 22,
                "invoiceAmount": 24,
                "invoiceCurrencyExchangeDetailId": 5,
                "originalInvoiceItemId": 14,
                "isManual": true,
                "createdByUserId": 2,
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "quantity": 2,
                "price": 14,
                "generalLedgerId": 13,
                "serviceTaxCategoryId": 20,
                "preDiscountAmount": 22,
                "isTaxInclusive": true,
                "invoicerAccountId": 4,
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "patch",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "action": "created",
                "dtoTypeKey": "invoiceItem",
                "instance": {
                    "identity": 1,
                    "accountId": 9,
                    "accountName": "Sample Text Data",
                    "packageId": 9,
                    "packageName": "Sample Text Data",
                    "serviceId": 21,
                    "serviceName": "Sample Text Data",
                    "amount": 22,
                    "detail": "Sample Text Data",
                    "periodStart": "2021-04-26T15:25:27.587Z",
                    "periodEnd": "2021-04-26T15:25:27.587Z",
                    "prorated": true,
                    "date": "2021-04-26T15:25:27.587Z",
                    "accountPackageId": "Sample Text Data",
                    "accountPackageName": "Sample Text Data",
                    "accountServiceId": "Sample Text Data",
                    "accountServiceName": "Sample Text Data",
                    "posting": "2021-04-26T15:25:27.587Z",
                    "invoiceId": 9,
                    "invoiceName": "Sample Text Data",
                    "invoiceItemTypeId": 22,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 7,
                    "invoiceAmount": 15,
                    "invoiceCurrencyExchangeDetailId": 5,
                    "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                    "originalInvoiceItemId": 7,
                    "originalInvoiceItemName": "Sample Text Data",
                    "isManual": true,
                    "createdByUserId": 15,
                    "createdByUserName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "accountServiceTemporalId": "Sample Text Data",
                    "accountServiceTemporalName": "Sample Text Data",
                    "quantity": 2,
                    "price": 17,
                    "generalLedgerId": 10,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 22,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 11,
                    "isTaxInclusive": true,
                    "invoicerAccountId": 5,
                    "invoicerAccountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            }
        ]
    }
}
POSTInvoice/Item/
Create a new instance of the InvoiceItem object.
Create a new instance of the InvoiceItem object.
POST Invoice/Item/

{
    "accountId": 22,
    "packageId": 23,
    "serviceId": 24,
    "amount": 3,
    "detail": "Sample Text Data",
    "periodStart": "2021-04-26T15:25:27.587Z",
    "periodEnd": "2021-04-26T15:25:27.587Z",
    "prorated": true,
    "date": "2021-04-26T15:25:27.587Z",
    "accountPackageId": "Sample Text Data",
    "accountServiceId": "Sample Text Data",
    "posting": "2021-04-26T15:25:27.587Z",
    "invoiceId": 20,
    "invoiceItemTypeId": 19,
    "baseAmount": 0,
    "invoiceAmount": 1,
    "invoiceCurrencyExchangeDetailId": 27,
    "originalInvoiceItemId": 11,
    "isManual": true,
    "createdByUserId": 21,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 7,
    "price": 24,
    "generalLedgerId": 25,
    "serviceTaxCategoryId": 14,
    "preDiscountAmount": 0,
    "isTaxInclusive": true,
    "invoicerAccountId": 11,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 21,
                "accountName": "Sample Text Data",
                "packageId": 12,
                "packageName": "Sample Text Data",
                "serviceId": 23,
                "serviceName": "Sample Text Data",
                "amount": 25,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 7,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 14,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 19,
                "invoiceAmount": 0,
                "invoiceCurrencyExchangeDetailId": 26,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 19,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 22,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 1,
                "price": 6,
                "generalLedgerId": 5,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 14,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 17,
                "isTaxInclusive": true,
                "invoicerAccountId": 18,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
POSTInvoice/Item/Credit
Create an InvoiceItem that is a Credit. The Credit Resource has only the necessary properties to create a credit. This is typically easier to use than an InvoiceItem.
Create an InvoiceItem that is a Credit.
POST Invoice/Item/Credit

{
  "accountId": 153,
  "accountName": "admin",
  "amount": -10, 
  "date": null,
  "posting": null,
  "serviceId": 1,
  "serviceName": "", 
  "detail": "Hotel Gelf",
  "periodStart": null,
  "periodEnd": null,
  "showOnInvoice": true,
  "showOnCreditNote": true,
  "details": {
    "creditDisbursements": {
      "items": [
        {
          "invoiceId": 18332,
          "amount": 10
        }
      ]
    }
  }
}
View Sample Response
HTTP/1.1 200 OK
{
  "trackingId": "53064b3f-a018-4dd2-96a1-793e07e4e3a6",
  "type": "create",
  "results": {
    "totalCount": 6,
    "items": [
      {
        "identity": 11,
        "action": "created",
        "dtoTypeKey": "invoiceItem",
        "instance": {
          "identity": 11,
          "accountId": 153,
          "accountName": "admin",
          "serviceId": 1,
          "serviceName": "Extreme DSL Service",
          "amount": -10,
          "detail": "Hotel Gelf",
          "periodStart": "2019-08-13T00:00:00",
          "periodEnd": "2019-08-13T00:00:00",
          "credit": true,
          "date": "2019-08-13T00:00:00",
          "posting": "2019-08-13T00:00:00",
          "bulkQuantity": 0,
          "nonRefundable": false,
          "invoiceItemTypeId": 2,
          "invoiceItemTypeName": "Credit",
          "automaticDisbursement": false,
          "isTaxExempt": false,
          "isManual": true,
          "createdByUserId": 153,
          "createdByUserName": "admin"
        }
      },
      {
        "identity": 15,
        "action": "created",
        "dtoTypeKey": "invoiceItemTax",
        "instance": {
          "identity": 15,
          "invoiceItemId": 11,
          "amount": -0.8,
          "taxRateId": 187,
          "taxRateName": "GST",
          "taxCodeId": 1,
          "taxCodeName": "Canada",
          "amountReportable": 0
        }
      },
      {
        "identity": 16,
        "action": "created",
        "dtoTypeKey": "invoiceItemTax",
        "instance": {
          "identity": 16,
          "invoiceItemId": 11,
          "amount": -0.7,
          "taxRateId": 188,
          "taxRateName": "PST",
          "taxCodeId": 1,
          "taxCodeName": "Canada",
          "amountReportable": 0
        }
      },
      {
        "identity": 4,
        "action": "created",
        "dtoTypeKey": "creditInvoiceDisbursement",
        "instance": {
          "identity": 4,
          "invoiceId": 18332,
          "invoiceName": "18332",
          "amount": 10,
          "invoiceItemId": 11,
          "baseAmount": 10,
          "invoiceAmount": 10
        }
      },
      {
        "identity": 18332,
        "action": "updated",
        "dtoTypeKey": "invoice"
      },
      {
        "identity": 4,
        "action": "created",
        "dtoTypeKey": "creditItem",
        "instance": {
          "identity": 4,
          "invoiceItemId": 11,
          "showOnInvoice": true,
          "showOnCreditNote": true
        }
      }
    ]
  }
}
POSTInvoice/Item/ReverseCharge
Create a new instance of the InvoiceItem object.
Create a new instance of the InvoiceItem object.
POST Invoice/Item/ReverseCharge

{
    "accountId": 7,
    "packageId": 21,
    "serviceId": 25,
    "amount": 3,
    "detail": "Sample Text Data",
    "periodStart": "2021-04-26T15:25:27.587Z",
    "periodEnd": "2021-04-26T15:25:27.587Z",
    "prorated": true,
    "date": "2021-04-26T15:25:27.587Z",
    "accountPackageId": "Sample Text Data",
    "accountServiceId": "Sample Text Data",
    "posting": "2021-04-26T15:25:27.587Z",
    "invoiceId": 6,
    "invoiceItemTypeId": 11,
    "baseAmount": 8,
    "invoiceAmount": 27,
    "invoiceCurrencyExchangeDetailId": 9,
    "originalInvoiceItemId": 1,
    "isManual": true,
    "createdByUserId": 14,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 19,
    "price": 1,
    "generalLedgerId": 8,
    "serviceTaxCategoryId": 12,
    "preDiscountAmount": 19,
    "isTaxInclusive": true,
    "invoicerAccountId": 21,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 23,
                "accountName": "Sample Text Data",
                "packageId": 5,
                "packageName": "Sample Text Data",
                "serviceId": 23,
                "serviceName": "Sample Text Data",
                "amount": 12,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 18,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 18,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 17,
                "invoiceAmount": 24,
                "invoiceCurrencyExchangeDetailId": 1,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 2,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 21,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 3,
                "price": 7,
                "generalLedgerId": 9,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 11,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 17,
                "isTaxInclusive": true,
                "invoicerAccountId": 0,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
POSTInvoice/Item/ReverseCredit
Create a new instance of the InvoiceItem object.
Create a new instance of the InvoiceItem object.
POST Invoice/Item/ReverseCredit

{
    "accountId": 9,
    "packageId": 27,
    "serviceId": 24,
    "amount": 9,
    "detail": "Sample Text Data",
    "periodStart": "2021-04-26T15:25:27.587Z",
    "periodEnd": "2021-04-26T15:25:27.587Z",
    "prorated": true,
    "date": "2021-04-26T15:25:27.587Z",
    "accountPackageId": "Sample Text Data",
    "accountServiceId": "Sample Text Data",
    "posting": "2021-04-26T15:25:27.587Z",
    "invoiceId": 3,
    "invoiceItemTypeId": 22,
    "baseAmount": 19,
    "invoiceAmount": 24,
    "invoiceCurrencyExchangeDetailId": 1,
    "originalInvoiceItemId": 5,
    "isManual": true,
    "createdByUserId": 23,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 10,
    "price": 22,
    "generalLedgerId": 11,
    "serviceTaxCategoryId": 10,
    "preDiscountAmount": 14,
    "isTaxInclusive": true,
    "invoicerAccountId": 3,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 26,
                "accountName": "Sample Text Data",
                "packageId": 19,
                "packageName": "Sample Text Data",
                "serviceId": 8,
                "serviceName": "Sample Text Data",
                "amount": 18,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 7,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 9,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 6,
                "invoiceAmount": 12,
                "invoiceCurrencyExchangeDetailId": 12,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 9,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 27,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 2,
                "price": 4,
                "generalLedgerId": 17,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 3,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 12,
                "isTaxInclusive": true,
                "invoicerAccountId": 6,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
POSTInvoice/Item/TaxAdjustment
Create a new instance of the InvoiceItem object.
Create a new instance of the InvoiceItem object.
POST Invoice/Item/TaxAdjustment

{
    "accountId": 17,
    "packageId": 14,
    "serviceId": 6,
    "amount": 27,
    "detail": "Sample Text Data",
    "periodStart": "2021-04-26T15:25:27.587Z",
    "periodEnd": "2021-04-26T15:25:27.587Z",
    "prorated": true,
    "date": "2021-04-26T15:25:27.587Z",
    "accountPackageId": "Sample Text Data",
    "accountServiceId": "Sample Text Data",
    "posting": "2021-04-26T15:25:27.587Z",
    "invoiceId": 26,
    "invoiceItemTypeId": 8,
    "baseAmount": 26,
    "invoiceAmount": 25,
    "invoiceCurrencyExchangeDetailId": 2,
    "originalInvoiceItemId": 26,
    "isManual": true,
    "createdByUserId": 13,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 8,
    "price": 17,
    "generalLedgerId": 3,
    "serviceTaxCategoryId": 8,
    "preDiscountAmount": 19,
    "isTaxInclusive": true,
    "invoicerAccountId": 21,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 12,
                "accountName": "Sample Text Data",
                "packageId": 19,
                "packageName": "Sample Text Data",
                "serviceId": 17,
                "serviceName": "Sample Text Data",
                "amount": 6,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 15,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 25,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 4,
                "invoiceAmount": 23,
                "invoiceCurrencyExchangeDetailId": 16,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 4,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 21,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 19,
                "price": 24,
                "generalLedgerId": 14,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 8,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 14,
                "isTaxInclusive": true,
                "invoicerAccountId": 19,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}
PUTInvoice/Item/{id}
Update an existing instance of the InvoiceItem object.
Update an existing instance of the InvoiceItem object.
PUT Invoice/Item/{id}

{
    "identity": 1,
    "accountId": 8,
    "packageId": 15,
    "serviceId": 10,
    "amount": 23,
    "detail": "Sample Text Data",
    "periodStart": "2021-04-26T15:25:27.587Z",
    "periodEnd": "2021-04-26T15:25:27.587Z",
    "prorated": true,
    "date": "2021-04-26T15:25:27.587Z",
    "accountPackageId": "Sample Text Data",
    "accountServiceId": "Sample Text Data",
    "posting": "2021-04-26T15:25:27.587Z",
    "invoiceId": 10,
    "invoiceItemTypeId": 21,
    "baseAmount": 10,
    "invoiceAmount": 25,
    "invoiceCurrencyExchangeDetailId": 6,
    "originalInvoiceItemId": 11,
    "isManual": true,
    "createdByUserId": 3,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 20,
    "price": 22,
    "generalLedgerId": 24,
    "serviceTaxCategoryId": 21,
    "preDiscountAmount": 3,
    "isTaxInclusive": true,
    "invoicerAccountId": 27,
    "updated": "2021-04-26T15:25:27.587Z"
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 6,
                "accountName": "Sample Text Data",
                "packageId": 24,
                "packageName": "Sample Text Data",
                "serviceId": 7,
                "serviceName": "Sample Text Data",
                "amount": 26,
                "detail": "Sample Text Data",
                "periodStart": "2021-04-26T15:25:27.587Z",
                "periodEnd": "2021-04-26T15:25:27.587Z",
                "prorated": true,
                "date": "2021-04-26T15:25:27.587Z",
                "accountPackageId": "Sample Text Data",
                "accountPackageName": "Sample Text Data",
                "accountServiceId": "Sample Text Data",
                "accountServiceName": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 11,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 12,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 6,
                "invoiceAmount": 2,
                "invoiceCurrencyExchangeDetailId": 7,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 1,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 20,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 2,
                "price": 12,
                "generalLedgerId": 20,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 5,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 13,
                "isTaxInclusive": true,
                "invoicerAccountId": 12,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}