TAG LINE
TAG LINE
SMALL TITLE

Invoice / Item

(API Version v10)


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


What can you do with InvoiceItem?


Properties

Property Details
identity
READ-ONLY
"identity": 7
Type: Number
This is the unique numeric identifier for the InvoiceItem
accountId
"accountId": 1
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": 6
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": 23
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": 9
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": 3
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": 15
Type: Number
The total amount of the transaction charge in the Base/Owner currency.
invoiceAmount
"invoiceAmount": 4
Type: Number
The total amount of the transaction charge rounded to the currency precision.
invoiceCurrencyExchangeDetailId
"invoiceCurrencyExchangeDetailId": 9
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": 2
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": 2
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": 27
Type: Number
The quantity of the invoice items.
price
"price": 19
Type: Number
The price of the invoice items.
generalLedgerId
"generalLedgerId": 26
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": 10
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": 24
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": 27,
            "accountName": "Sample Text Data",
            "packageId": 25,
            "packageName": "Sample Text Data",
            "serviceId": 16,
            "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": 13,
            "invoiceName": "Sample Text Data",
            "invoiceItemTypeId": 9,
            "invoiceItemTypeName": "Sample Text Data",
            "baseAmount": 16,
            "invoiceAmount": 20,
            "invoiceCurrencyExchangeDetailId": 8,
            "invoiceCurrencyExchangeDetailName": "Sample Text Data",
            "originalInvoiceItemId": 19,
            "originalInvoiceItemName": "Sample Text Data",
            "isManual": true,
            "createdByUserId": 12,
            "createdByUserName": "Sample Text Data",
            "udrUsageIdentifier": "Sample Text Data",
            "accountServiceTemporalId": "Sample Text Data",
            "accountServiceTemporalName": "Sample Text Data",
            "quantity": 3,
            "price": 1,
            "generalLedgerId": 26,
            "generalLedgerName": "Sample Text Data",
            "serviceTaxCategoryId": 6,
            "serviceTaxCategoryName": "Sample Text Data",
            "preDiscountAmount": 6,
            "isTaxInclusive": true,
            "invoicerAccountId": 22,
            "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": 14,
                "accountName": "Sample Text Data",
                "packageId": 11,
                "packageName": "Sample Text Data",
                "serviceId": 2,
                "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": 8,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 13,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 27,
                "invoiceAmount": 14,
                "invoiceCurrencyExchangeDetailId": 9,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 1,
                "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": 12,
                "price": 5,
                "generalLedgerId": 20,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 19,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 21,
                "isTaxInclusive": true,
                "invoicerAccountId": 6,
                "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": 16,
                "accountName": "Sample Text Data",
                "packageId": 10,
                "packageName": "Sample Text Data",
                "serviceId": 8,
                "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": 21,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 4,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 26,
                "invoiceAmount": 24,
                "invoiceCurrencyExchangeDetailId": 16,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 12,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 18,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 9,
                "price": 16,
                "generalLedgerId": 8,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 10,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 23,
                "isTaxInclusive": true,
                "invoicerAccountId": 13,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z",
                "details": {
                    "taxes": [
                        {
                            "identity": 68,
                            "invoiceItemId": 71,
                            "amount": 94.44,
                            "taxRateId": 70,
                            "taxRateName": "Sample Text Data",
                            "taxCodeId": 42,
                            "taxCodeName": "Sample Text Data",
                            "accountTaxCategoryId": 83,
                            "accountTaxCategoryName": "Sample Text Data",
                            "baseAmount": 74.56,
                            "invoiceAmount": 32.56,
                            "amountReportable": 26.79,
                            "baseAmountReportable": 37.29,
                            "invoiceAmountReportable": 58.94,
                            "serviceTaxCategoryId": 60,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z"
                        }
                    ],
                    "discounts": [
                        {
                            "identity": 81,
                            "invoiceItemId": 53,
                            "amount": 30.01,
                            "accountPackageServiceStatusDiscountId": 26,
                            "baseAmount": 38.63,
                            "invoiceAmount": 7.79,
                            "generalLedgerId": 39,
                            "generalLedgerName": "Sample Text Data",
                            "discountAmountId": 91,
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "isFreeTrialExpiring": true
                        }
                    ],
                    "creditDisbursements": [
                        {
                            "identity": 55,
                            "invoiceId": 29,
                            "invoiceName": "Sample Text Data",
                            "amount": 24.47,
                            "invoiceItemId": 21,
                            "baseAmount": 46.55,
                            "invoiceAmount": 87.17,
                            "automaticDisburse": true
                        }
                    ],
                    "creditItem": {
                        "identity": 4,
                        "invoiceItemId": 0,
                        "showOnInvoice": true,
                        "showOnCreditNote": true,
                        "creditNoteId": 27,
                        "creditNoteName": "Sample Text Data",
                        "disbursed": true,
                        "automaticDisburse": true
                    },
                    "reversals": [
                        {
                            "identity": 82,
                            "accountId": 36,
                            "accountName": "Sample Text Data",
                            "packageId": 11,
                            "packageName": "Sample Text Data",
                            "serviceId": 43,
                            "serviceName": "Sample Text Data",
                            "amount": 69.13,
                            "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": 55,
                            "invoiceName": "Sample Text Data",
                            "invoiceItemTypeId": 54,
                            "invoiceItemTypeName": "Sample Text Data",
                            "baseAmount": 22.36,
                            "invoiceAmount": 41.01,
                            "invoiceCurrencyExchangeDetailId": 72,
                            "originalInvoiceItemId": 50,
                            "isManual": true,
                            "createdByUserId": 32,
                            "createdByUserName": "Sample Text Data",
                            "udrUsageIdentifier": "Sample Text Data",
                            "quantity": 67,
                            "price": 22.09,
                            "generalLedgerId": 49,
                            "generalLedgerName": "Sample Text Data",
                            "serviceTaxCategoryId": 60,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "preDiscountAmount": 16.37,
                            "isTaxInclusive": true,
                            "invoicerAccountId": 62,
                            "invoicerAccountName": "Sample Text Data",
                            "created": "2021-04-26T15:25:27.587Z",
                            "updated": "2021-04-26T15:25:27.587Z",
                            "baseInvoiceItemTypeId": 38,
                            "baseInvoiceItemTypeName": "Sample Text Data",
                            "unitAmount": 13.35
                        }
                    ]
                }
            }
        ]
    }
}
GETInvoice/Item/TaxSummary
Retrieve all of the InvoiceItem objects.
Retrieve all of the InvoiceItem objects.
GET Invoice/Item/TaxSummary
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountId": 22,
            "accountName": "Sample Text Data",
            "packageId": 18,
            "packageName": "Sample Text Data",
            "serviceId": 8,
            "serviceName": "Sample Text Data",
            "amount": 2,
            "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": 23,
            "invoiceName": "Sample Text Data",
            "invoiceItemTypeId": 7,
            "invoiceItemTypeName": "Sample Text Data",
            "baseAmount": 19,
            "invoiceAmount": 9,
            "invoiceCurrencyExchangeDetailId": 26,
            "invoiceCurrencyExchangeDetailName": "Sample Text Data",
            "originalInvoiceItemId": 3,
            "originalInvoiceItemName": "Sample Text Data",
            "isManual": true,
            "createdByUserId": 17,
            "createdByUserName": "Sample Text Data",
            "udrUsageIdentifier": "Sample Text Data",
            "accountServiceTemporalId": "Sample Text Data",
            "accountServiceTemporalName": "Sample Text Data",
            "quantity": 11,
            "price": 3,
            "generalLedgerId": 12,
            "generalLedgerName": "Sample Text Data",
            "serviceTaxCategoryId": 10,
            "serviceTaxCategoryName": "Sample Text Data",
            "preDiscountAmount": 16,
            "isTaxInclusive": true,
            "invoicerAccountId": 23,
            "invoicerAccountName": "Sample Text Data",
            "created": "2021-04-26T15:25:27.587Z",
            "updated": "2021-04-26T15:25:27.587Z"
        }
    ]
}
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": 20,
        "accountName": "Sample Text Data",
        "packageId": 13,
        "packageName": "Sample Text Data",
        "serviceId": 8,
        "serviceName": "Sample Text Data",
        "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",
        "accountPackageName": "Sample Text Data",
        "accountServiceId": "Sample Text Data",
        "accountServiceName": "Sample Text Data",
        "posting": "2021-04-26T15:25:27.587Z",
        "invoiceId": 5,
        "invoiceName": "Sample Text Data",
        "invoiceItemTypeId": 21,
        "invoiceItemTypeName": "Sample Text Data",
        "baseAmount": 17,
        "invoiceAmount": 5,
        "invoiceCurrencyExchangeDetailId": 0,
        "invoiceCurrencyExchangeDetailName": "Sample Text Data",
        "originalInvoiceItemId": 2,
        "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": 5,
        "price": 10,
        "generalLedgerId": 15,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 9,
        "serviceTaxCategoryName": "Sample Text Data",
        "preDiscountAmount": 6,
        "isTaxInclusive": true,
        "invoicerAccountId": 20,
        "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": 8,
        "accountName": "Sample Text Data",
        "packageId": 27,
        "packageName": "Sample Text Data",
        "serviceId": 7,
        "serviceName": "Sample Text Data",
        "amount": 20,
        "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": 25,
        "invoiceName": "Sample Text Data",
        "invoiceItemTypeId": 24,
        "invoiceItemTypeName": "Sample Text Data",
        "baseAmount": 4,
        "invoiceAmount": 5,
        "invoiceCurrencyExchangeDetailId": 6,
        "invoiceCurrencyExchangeDetailName": "Sample Text Data",
        "originalInvoiceItemId": 0,
        "originalInvoiceItemName": "Sample Text Data",
        "isManual": true,
        "createdByUserId": 14,
        "createdByUserName": "Sample Text Data",
        "udrUsageIdentifier": "Sample Text Data",
        "accountServiceTemporalId": "Sample Text Data",
        "accountServiceTemporalName": "Sample Text Data",
        "quantity": 13,
        "price": 2,
        "generalLedgerId": 0,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 21,
        "serviceTaxCategoryName": "Sample Text Data",
        "preDiscountAmount": 11,
        "isTaxInclusive": true,
        "invoicerAccountId": 27,
        "invoicerAccountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z",
        "details": {
            "taxes": [
                {
                    "identity": 68,
                    "invoiceItemId": 71,
                    "amount": 94.44,
                    "taxRateId": 70,
                    "taxRateName": "Sample Text Data",
                    "taxCodeId": 42,
                    "taxCodeName": "Sample Text Data",
                    "accountTaxCategoryId": 83,
                    "accountTaxCategoryName": "Sample Text Data",
                    "baseAmount": 74.56,
                    "invoiceAmount": 32.56,
                    "amountReportable": 26.79,
                    "baseAmountReportable": 37.29,
                    "invoiceAmountReportable": 58.94,
                    "serviceTaxCategoryId": 60,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z"
                }
            ],
            "discounts": [
                {
                    "identity": 81,
                    "invoiceItemId": 53,
                    "amount": 30.01,
                    "accountPackageServiceStatusDiscountId": 26,
                    "baseAmount": 38.63,
                    "invoiceAmount": 7.79,
                    "generalLedgerId": 39,
                    "generalLedgerName": "Sample Text Data",
                    "discountAmountId": 91,
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "isFreeTrialExpiring": true
                }
            ],
            "creditDisbursements": [
                {
                    "identity": 55,
                    "invoiceId": 29,
                    "invoiceName": "Sample Text Data",
                    "amount": 24.47,
                    "invoiceItemId": 21,
                    "baseAmount": 46.55,
                    "invoiceAmount": 87.17,
                    "automaticDisburse": true
                }
            ],
            "creditItem": {
                "identity": 4,
                "invoiceItemId": 0,
                "showOnInvoice": true,
                "showOnCreditNote": true,
                "creditNoteId": 27,
                "creditNoteName": "Sample Text Data",
                "disbursed": true,
                "automaticDisburse": true
            },
            "reversals": [
                {
                    "identity": 82,
                    "accountId": 36,
                    "accountName": "Sample Text Data",
                    "packageId": 11,
                    "packageName": "Sample Text Data",
                    "serviceId": 43,
                    "serviceName": "Sample Text Data",
                    "amount": 69.13,
                    "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": 55,
                    "invoiceName": "Sample Text Data",
                    "invoiceItemTypeId": 54,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 22.36,
                    "invoiceAmount": 41.01,
                    "invoiceCurrencyExchangeDetailId": 72,
                    "originalInvoiceItemId": 50,
                    "isManual": true,
                    "createdByUserId": 32,
                    "createdByUserName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "quantity": 67,
                    "price": 22.09,
                    "generalLedgerId": 49,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 60,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 16.37,
                    "isTaxInclusive": true,
                    "invoicerAccountId": 62,
                    "invoicerAccountName": "Sample Text Data",
                    "created": "2021-04-26T15:25:27.587Z",
                    "updated": "2021-04-26T15:25:27.587Z",
                    "baseInvoiceItemTypeId": 38,
                    "baseInvoiceItemTypeName": "Sample Text Data",
                    "unitAmount": 13.35
                }
            ]
        }
    }
}
GETInvoice/Item/{id}/TaxSummary
Retrieve all of the TaxSummary objects for the specified InvoiceItem.
{id}Unique identifier for the InvoiceItem object.
Retrieve all of the TaxSummary objects for the specified InvoiceItem.
GET Invoice/Item/{id}/TaxSummary
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 26,
        "accountName": "Sample Text Data",
        "packageId": 11,
        "packageName": "Sample Text Data",
        "serviceId": 11,
        "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": 4,
        "invoiceName": "Sample Text Data",
        "invoiceItemTypeId": 10,
        "invoiceItemTypeName": "Sample Text Data",
        "baseAmount": 25,
        "invoiceAmount": 10,
        "invoiceCurrencyExchangeDetailId": 21,
        "invoiceCurrencyExchangeDetailName": "Sample Text Data",
        "originalInvoiceItemId": 24,
        "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": 0,
        "price": 7,
        "generalLedgerId": 2,
        "generalLedgerName": "Sample Text Data",
        "serviceTaxCategoryId": 0,
        "serviceTaxCategoryName": "Sample Text Data",
        "preDiscountAmount": 22,
        "isTaxInclusive": true,
        "invoicerAccountId": 3,
        "invoicerAccountName": "Sample Text Data",
        "created": "2021-04-26T15:25:27.587Z",
        "updated": "2021-04-26T15:25:27.587Z"
    }
}
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": 11,
                "serviceId": 14,
                "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",
                "accountServiceId": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 11,
                "invoiceItemTypeId": 15,
                "baseAmount": 2,
                "invoiceAmount": 0,
                "invoiceCurrencyExchangeDetailId": 5,
                "originalInvoiceItemId": 0,
                "isManual": true,
                "createdByUserId": 19,
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "quantity": 7,
                "price": 26,
                "generalLedgerId": 20,
                "serviceTaxCategoryId": 13,
                "preDiscountAmount": 17,
                "isTaxInclusive": true,
                "invoicerAccountId": 10,
                "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": 24,
                    "accountName": "Sample Text Data",
                    "packageId": 21,
                    "packageName": "Sample Text Data",
                    "serviceId": 0,
                    "serviceName": "Sample Text Data",
                    "amount": 7,
                    "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": 5,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 26,
                    "invoiceAmount": 12,
                    "invoiceCurrencyExchangeDetailId": 23,
                    "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                    "originalInvoiceItemId": 23,
                    "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": 7,
                    "price": 5,
                    "generalLedgerId": 16,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 18,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 10,
                    "isTaxInclusive": true,
                    "invoicerAccountId": 6,
                    "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": 2,
                "packageId": 4,
                "serviceId": 23,
                "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",
                "accountServiceId": "Sample Text Data",
                "posting": "2021-04-26T15:25:27.587Z",
                "invoiceId": 11,
                "invoiceItemTypeId": 2,
                "baseAmount": 1,
                "invoiceAmount": 2,
                "invoiceCurrencyExchangeDetailId": 24,
                "originalInvoiceItemId": 4,
                "isManual": true,
                "createdByUserId": 15,
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "quantity": 23,
                "price": 24,
                "generalLedgerId": 7,
                "serviceTaxCategoryId": 0,
                "preDiscountAmount": 15,
                "isTaxInclusive": true,
                "invoicerAccountId": 13,
                "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": 27,
                    "accountName": "Sample Text Data",
                    "packageId": 16,
                    "packageName": "Sample Text Data",
                    "serviceId": 22,
                    "serviceName": "Sample Text Data",
                    "amount": 0,
                    "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": 6,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 19,
                    "invoiceAmount": 24,
                    "invoiceCurrencyExchangeDetailId": 19,
                    "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                    "originalInvoiceItemId": 21,
                    "originalInvoiceItemName": "Sample Text Data",
                    "isManual": true,
                    "createdByUserId": 18,
                    "createdByUserName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "accountServiceTemporalId": "Sample Text Data",
                    "accountServiceTemporalName": "Sample Text Data",
                    "quantity": 8,
                    "price": 11,
                    "generalLedgerId": 14,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 23,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 24,
                    "isTaxInclusive": true,
                    "invoicerAccountId": 3,
                    "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": 6,
    "packageId": 15,
    "serviceId": 26,
    "amount": 13,
    "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": 15,
    "invoiceItemTypeId": 20,
    "baseAmount": 2,
    "invoiceAmount": 17,
    "invoiceCurrencyExchangeDetailId": 21,
    "originalInvoiceItemId": 12,
    "isManual": true,
    "createdByUserId": 23,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 23,
    "price": 26,
    "generalLedgerId": 20,
    "serviceTaxCategoryId": 10,
    "preDiscountAmount": 1,
    "isTaxInclusive": true,
    "invoicerAccountId": 7,
    "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": 22,
                "accountName": "Sample Text Data",
                "packageId": 0,
                "packageName": "Sample Text Data",
                "serviceId": 12,
                "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": 16,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 8,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 26,
                "invoiceAmount": 8,
                "invoiceCurrencyExchangeDetailId": 8,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 8,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 16,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 8,
                "price": 20,
                "generalLedgerId": 4,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 24,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 2,
                "isTaxInclusive": true,
                "invoicerAccountId": 22,
                "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": 18,
    "packageId": 7,
    "serviceId": 22,
    "amount": 14,
    "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": 19,
    "baseAmount": 12,
    "invoiceAmount": 12,
    "invoiceCurrencyExchangeDetailId": 24,
    "originalInvoiceItemId": 27,
    "isManual": true,
    "createdByUserId": 10,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 18,
    "price": 25,
    "generalLedgerId": 12,
    "serviceTaxCategoryId": 21,
    "preDiscountAmount": 8,
    "isTaxInclusive": true,
    "invoicerAccountId": 14,
    "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": 8,
                "packageName": "Sample Text Data",
                "serviceId": 8,
                "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": 15,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 27,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 12,
                "invoiceAmount": 22,
                "invoiceCurrencyExchangeDetailId": 4,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 27,
                "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": 24,
                "price": 14,
                "generalLedgerId": 9,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 18,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 21,
                "isTaxInclusive": true,
                "invoicerAccountId": 23,
                "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": 22,
    "packageId": 18,
    "serviceId": 25,
    "amount": 17,
    "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": 0,
    "invoiceItemTypeId": 8,
    "baseAmount": 7,
    "invoiceAmount": 27,
    "invoiceCurrencyExchangeDetailId": 1,
    "originalInvoiceItemId": 25,
    "isManual": true,
    "createdByUserId": 14,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 2,
    "price": 10,
    "generalLedgerId": 3,
    "serviceTaxCategoryId": 16,
    "preDiscountAmount": 27,
    "isTaxInclusive": true,
    "invoicerAccountId": 19,
    "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": 17,
                "accountName": "Sample Text Data",
                "packageId": 14,
                "packageName": "Sample Text Data",
                "serviceId": 15,
                "serviceName": "Sample Text Data",
                "amount": 14,
                "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": 14,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 24,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 9,
                "invoiceAmount": 21,
                "invoiceCurrencyExchangeDetailId": 3,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 8,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 8,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 25,
                "price": 15,
                "generalLedgerId": 18,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 20,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 8,
                "isTaxInclusive": true,
                "invoicerAccountId": 10,
                "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": 6,
    "packageId": 2,
    "serviceId": 22,
    "amount": 14,
    "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": 25,
    "invoiceItemTypeId": 12,
    "baseAmount": 24,
    "invoiceAmount": 2,
    "invoiceCurrencyExchangeDetailId": 4,
    "originalInvoiceItemId": 15,
    "isManual": true,
    "createdByUserId": 5,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 19,
    "price": 14,
    "generalLedgerId": 27,
    "serviceTaxCategoryId": 2,
    "preDiscountAmount": 10,
    "isTaxInclusive": true,
    "invoicerAccountId": 13,
    "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": 14,
                "accountName": "Sample Text Data",
                "packageId": 27,
                "packageName": "Sample Text Data",
                "serviceId": 19,
                "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": 3,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 12,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 26,
                "invoiceAmount": 22,
                "invoiceCurrencyExchangeDetailId": 25,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 20,
                "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": 19,
                "price": 9,
                "generalLedgerId": 5,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 23,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 6,
                "isTaxInclusive": true,
                "invoicerAccountId": 22,
                "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": 22,
    "packageId": 3,
    "serviceId": 11,
    "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",
    "accountServiceId": "Sample Text Data",
    "posting": "2021-04-26T15:25:27.587Z",
    "invoiceId": 11,
    "invoiceItemTypeId": 6,
    "baseAmount": 21,
    "invoiceAmount": 19,
    "invoiceCurrencyExchangeDetailId": 16,
    "originalInvoiceItemId": 25,
    "isManual": true,
    "createdByUserId": 24,
    "udrUsageIdentifier": "Sample Text Data",
    "accountServiceTemporalId": "Sample Text Data",
    "quantity": 21,
    "price": 8,
    "generalLedgerId": 23,
    "serviceTaxCategoryId": 13,
    "preDiscountAmount": 22,
    "isTaxInclusive": true,
    "invoicerAccountId": 26,
    "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": 23,
                "accountName": "Sample Text Data",
                "packageId": 2,
                "packageName": "Sample Text Data",
                "serviceId": 7,
                "serviceName": "Sample Text Data",
                "amount": 13,
                "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": 25,
                "invoiceName": "Sample Text Data",
                "invoiceItemTypeId": 1,
                "invoiceItemTypeName": "Sample Text Data",
                "baseAmount": 9,
                "invoiceAmount": 14,
                "invoiceCurrencyExchangeDetailId": 25,
                "invoiceCurrencyExchangeDetailName": "Sample Text Data",
                "originalInvoiceItemId": 15,
                "originalInvoiceItemName": "Sample Text Data",
                "isManual": true,
                "createdByUserId": 16,
                "createdByUserName": "Sample Text Data",
                "udrUsageIdentifier": "Sample Text Data",
                "accountServiceTemporalId": "Sample Text Data",
                "accountServiceTemporalName": "Sample Text Data",
                "quantity": 1,
                "price": 17,
                "generalLedgerId": 5,
                "generalLedgerName": "Sample Text Data",
                "serviceTaxCategoryId": 11,
                "serviceTaxCategoryName": "Sample Text Data",
                "preDiscountAmount": 24,
                "isTaxInclusive": true,
                "invoicerAccountId": 20,
                "invoicerAccountName": "Sample Text Data",
                "created": "2021-04-26T15:25:27.587Z",
                "updated": "2021-04-26T15:25:27.587Z"
            }
        ]
    }
}