Credit Memo Line

The Credit Memo Line object represents a record of a credit memo line generated in the ERP system.

Field
Type
Description

id

string

A unique identifier for the credit memo line.

Example: CRL-8003-9067-8612-0001

description

string

A description of the credit memo line.

Example: Microsoft 365 Business Premium

description2

string

A secondary description of the credit memo line.

Example: Monthly Subs incl SoftwareOne Cloud Support Basic

documentNo

string

A reference to the document number.

Example: CH-CM-159960

erpData

Represents the credit memo line fields from the ERP system.

Example:

{
  "dataOrigin": 0,
  "navisionCountryCode": "SG",
  "primary": {
    "identifier": "UBS_GLOBAL",
    "value": "43233004",
    "version": "VERSION1"
  },
  "secondary": {
    "identifier": "STAR CODE",
    "value": "SEQ11G12J",
    "version": "1.0"
  },
  "rowVersion": 1646155461,
  "type": 2
}

itemNo

string

A reference to the item number.

Example:

{
  "start": "2021-01-01 00:00:00.000Z",
  "end": "2021-01-29 00:00:00.000Z"
}

lineNo

int

A reference to the line number.

Example: 1000

price

The credit memo line price.

Example:

{
  "amount": 15.0,
  "amountIncludingVat": 16.35,
  "discountAmount": 0.0,
  "invoiceDiscountAmount": 0.0,
  "lineAmount": 15.0,
  "purchaseCurrencyCode": "SGD",
  "purchaseCurrencyFactor": 0.0,
  "purchasePrice": 10.0,
  "purchasePriceLcy": 10.0,
  "purchasePriceTotal": 10.0,
  "purchasePriceTotalLcy": 10.0,
  "quantity": 1,
  "salesMarkup": 94.81,
  "salesMargin": 48.65,
  "unitPrice": 15.0,
  "vatBaseAmount": 15.0,
  "vatCalculationType": 0,
  "vatPercent": 9.0
}

CreditMemoLineErpData

Field
Type
Description

contractNo

string

Example: SG-CCO-388527

countryOfUsage

string

Example: SG

dataOrigin

integer

Example: 0

externalPositionNo

string

Example: 1

navisionCountryCode

string

Example: SG

parentItemNo

string

Example: X123.00086.ML

primary

erpCode

Example:

{
  "identifier": "UBS_GLOBAL",
  "value": "43233004",
  "version": "VERSION1"
}

secondary

erpCode

Example:

{
  "identifier": "STAR CODE",
  "value": "SEQ11G12J",
  "version": "1.0"
}

rowVersion

ulong

Example: 1646155461

responsibilityCenterCode

string

Example: WISC

swoPurchaseOrderNo

string

Example: US-RET-151037

type

integer

Example: 2.

unitOfMeasure

string

Example: Pieces

varAgreementNo

string

Example: US-VAG-101782

varPartnerNo

string

Example: US-VAR-109388

CreditMemoLinePrice

Field
Type
Description

amount

decimal

Example: 15.00000

amountIncludingVat

decimal

Example: 16.35000

discountAmount

decimal

Example: 0.00000

invoiceDiscountAmount

decimal

Example: 0.00000

lineAmount

decimal

Example: 15.00000

purchaseCurrencyCode

decimal

Example: SGD

purchaseCurrencyFactor

decimal

Example: 0.0000000000

purchasePrice

decimal

Example: 10.00000

purchasePriceLcy

decimal

Example: 10.00000

purchasePriceTotal

decimal

Example: 10.00000

purchasePriceTotalLcy

decimal

Example: 10.00000

quantity

integer

Example: 1

salesMargin

decimal

Example: 48.6500000000

salesMarkup

decimal

Example: 94.8100000000

unitPrice

decimal

Example: 15.00000

vatBaseAmount

decimal

Example: 15.00000

vatCalculationType

integer

Example: 0

vatPercent

decimal

Example: 9.00

Last updated

Was this helpful?