Invoice

Add item to an invoice

post/v1/workspaces/{workspaceId}/invoices/{invoiceId}/items

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303

Represents a workspace identifier across the system.

invoiceIdstring required

Represents an invoice identifier across the system.

Example:83q687e29ae1f428e7ebe195

Represents an invoice identifier across the system.

Request body

applyTaxes'TAX1' | 'TAX2' | 'TAX1TAX2' | 'NONE' required

Represents taxes applied to the invoice item. Applies only when the specified taxes are active on the invoice.

descriptionstring required

Represents an invoice item description.

itemTypestring required

Represents an item type.

quantityinteger required

Represents an item quantity.

unitPriceinteger required

Represents an item unit price.

Example request

{
  "applyTaxes": "TAX1TAX2",
  "description": "This is a description of an invoice item.",
  "itemType": "Service",
  "quantity": 10000,
  "unitPrice": 500
}

Response

OK

InvoiceOverviewDtoV1 required— unresolved $ref

Changes