API Docs / Schemas / CreateInvoiceRequest

CreateInvoiceRequest

A new invoice.

Properties

Name Type Description
date*string

The invoice date

The invoice date

dueDatestring

When payment is due. Defaults to the invoice date.

When payment is due. Defaults to the invoice date.

yourReferencestring

The tenant's own reference

The tenant's own reference

theirReferencestring

The contact's reference

The contact's reference

isDomesticReverseCharge*boolean

Whether the VAT domestic reverse charge applies. Cleared when either party is not VAT registered.

Whether the VAT domestic reverse charge applies. Cleared when either party is not VAT registered.

deductionnumber

Sales invoices only: the CIS deduction the customer made. Ignored on a purchase invoice, where the deduction
follows from the labour total and the tax status.

Sales invoices only: the CIS deduction the customer made. Ignored on a purchase invoice, where the deduction
follows from the labour total and the tax status.

contact*string

The contact's code: a supplier for a purchase invoice, a customer for a sales invoice

The contact's code: a supplier for a purchase invoice, a customer for a sales invoice

externalIdstring

The caller's own identifier for the invoice

The caller's own identifier for the invoice

lines*array of CreateInvoiceLineRequest

The lines

The lines

JSON Example

{
  "date": "2024-01-01T00:00:00Z",
  "dueDate": "2024-01-01T00:00:00Z",
  "yourReference": "string",
  "theirReference": "string",
  "isDomesticReverseCharge": false,
  "contact": "string",
  "lines": [
    {
      "type": "...",
      "description": "...",
      "quantity": "...",
      "amount": "...",
      "vatRate": "..."
    }
  ]
}

Used By Operations