POST api/Orders/AddDocumentAdditionExpenses

Request Information

URI Parameters

None.

Body Parameters

ISalesOrder
NameDescriptionTypeAdditional information
OrderInfo

SalesOrderInfo

None.

OrderShipping

OrderShipping

None.

OrderItems

Collection of SalesOrderItem

None.

FlowData

FlowData

None.

AdditionalExpenses

Collection of DocumentsAdditionalExpense

None.

ExtendedAddress

Collection of ExtendedAddress

None.

Request Formats

application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of DocumentsAdditionalExpense
NameDescriptionTypeAdditional information
ExpenseCode

integer

None.

LineTotal

decimal number

None.

LineGross

decimal number

None.

BaseDocEntry

integer

None.

BaseType

integer

None.

TaxCode

string

None.

BaseDocLine

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ExpenseCode": 1,
    "LineTotal": 2.0,
    "LineGross": 3.0,
    "BaseDocEntry": 4,
    "BaseDocType": 5,
    "BaseType": 5,
    "TaxCode": "sample string 6",
    "BaseDocLine": 7
  },
  {
    "ExpenseCode": 1,
    "LineTotal": 2.0,
    "LineGross": 3.0,
    "BaseDocEntry": 4,
    "BaseDocType": 5,
    "BaseType": 5,
    "TaxCode": "sample string 6",
    "BaseDocLine": 7
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.