Invoices

Upload invoice-file from stream - creates new invoice

Upload invoice-file from stream. Creates a new invoice. Use UpdateInvoice to populate object with additional data.

post/api/Invoices/AddInvoice

Request

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

Query parameters

fileNamestring required

Name of uploaded invoice file

projectIdstring nullable

Project connected to the created invoice (Optional)

orderIdstring nullable

Order connected to the created invoice (Optional)

Response

Invoice added successfully

idstring nullable

Invoice ID

urlstring nullable

Invoice URL (invoice PDF or other external url)

invoiceNumberstring nullable

Invoice number

invoiceTypestring nullable

Invoice type [Ingoing, Outgoing, ]

invoiceDatestring date-time

Invoice date

customerIdstring nullable

Customer ID

customerNamestring nullable

Customer name

customerEmailstring nullable

Customer email

customerTypestring nullable

Customer type (Business / Private)

invoiceDueDatestring date-time

Invoice due date

kidstring nullable

Invoice KID-number (Norwegian customer identification number)

commentstring nullable

Invoice comment

orderIdstring nullable

Original order Id

projectIdstring nullable

Id of related project

deliveryDatestring date-time

Deliver date

amountnumber

In the order currency, typically USD, SEK, NOK.

amountExcludingTaxnumber

Amount excluding tax

amountRoundoffnumber

Amount of round off to nearest integer

amountOutstandingnumber

The amount outstanding

currencystring nullable

Invoice currency

isCreditNoteboolean

True if invoice is a credit note

originstring nullable

Where the invoice originated (Which system provided the ID)

storeIdstring nullable

Invoice store ID

marketIdstring nullable

Invoice market ID

modifiedstring date-time

Modified date

createdstring date-time

Created date

paymentMethodNamestring nullable

Payment method

Changes

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