Invoice

Generates a creditor invoice based on the provided request parameters and returns the resulting PDF file or an error message.

This method validates the input parameters, retrieves the necessary order and line details if not provided, and posts the invoice using the provided API. If the operation is successful, a PDF file of the invoice is returned. Otherwise, an appropriate error message is returned.

post/Invoice/GenerateCreditorInvoice

Request

  • Base URL: https://api.uniconta.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.uniconta.com/Invoice/GenerateCreditorInvoice
  • Auth: API key in header Authorization

Request body

Orderunknown
Linesunknown
Datestring date-time

Gets or sets the date associated with the operation or entity.

InvoiceNumberstring nullable

Gets or sets the invoice number associated with the current transaction.

Simulateboolean

Gets or sets a value indicating whether the operation should be simulated or to create purchase proforma invoice.

SendEmailboolean

Gets or sets a value indicating whether email is sent for the invioce is enabled.

SendXMLboolean

Gets or sets a value indicating whether OIOUBLL data should be sent during the operation.

OrderNumberinteger

Gets or sets the order number for the creiditor order.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.