POST Invoices

Creates an Invoice and its associated Line Items

Request Information

URI Parameters

None.

Body Parameters

InvoiceCreateDto
NameDescriptionTypeAdditional information
InvoiceNum

Only used when updating an Invoice. An InvoiceNum will be auto-assigned during creation.

integer

None.

ProfileID

integer

None.

InvoiceDate

date

None.

DateDue

date

None.

InvoiceLineItems

Collection of InvoiceLineItemCreateDto

None.

Request Formats

application/json, text/json

Sample:
{
  • "InvoiceNum": 1,
  • "ProfileID": 2,
  • "InvoiceDate": "2024-05-11T13:21:14.3566839Z",
  • "DateDue": "2024-05-11T13:21:14.3566839Z",
  • "InvoiceLineItems": [
      {
      • "LineItemID": 1,
      • "InvoiceNum": 2,
      • "ItemNum": 3,
      • "ApplyDate": "2024-05-11T13:21:14.3566839Z",
      • "Amount": 5.1
      },
      {
      • "LineItemID": 1,
      • "InvoiceNum": 2,
      • "ItemNum": 3,
      • "ApplyDate": "2024-05-11T13:21:14.3566839Z",
      • "Amount": 5.1
      }
    ]
}

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
  • 1