Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SupplierInvoiceTax" of service "API_SUPPLIERINVOICE_PROCESS_SRV". This service is part of the following communication scenarios: Supplier Invoice Integration (SAP_COM_0057). See https://api.sap.com/api/API_SUPPLIERINVOICE_PROCESS_SRV for more information.

Hierarchy

  • any
    • SupplierInvoiceTax

Implements

Index

Properties

documentCurrency

documentCurrency: string

Currency Key. Currency key for amounts in the system. Maximum length: 5.

nullable

fiscalYear

fiscalYear: string

Fiscal Year. Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be. Maximum length: 4.

supplierInvoice

supplierInvoice: string

Document Number of an Invoice Document. Number which uniquely identifies an invoice document. The invoice document number is unique in every company code and fiscal year. Depending on the system configuration, the invoice document number can either be entered manually or be assigned internally by the system from a predefined number range. Maximum length: 10.

supplierInvoiceTaxCounter

supplierInvoiceTaxCounter: string

Document Item in Invoice Document. By entering the number of an item in an invoice document, you can go straight to the line that you want to process. The system places the line selected at the top of the invoice item display. Maximum length: 6.

taxAmount

taxAmount: BigNumber

Tax Amount in Document Currency with +/- Sign. Tax amount with +/- sign that is calculated from the tax code.

nullable

taxBaseAmountInTransCrcy

taxBaseAmountInTransCrcy: BigNumber

Tax Base Amount in Document Currency. Amount from which the tax amount is calculated by means of the tax rate.

nullable

taxCode

taxCode: string

Tax code. Maximum length: 2.

taxJurisdiction

taxJurisdiction: string

Tax Jurisdiction. The tax jurisdiction is used for determining the tax rates in the USA. It defines to which tax authorities you must pay your taxes. It is always the city to which the goods are supplied. Maximum length: 15.

nullable

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', SupplierInvoiceTax)

All fields selector.

Static DOCUMENT_CURRENCY

DOCUMENT_CURRENCY: StringField<SupplierInvoiceTax> = new StringField('DocumentCurrency', SupplierInvoiceTax, 'Edm.String')

Static representation of the documentCurrency property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static FISCAL_YEAR

FISCAL_YEAR: StringField<SupplierInvoiceTax> = new StringField('FiscalYear', SupplierInvoiceTax, 'Edm.String')

Static representation of the fiscalYear property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SUPPLIER_INVOICE

SUPPLIER_INVOICE: StringField<SupplierInvoiceTax> = new StringField('SupplierInvoice', SupplierInvoiceTax, 'Edm.String')

Static representation of the supplierInvoice property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SUPPLIER_INVOICE_TAX_COUNTER

SUPPLIER_INVOICE_TAX_COUNTER: StringField<SupplierInvoiceTax> = new StringField('SupplierInvoiceTaxCounter', SupplierInvoiceTax, 'Edm.String')

Static representation of the supplierInvoiceTaxCounter property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TAX_AMOUNT

TAX_AMOUNT: BigNumberField<SupplierInvoiceTax> = new BigNumberField('TaxAmount', SupplierInvoiceTax, 'Edm.Decimal')

Static representation of the taxAmount property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TAX_BASE_AMOUNT_IN_TRANS_CRCY

TAX_BASE_AMOUNT_IN_TRANS_CRCY: BigNumberField<SupplierInvoiceTax> = new BigNumberField('TaxBaseAmountInTransCrcy', SupplierInvoiceTax, 'Edm.Decimal')

Static representation of the taxBaseAmountInTransCrcy property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TAX_CODE

TAX_CODE: StringField<SupplierInvoiceTax> = new StringField('TaxCode', SupplierInvoiceTax, 'Edm.String')

Static representation of the taxCode property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TAX_JURISDICTION

TAX_JURISDICTION: StringField<SupplierInvoiceTax> = new StringField('TaxJurisdiction', SupplierInvoiceTax, 'Edm.String')

Static representation of the taxJurisdiction property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [SupplierInvoiceTax.SUPPLIER_INVOICE,SupplierInvoiceTax.FISCAL_YEAR,SupplierInvoiceTax.TAX_CODE,SupplierInvoiceTax.SUPPLIER_INVOICE_TAX_COUNTER,SupplierInvoiceTax.DOCUMENT_CURRENCY,SupplierInvoiceTax.TAX_AMOUNT,SupplierInvoiceTax.TAX_BASE_AMOUNT_IN_TRANS_CRCY,SupplierInvoiceTax.TAX_JURISDICTION]

All fields of the SupplierInvoiceTax entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_SUPPLIERINVOICE_PROCESS_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_SupplierInvoiceTax"

Technical entity name for SupplierInvoiceTax.

Static _keyFields

_keyFields: Array<Selectable<SupplierInvoiceTax>> = [SupplierInvoiceTax.SUPPLIER_INVOICE, SupplierInvoiceTax.FISCAL_YEAR, SupplierInvoiceTax.TAX_CODE, SupplierInvoiceTax.SUPPLIER_INVOICE_TAX_COUNTER]

All key fields of the SupplierInvoiceTax entity.

Static _keys

_keys: any = SupplierInvoiceTax._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property SupplierInvoiceTax.

Static _serviceName

_serviceName: string = "API_SUPPLIERINVOICE_PROCESS_SRV"

Technical service name for SupplierInvoiceTax.

Methods

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity SupplierInvoiceTax.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SupplierInvoiceTax>

    A builder that constructs instances of entity type SupplierInvoiceTax.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the SupplierInvoiceTax entity type.

    Returns SupplierInvoiceTaxRequestBuilder

    A SupplierInvoiceTax request builder.