POST api/invoices

Request Information

URI Parameters

None.

Body Parameters

CreateInvoiceDto
NameDescriptionTypeAdditional information
BuyerId

string

Required

String length: inclusive between 0 and 128

SellerStoreId

integer

Required

QuotationId

integer

None.

DueDate

date

None.

DeliveryFee

decimal number

None.

DiscountAmount

decimal number

None.

TaxAmount

decimal number

None.

Notes

string

String length: inclusive between 0 and 2000

Terms

string

String length: inclusive between 0 and 2000

Items

Collection of QuotationItemInputDto

None.

Request Formats

application/json, text/json

Sample:
{
  "buyerId": "sample string 1",
  "sellerStoreId": 2,
  "quotationId": 1,
  "dueDate": "2026-06-05T19:05:10.0508792+02:00",
  "deliveryFee": 3.0,
  "discountAmount": 4.0,
  "taxAmount": 5.0,
  "notes": "sample string 6",
  "terms": "sample string 7",
  "items": [
    {
      "description": "sample string 1",
      "quantity": 2.0,
      "unitPrice": 3.0
    },
    {
      "description": "sample string 1",
      "quantity": 2.0,
      "unitPrice": 3.0
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.