Create one charge association
post
/fscmRestApi/resources/11.13.18.05/invoiceLinesForLandedCosts/{invoiceLinesForLandedCostsUniqID}/child/chargeAssociations
Request
Path Parameters
-
invoiceLinesForLandedCostsUniqID(required): string
This is the hash key of the attributes which make up the composite key--- InvoiceId and InvoiceLineNumber ---for the Invoice Lines for Landed Costs resource and used to uniquely identify an instance of Invoice Lines for Landed Costs. The client should not generate the hash key value. Instead, the client should query on the Invoice Lines for Landed Costs collection resource with a filter on the primary key values in order to navigate to a specific instance of Invoice Lines for Landed Costs.
For example: invoiceLinesForLandedCosts?q=InvoiceId=<value1>;InvoiceLineNumber=<value2>
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ActiveIndicator(required): string
Maximum Length:
1Indicates the most recent record for the charge invoice association. -
AssociationModeCode(required): number
Abbreviation that identifies the mode of the invoice association.
-
AssociationStatusCode(required): number
Abbreviation that uniquely identifies the status of the invoice association with the charge line. Valid values include Needs Review, Deleted, Rejected, and Associated.
-
chargeAssociationDetails: array
Association Details with Trade Operation Charge Lines
Title:
Association Details with Trade Operation Charge LinesAssociation details for matching the invoice line to the trade operation charge line. -
ChargeInvoiceAssociationId: integer
(int64)
Unique identifier for a charge invoice association.
-
EnteredDate(required): string
(date-time)
Date on which the actual amount for charges are established or canceled.
-
ExternalSystemReference: string
Maximum Length:
60Identifier of the source system that owns the invoice entity. -
FunctionalCurrencyAmount: number
Amount on the invoice line in the functional currency of the invoice.
-
FunctionalCurrencyCode: string
Maximum Length:
15Abbreviation that identifies the functional currency. -
FunctionalCurrencyTax: number
Nonrecoverable tax on the invoice line in the invoice functional currency.
-
InvoiceAmount(required): number
Amount on the invoice line.
-
InvoiceCurrencyCode(required): string
Maximum Length:
15Abbreviation that identifies the invoice currency. -
InvoiceId(required): integer
(int64)
Value that uniquely identifies the invoice.
-
InvoiceLineNumber(required): integer
(int64)
Number that identifies a line on the invoice.
-
InvoiceTax: number
Nonrecoverable Tax in Invoice Currency
-
Rank: integer
(int64)
Indicates the rank of the potential matches.
-
TradeOperationChargeId(required): integer
(int64)
Unique identifier of the trade operation charge.
-
UserComments: string
Maximum Length:
2000Comments added by the user.
Nested Schema : Association Details with Trade Operation Charge Lines
Type:
arrayTitle:
Association Details with Trade Operation Charge LinesAssociation details for matching the invoice line to the trade operation charge line.
Show Source
Nested Schema : invoiceLinesForLandedCosts-chargeAssociations-chargeAssociationDetails-item-post-request
Type:
Show Source
object-
AssociationAttributeType: number
Association Attributes
-
ChargeInvoiceAssociationDetailsId: integer
(int64)
Unique identifier of a charge invoice association detail.
-
ChargeInvoiceAssociationId: integer
(int64)
Unique identifier of a charge invoice association.
-
ChargeLineChargeId: integer
(int64)
Unique identifier of the charge associated with charge line.
-
ChargeLineReferenceValueNumber: number
Number type reference value associated with the charge line.
-
ChargeLineReferenceValueString: string
Maximum Length:
64String type reference value associated with the charge line. -
ChargeLineReferenceValueTimestamp: string
(date-time)
Date type reference value associated with the charge line.
-
ChargeLineSupplierId: integer
(int64)
Unique identifier of the supplier associated with the charge line.
-
ChargeLineSupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site associated with the charge line.
-
InvoiceLineChargeId: integer
(int64)
Unique identifier of the charge associated with the charge line.
-
InvoiceLineReferenceValueNumber: number
Number type reference value associated with the invoice line.
-
InvoiceLineReferenceValueString: string
Maximum Length:
64String type reference value associated with the invoice line. -
InvoiceLineReferenceValueTimestamp: string
(date-time)
Date type reference value associated with the invoice line.
-
InvoiceLineSupplierId: integer
(int64)
Unique identifier of the supplier associated with the invoice line.
-
InvoiceLineSupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site associated with the invoice line.
-
MatchStatusCode: number
Abbreviation that defines whether the status of the association is matched or unmatched.
-
ReferenceTypeId: integer
(int64)
Trade Operation Charge Reference Type ID
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : invoiceLinesForLandedCosts-chargeAssociations-item-response
Type:
Show Source
object-
ActiveIndicator: string
Maximum Length:
1Indicates the most recent record for the charge invoice association. -
AssociationDetails: string
Read Only:
trueMaximum Length:255Defines the results of the association process. -
AssociationMode: string
Read Only:
trueMaximum Length:255Value that identifies the mode of invoice association. -
AssociationModeCode: number
Abbreviation that identifies the mode of the invoice association.
-
AssociationStatus: string
Read Only:
trueMaximum Length:255Identifies the status of the association of the invoice with the charge line. -
AssociationStatusCode: number
Abbreviation that uniquely identifies the status of the invoice association with the charge line. Valid values include Needs Review, Deleted, Rejected, and Associated.
-
chargeAssociationDetails: array
Association Details with Trade Operation Charge Lines
Title:
Association Details with Trade Operation Charge LinesAssociation details for matching the invoice line to the trade operation charge line. -
ChargeCurrencyEnteredAmount: number
Read Only:
trueEntered amount in the charge currency. -
ChargeCurrencyTotal: number
Read Only:
trueTotal amount in the charge currency. -
ChargeFunctionalCurrencyTotal: number
Read Only:
trueAmount on the charge line in the functional currency of the invoice. -
ChargeId: integer
(int64)
Read Only:
trueUnique identifier for the charge in the invoice line. -
ChargeInvoiceAssociationId: integer
(int64)
Unique identifier for a charge invoice association.
-
ChargeLineNumber: integer
(int32)
Read Only:
trueNumber that identifies the charge line. -
ChargeLineStatusCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the status of the charge line. -
ChargeName: string
Read Only:
trueMaximum Length:80Name of the charge given on the invoice line. -
ChargeRequistionBUCurrencyConversionRate: number
Read Only:
trueCurrency conversion rate for the requisition BU. -
EnteredCurrencyCode: string
Read Only:
trueMaximum Length:15Abbreviation that identifies the entered currency. -
EnteredCurrencyPrecision: integer
(int32)
Title:
PrecisionRead Only:trueDefault Value:2Value that identifies the currency precision. -
EnteredDate: string
(date-time)
Date on which the actual amount for charges are established or canceled.
-
ExternalSystemReference: string
Maximum Length:
60Identifier of the source system that owns the invoice entity. -
FunctionalCurrencyAmount: number
Amount on the invoice line in the functional currency of the invoice.
-
FunctionalCurrencyCode: string
Maximum Length:
15Abbreviation that identifies the functional currency. -
FunctionalCurrencyEstimatedAmount: number
Read Only:
trueEstimated Amount in Functional Currency -
FunctionalCurrencyEstimatedTax: number
Read Only:
trueEstimated Nonrecoverable Tax in Functional Currency -
FunctionalCurrencyTax: number
Nonrecoverable tax on the invoice line in the invoice functional currency.
-
InvoiceAmount: number
Amount on the invoice line.
-
InvoiceCurrencyCode: string
Maximum Length:
15Abbreviation that identifies the invoice currency. -
InvoiceId: integer
(int64)
Value that uniquely identifies the invoice.
-
InvoiceLineNumber: integer
(int64)
Number that identifies a line on the invoice.
-
InvoiceTax: number
Nonrecoverable Tax in Invoice Currency
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NonrecoverableTax: number
Read Only:
trueNonrecoverable tax on the invoice line. -
PartyId: integer
Read Only:
trueValue that identifies the third-party supplier. -
PartyName: string
Title:
NameRead Only:trueMaximum Length:360Value that indicates the supplier on the invoice. -
Rank: integer
(int64)
Indicates the rank of the potential matches.
-
RequisitionBUCurrencyCode: string
Read Only:
trueMaximum Length:15Currency code of the requisition BU. -
RequisitionBUCurrencyPrecision: integer
(int32)
Title:
PrecisionRead Only:trueDefault Value:2Currency precision of the requisition BU. -
TradeoperationChargeEstimateId: integer
(int64)
Read Only:
trueUnique identifier of the trade operation charge estimate. -
TradeOperationChargeId: integer
(int64)
Unique identifier of the trade operation charge.
-
TradeOperationId: integer
(int64)
Read Only:
trueUnique identifier of the trade operation. -
TradeOperationName: string
Read Only:
trueMaximum Length:80Name of the trade operation associated with the charge invoice. -
TradeOperationNumber: string
Read Only:
trueMaximum Length:40Number that indicates the trade operation associated with the charge invoice. -
TradeOperationStatusCode: string
Read Only:
trueMaximum Length:30Abbreviation that identifies the status of the trade operation. -
UserComments: string
Maximum Length:
2000Comments added by the user. -
VendorId: integer
(int64)
Read Only:
trueValue that uniquely identifies the supplier rendering the service. -
VendorSiteCode: string
Title:
SiteRead Only:trueMaximum Length:240Name of the supplier site on the invoice. -
VendorSiteId: integer
(int64)
Read Only:
trueValue that uniquely identifies the supplier site rendering the service.
Nested Schema : Association Details with Trade Operation Charge Lines
Type:
arrayTitle:
Association Details with Trade Operation Charge LinesAssociation details for matching the invoice line to the trade operation charge line.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : invoiceLinesForLandedCosts-chargeAssociations-chargeAssociationDetails-item-response
Type:
Show Source
object-
AssociationAttribute: string
Read Only:
trueMaximum Length:255Attribute used for associating invoices and charge lines. -
AssociationAttributeType: number
Association Attributes
-
ChargeInvoiceAssociationDetailsId: integer
(int64)
Unique identifier of a charge invoice association detail.
-
ChargeInvoiceAssociationId: integer
(int64)
Unique identifier of a charge invoice association.
-
ChargeLineChargeId: integer
(int64)
Unique identifier of the charge associated with charge line.
-
ChargeLineChargeName: string
Read Only:
trueMaximum Length:80Name of the charge associated with charge line. -
ChargeLinePartyId: integer
Read Only:
trueValue that uniquely identifies the third-party supplier associated with charge line. -
ChargeLinePartyName: string
Title:
NameRead Only:trueMaximum Length:360Third-party supplier name associated with the charge line. -
ChargeLineReferenceValueNumber: number
Number type reference value associated with the charge line.
-
ChargeLineReferenceValueString: string
Maximum Length:
64String type reference value associated with the charge line. -
ChargeLineReferenceValueTimestamp: string
(date-time)
Date type reference value associated with the charge line.
-
ChargeLineSupplierId: integer
(int64)
Unique identifier of the supplier associated with the charge line.
-
ChargeLineSupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site associated with the charge line.
-
ChargeLineVendorId: integer
(int64)
Read Only:
trueUnique identifier of the supplier associated with the charge line. -
ChargeLineVendorSiteCode: string
Title:
SiteRead Only:trueMaximum Length:240Name of the supplier site associated with charge line. -
ChargeLineVendorSiteId: integer
(int64)
Read Only:
trueValue that uniquely identifies the supplier site associated with the charge line. -
ChargeReferenceTypeId: integer
(int64)
Read Only:
trueValue that uniquely identifies the reference type associated with the charge line. -
ChargeReferenceTypeName: string
Read Only:
trueMaximum Length:100Name of the reference type associated with the charge line. -
ChargeReferenceValueDataType: string
Read Only:
trueMaximum Length:30Reference data type associated with the charge line. -
DisplayAttributeType: string
Read Only:
trueMaximum Length:255Value that indicates the attribute type for the association details. -
InvoiceLineChargeId: integer
(int64)
Unique identifier of the charge associated with the charge line.
-
InvoiceLineChargeName: string
Read Only:
trueMaximum Length:80Name of the charge associated with the invoice line. -
InvoiceLinePartyId: integer
Read Only:
trueValue that uniquely identifies the third-party supplier associated with the invoice line. -
InvoiceLinePartyName: string
Title:
NameRead Only:trueMaximum Length:360Third-party supplier name associated with the invoice line. -
InvoiceLineReferenceValueNumber: number
Number type reference value associated with the invoice line.
-
InvoiceLineReferenceValueString: string
Maximum Length:
64String type reference value associated with the invoice line. -
InvoiceLineReferenceValueTimestamp: string
(date-time)
Date type reference value associated with the invoice line.
-
InvoiceLineSupplierId: integer
(int64)
Unique identifier of the supplier associated with the invoice line.
-
InvoiceLineSupplierSiteId: integer
(int64)
Value that uniquely identifies the supplier site associated with the invoice line.
-
InvoiceLineVendorId: integer
(int64)
Read Only:
trueUnique identifier of the supplier associated with the invoice line. -
InvoiceLineVendorSiteCode: string
Title:
SiteRead Only:trueMaximum Length:240Name of the supplier site associated with the invoice line. -
InvoiceLineVendorSiteId: integer
(int64)
Read Only:
trueValue that uniquely identifies the supplier site associated with the invoice line. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MatchStatus: string
Read Only:
trueMaximum Length:255Match Status -
MatchStatusCode: number
Abbreviation that defines whether the status of the association is matched or unmatched.
-
ReferenceTypeId: integer
(int64)
Trade Operation Charge Reference Type ID
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- chargeAssociationDetails
-
Parameters:
- ChargeInvoiceAssociationId:
$request.path.ChargeInvoiceAssociationId - invoiceLinesForLandedCostsUniqID:
$request.path.invoiceLinesForLandedCostsUniqID
Association details for matching the invoice line to the trade operation charge line. - ChargeInvoiceAssociationId:
- confirmAssociation
-
Parameters:
- ChargeInvoiceAssociationId:
$request.path.ChargeInvoiceAssociationId - invoiceLinesForLandedCostsUniqID:
$request.path.invoiceLinesForLandedCostsUniqID
Changes the status of the trade operation charge line to confirmed. - ChargeInvoiceAssociationId:
- deleteAssociation
-
Parameters:
- ChargeInvoiceAssociationId:
$request.path.ChargeInvoiceAssociationId - invoiceLinesForLandedCostsUniqID:
$request.path.invoiceLinesForLandedCostsUniqID
Changes the status of the trade operation charge line to deleted. - ChargeInvoiceAssociationId: