PUT api/financials/{documentType}/{referenceNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentType

string

Required

referenceNumber

string

Required

Body Parameters

InvoiceLine
NameDescriptionTypeAdditional information
LineId

string

None.

LineNumber

integer

None.

InventoryNumber

string

None.

StockItem

boolean

None.

TransactionDescription

string

None.

Quantity

decimal number

None.

Uom

string

None.

UnitCost

decimal number

None.

UnitCostInCurrency

decimal number

None.

Cost

decimal number

None.

CostInCurrency

decimal number

None.

DiscountPercent

decimal number

None.

DiscountAmount

decimal number

None.

DiscountAmountInCurrency

decimal number

None.

DiscountUnitCost

decimal number

None.

DiscountUnitCostInCurrency

decimal number

None.

ManualDiscount

boolean

None.

Account

IAccount

None.

Subaccount

ISubaccount

None.

DeferralSchedule

integer

None.

DeferralCode

string

None.

VatCode

IVatCode

None.

PoNumber

string

None.

PoLineNr

integer

None.

PoReceiptNbr

string

None.

PoReceiptLineNbr

integer

None.

BranchNumber

IBranchNumber

None.

Note

string

None.

SplitHierarchy

string

None.

Project

IProject

None.

ProjectTask

IProject

None.

Attachments

Collection of IAttachment

None.

RetainagePct

decimal number

None.

CuryRetainageAmt

decimal number

None.

TermStartDate

date

None.

TermEndDate

date

None.

ReadOnly

boolean

None.

Request Formats

application/json, text/json, application/vnd.VismaMobile.v2+json

Sample:
{
  "lineId": "sample string 1",
  "lineNumber": 2,
  "inventoryNumber": "sample string 3",
  "stockItem": true,
  "transactionDescription": "sample string 5",
  "quantity": 6.1,
  "uom": "sample string 7",
  "unitCost": 8.1,
  "unitCostInCurrency": 9.1,
  "cost": 10.1,
  "costInCurrency": 11.1,
  "discountPercent": 12.1,
  "discountAmount": 13.1,
  "discountAmountInCurrency": 14.1,
  "discountUnitCost": 15.1,
  "discountUnitCostInCurrency": 16.1,
  "manualDiscount": true,
  "account": null,
  "subaccount": null,
  "deferralSchedule": 18,
  "deferralCode": "sample string 19",
  "vatCode": null,
  "poNumber": "sample string 20",
  "poLineNr": 21,
  "poReceiptNbr": "sample string 22",
  "poReceiptLineNbr": 23,
  "branchNumber": null,
  "note": "sample string 24",
  "splitHierarchy": "sample string 25",
  "project": null,
  "projectTask": null,
  "attachments": null,
  "retainagePct": 26.1,
  "curyRetainageAmt": 27.1,
  "termStartDate": "2024-11-27T09:46:40.865222+00:00",
  "termEndDate": "2024-11-27T09:46:40.865222+00:00",
  "readOnly": true
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.