Skip to main content

Invoicing and delivering sales order salesorderinvoicing.nv

Resource: salesorderinvoicing.nv

HTTP-method: POST

This resource can be used for invoicing and/or delivering an existing sales order. The mandatory elements used in the resource can be queried using two different resources, salesinvoicelist.nv and getorder.nv. The salesinvoicelist.nv resource retrieves the sales order list, from which the sales order identifier, or NetvisorKey, is extracted. With the identifier, more detailed information about a single sales order can be retrieved at a time using the getorder.nv resource

Querystring parameters:

Parameter

Occurs

Description

method

1

deliveryonly (only delivered) tai billanddelivery (to be delivered and invoiced)

copysublines

0...1

Copy subtotal rows to invoice; true or false

updatemidprice

0...1

Update the current average price for the products on the invoice row; true or false

The following describes the imported XML message (POST):

Level

Element

Type and length

Occurs

Desc

Esimerkki

1

root

Aggr.

1

2

salesorderinvoicing

Aggr.

1



3

invoicingcustomer

Aggr.

1



4

netvisorkey

String

1

Invoicing customer NetvisorID

1031

4

invoicedate

Date

1

Order date

2021-04-16

Attr.

format

Sting

1

Date format, always ansi

ansi

4

invoicingproductlines

Aggr.

1

Rows to be invoiced/delivered


5

invoicingproductline

Aggr.

1...n



6

netvisorkey

Numeric

1

NetvisorID of the sales order line

123

6

deliverydate

Date

1

Delivery date of the sales order line

2021-04-16

Attr.

format

String

1

Date format, always ansi

ansi

6

deliveryamount

String

1

Delivered amount

1

Attr.

ispostdelivery

Sting

1

Is post delivery; true or false

false

7

inventoryplace

String

0...1

Inventory place ID

321

Attr.

type

String

1

Always netvisor

netvisor

Did this answer your question?