ClientInvoiceSubmissionDto

Response DTO for an invoice submission

Properties

Name Type Description
codestring

The unique code for this submission

The unique code for this submission

clientClientRefDto
billingDatestring

The target invoice date

The target invoice date

submittedAtstring

When the invoice was pushed to the platform

When the invoice was pushed to the platform

externalInvoiceIdstring

The invoice ID from the accounting platform

The invoice ID from the accounting platform

externalInvoiceNumberstring

The invoice number from the accounting platform

The invoice number from the accounting platform

externalInvoiceUrlstring

Direct URL to view the invoice on the accounting platform

Direct URL to view the invoice on the accounting platform

statusenum

Pending Submitted Failed Projected

Pending Submitted Failed Projected

errorMessagestring

Failure reason if push failed

Failure reason if push failed

sentToClientAtstring

When the accounting platform emailed this invoice to the client, or null if it did not

When the accounting platform emailed this invoice to the client, or null if it did not

sendErrorstring

Why the invoice could not be emailed, on a submission that was otherwise raised successfully

Why the invoice could not be emailed, on a submission that was otherwise raised successfully

lineCountinteger

Number of line items in this submission

Number of line items in this submission

totalAmountnumber

Total amount of all line items (Quantity × UnitPrice)

Total amount of all line items (Quantity × UnitPrice)

submittedTotalnumber

The line total at the moment the invoice was pushed to the accounting platform, pinned
once and never updated. Null for submissions not yet pushed, or pushed before this was
recorded. Anything edited on the platform afterwards is not reflected here or anywhere.

The line total at the moment the invoice was pushed to the accounting platform, pinned
once and never updated. Null for submissions not yet pushed, or pushed before this was
recorded. Anything edited on the platform afterwards is not reflected here or anywhere.

lineItemsarray of ClientBillingLineItemDto

The billing line items in this submission

The billing line items in this submission

createdDatestring

When the submission was created

When the submission was created

updatedDatestring

When the submission was last updated

When the submission was last updated

JSON Example

{
  "code": "string",
  "client": {
    "code": "string",
    "name": "string",
    "logoUrl": "string"
  },
  "billingDate": "2024-01-01T00:00:00Z",
  "submittedAt": "2024-01-01T00:00:00Z",
  "externalInvoiceId": "string"
}

Used By Operations

Contained in Schemas