Update a tax exemption
patch
/fscmRestApi/resources/11.13.18.05/taxExemptions/{TaxExemptionId}
Request
Path Parameters
-
TaxExemptionId(required): integer(int64)
The unique identifier of the system-generated primary key column.
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-
ApplyToLowerLevelsFlag: boolean
Title:
Apply to lower levelsMaximum Length:1Default Value:falseThe action to apply a tax exemption to all taxes that use this tax as the tax exemptions source. For example, if a STATE tax is configured as the tax exemption source for both the COUNTY and CITY tax, then checking this box applies the tax exemption at both of the COUNTY and CITY tax levels. -
ClauseReference: string
Title:
ClauseMaximum Length:30The legal tax clause on the basis of which the Letter of Intent applies to suppliers or customers. -
CustomChargeFlag: boolean
Title:
Address to customs officeMaximum Length:1Indicates whether a Letter of Intent should be addressed to the local customs office. -
CustomerAccountId: integer
(int64)
The unique identifier of the customer account associated with a tax exemption.
-
DetFactorTemplCode: string
Title:
Determining Factor Set CodeMaximum Length:30The determining factor template code associated with a tax exemption. -
EffectiveTo: string
(date)
Title:
End DateThe date when the tax exemptions stop being effective. -
ExemptCertificateNumber: string
Title:
Certificate NumberMaximum Length:80The exemption certificate number associated with a tax exemption granted by a tax authority. -
ExemptionStatusCode: string
Title:
Exempt StatusMaximum Length:30Default Value:PRIMARYThe exemption status code indicates the approval status of an exemption. The valid values are PRIMARY, MANUAL, DISCONTINUED, REJECTED, and UNAPPROVED. -
ExemptReasonCode: string
Title:
Exempt ReasonMaximum Length:30The exemption reason code associated with a tax exemption. -
SiteUseId: integer
(int64)
The unique identifier of the site use associated with a tax exemption.
-
SuspendFromDate: string
(date)
Title:
Suspension or Revocation From DateThe date from which the status of an existing tax exemption is set to REJECTED. -
SuspendToDate: string
(date)
Title:
Suspension To DateThe date to which the status of an existing tax exemption is set to either REJECTED or DISCONTINUED.
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 : taxExemptions-item-response
Type:
Show Source
object-
ApplyToLowerLevelsFlag: boolean
Title:
Apply to lower levelsMaximum Length:1Default Value:falseThe action to apply a tax exemption to all taxes that use this tax as the tax exemptions source. For example, if a STATE tax is configured as the tax exemption source for both the COUNTY and CITY tax, then checking this box applies the tax exemption at both of the COUNTY and CITY tax levels. -
ClauseReference: string
Title:
ClauseMaximum Length:30The legal tax clause on the basis of which the Letter of Intent applies to suppliers or customers. -
ContentOwner: string
Title:
Configuration OwnerMaximum Length:240The configuration owner associated with a tax exemption. -
ContentOwnerId: integer
(int64)
The unique identifier of the content owner associated with a tax exemption.
-
Country: string
Title:
CountryRead Only:trueMaximum Length:80The country in the party address for which the tax exemption applies. -
CustomChargeFlag: boolean
Title:
Address to customs officeMaximum Length:1Indicates whether a Letter of Intent should be addressed to the local customs office. -
CustomerAccountId: integer
(int64)
The unique identifier of the customer account associated with a tax exemption.
-
DetFactorTemplCode: string
Title:
Determining Factor Set CodeMaximum Length:30The determining factor template code associated with a tax exemption. -
EffectiveFrom: string
(date)
Title:
Start DateThe date when the tax exemptions start being effective. -
EffectiveTo: string
(date)
Title:
End DateThe date when the tax exemptions stop being effective. -
ExemptCertificateNumber: string
Title:
Certificate NumberMaximum Length:80The exemption certificate number associated with a tax exemption granted by a tax authority. -
ExemptionStatusCode: string
Title:
Exempt StatusMaximum Length:30Default Value:PRIMARYThe exemption status code indicates the approval status of an exemption. The valid values are PRIMARY, MANUAL, DISCONTINUED, REJECTED, and UNAPPROVED. -
ExemptionTypeCode: string
Title:
Exemption Rate TypeMaximum Length:30Default Value:DISCOUNTThe lookup code that indicates the exemption type. Possible values are DISCOUNT, SURCHARGE, and SPECIAL RATE. The exemption rate type attribute represents the method of calculating the tax exemption percentage. -
ExemptionUsageCode: string
Title:
CodeMaximum Length:30The exemption usage code that identifies the activity for which a tax exemption is granted by a tax authority. -
ExemptReasonCode: string
Title:
Exempt ReasonMaximum Length:30The exemption reason code associated with a tax exemption. -
InventoryOrgId: integer
The unique identifier of the inventory organization associated with an item referenced in a tax exemption.
-
IssueDate: string
(date)
Title:
Letter DateThe date when a tax exemption is issued. -
IssueFlag: boolean
Title:
Prepare Letter of IntentMaximum Length:1Indicates whether to create or register the Letter of Intent based on the party type chosen. The Letter of Intent is issued to indicate the VAT exemption limit applicable to a supplier or customer. -
IssuingTaxAuthority: string
Title:
Issuing Tax AuthorityThe tax authority that issued an exemption. -
IssuingTaxAuthorityId: integer
(int64)
The unique identifier of the issuing tax authority that has granted a tax exemption.
-
ItemNumber: string
Title:
Item NumberThe inventory item number for which a tax exemption applies. -
LimitAmount: number
Title:
Exemption AmountThe dollar amount limit for a granted tax exemption. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Organization: string
Title:
Inventory OrganizationThe name of the corresponding inventory organization for an item that is eligible for a tax exemption. This is applicable for product-specific tax exemptions. -
PartyName: string
Title:
Party NameRead Only:trueMaximum Length:360The party name associated with a tax exemption. -
PartyNumber: string
Title:
Party NumberMaximum Length:30The party number associated with a tax exemption. -
PartySiteNumber: string
Title:
Party Site NumberMaximum Length:30The party site number associated with a tax exemption. -
PartyTaxAllowOffsetTaxFlag: boolean
Title:
Allow offset tax calculationIndicates whether the party tax profile has been configured to allow offset tax calculation. The default value is NO. -
PartyTaxClassificationCode: string
Title:
Tax Classification CodeThe tax classification code for the party tax profile associated with a tax exemption. -
PartyTaxInclusiveTaxFlag: boolean
Title:
Set Invoice Values as Tax InclusiveIndicates whether the party tax profile has been configured to allow inclusive tax calculation. -
PartyTaxProcessForApplicabilityFlag: boolean
Title:
Tax ApplicabilityIndicates whether the party tax profile definition is applied as part of the tax determination process. -
PartyTaxProfileId: integer
(int64)
The unique identifier of the party tax profile associated with a tax exemption.
-
PartyTaxRoundingLevelCode: string
Title:
Rounding LevelThe value that specifies the rounding to be applied to party tax amounts on a transaction. -
PartyTaxRoundingRuleCode: string
Title:
Rounding RuleThe rounding rule code for the party tax profile associated with a tax exemption. -
PartyType: string
Title:
Party TypeThe party type associated with a tax exemption. -
PartyTypeCode: string
Title:
Party TypeMaximum Length:30The party type code associated with a tax exemption. -
PartyTypeFlag: boolean
Title:
Party TypeMaximum Length:1Indicates whether a tax exemption party type is a customer or a supplier. The default value is CUSTOMER. -
PartyUsage: string
Title:
Party UsageRead Only:trueMaximum Length:17Indicates whether a third-party tax exemption is applicable to a customer or supplier. -
PrintFlag: boolean
Title:
Letter of Intent ready to printMaximum Length:1Indicates whether a tax exemption letter of intent is ready to print. The default value is NO. -
ProductId: integer
The unique identifier of the product for which a tax exemption applies.
-
RateModifier: number
Title:
Exemption PercentageThe exemption percentage associated with a tax exemption. -
RecordingDate: string
(date)
Title:
Recording DateThe date when a tax exemption is recorded. -
RecordTypeCode: string
Title:
Party TypeMaximum Length:30The record type code of a tax exemption. -
ReportingCodeChar: string
Title:
Tax Reporting CodeThe value of the reporting code associated with a tax exemption. -
ReportingCodeId: integer
The unique identifier of the reporting code associated with a tax exemption.
-
ReportingCodeName: string
Title:
Tax Reporting CodeThe name of the reporting code associated with a tax exemption. -
ReportingTypeId: integer
The unique identifier of the reporting type associated with a tax exemption.
-
ReportingTypeName: string
Title:
Tax Reporting Type NameThe name of the reporting type associated with a tax exemption. -
SiteUseId: integer
(int64)
The unique identifier of the site use associated with a tax exemption.
-
SuspendFromDate: string
(date)
Title:
Suspension or Revocation From DateThe date from which the status of an existing tax exemption is set to REJECTED. -
SuspendToDate: string
(date)
Title:
Suspension To DateThe date to which the status of an existing tax exemption is set to either REJECTED or DISCONTINUED. -
Tax: string
Title:
TaxMaximum Length:30A specific tax for which an existing tax exemption is applied. -
TaxExemptionId: integer
(int64)
The unique identifier of the system-generated primary key column.
-
TaxJurisdictionCode: string
Title:
Tax Jurisdiction CodeThe tax jurisdiction code that identifies the location for which a tax exemption has been granted by a tax authority. -
TaxJurisdictionId: integer
(int64)
The unique identifier of the tax jurisdiction for which the tax exemption applies.
-
TaxRateCode: string
Title:
Rate CodeMaximum Length:50A specific tax rate for which an existing tax exemption is applied. -
TaxRegimeCode: string
Title:
Tax Regime CodeMaximum Length:30A specific tax regime for which an existing tax exemption is applied. -
TaxStatusCode: string
Title:
Status CodeMaximum Length:30A specific tax status for which an existing tax exemption is applied.
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
- taxAuthorityProfiles
-
The list of values for issuing tax authority for the tax exemption.
The following properties are defined on the LOV link relation:- Source Attribute: IssuingTaxAuthority; Target Attribute: PartyName
- Display Attribute: PartyName, PartyTaxProfileId
Examples
The following example shows how to update a tax exemption by submitting a PATCH request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/json" -X PATCH -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632
Example Request Payload
The following example shows the contents of the request body in JSON format:
{
"TaxJurisdictionCode": "FL"
}Example of Response Header
The following shows an example of the response header.
Status: HTTP/1.1 200 OK Content-Type : application/vnd.oracle.adf.resourceitem+json application/json
Example of Response Body
The following example shows the contents of the response body in JSON format:
{
"PartyTypeCode": "THIRD_PARTY_SITE",
"PartyName": "REL11FSCMCMN_ORG2",
"PartyNumber": "CDRM_110738",
"PartySiteNumber": "CDRM_105458",
"PartyType": null,
"ExemptionUsageCode": "N",
"TaxRegimeCode": "ES IGIC",
"ContentOwner": "AB Investment Services",
"Tax": "ES IGIC",
"TaxStatusCode": "ES IGIC EXEMPT",
"TaxRateCode": "ES IGIC EXEMPT",
"TaxJurisdictionCode": "FL",
"ItemNumber": null,
"Organization": null,
"EffectiveFrom": "2015-03-22",
"EffectiveTo": "2019-03-22",
"ExemptCertificateNumber": "8888",
"RecordingDate": null,
"IssueDate": null,
"ExemptionTypeCode": "SPECIAL_RATE",
"RateModifier": 10,
"ExemptionStatusCode": "PRIMARY",
"IssuingTaxAuthority": null,
"ApplyToLowerLevelsFlag": false,
"SuspendFromDate": null,
"SuspendToDate": null,
"LimitAmount": null,
"ExemptReasonCode": "Research",
"ClauseReference": null,
"IssueFlag": null,
"PartyTypeFlag": false,
"PrintFlag": null,
"PartyUsage": "CUSTOMER",
"Country": null,
"ContentOwnerId": 300100036750370,
"CustomerAccountId": null,
"CustomChargeFlag": null,
"DetFactorTemplCode": null,
"InventoryOrgId": 300100051148316,
"IssuingTaxAuthorityId": 300100002767831,
"PartyTaxProfileId": 300100059769624,
"ProductId": null,
"RecordTypeCode": "USER_DEFINED",
"SiteUseId": null,
"TaxJurisdictionId": 100000012508262,
"TaxExemptionId": 300100059769632,
"ReportingTypeId": null,
"ReportingCodeId": null,
"ReportingTypeName": null,
"ReportingCodeName": null,
"ReportingCodeChar": null,
"PartyTaxAllowOffsetTaxFlag": null,
"PartyTaxRoundingLevelCode": null,
"PartyTaxInclusiveTaxFlag": null,
"PartyTaxClassificationCode": null,
"PartyTaxRoundingRuleCode": null,
"PartyTaxProcessForApplicabilityFlag": null,
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632",
"name": "taxExemptions",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632",
"name": "taxExemptions",
"kind": "item"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/clauseRefs",
"name": "clauseRefs",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/inventoryOrgs",
"name": "inventoryOrgs",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/exemptionTypeLookups",
"name": "exemptionTypeLookups",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/partyTypeLookups",
"name": "partyTypeLookups",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/taxJurisdictions",
"name": "taxJurisdictions",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/taxReportingCodes",
"name": "taxReportingCodes",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/items",
"name": "items",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/taxReportingTypes",
"name": "taxReportingTypes",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/taxLookupforExemptionReasonCodes",
"name": "taxLookupforExemptionReasonCodes",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/exemptionStatusLookups",
"name": "exemptionStatusLookups",
"kind": "collection"
},
{
"rel": "lov",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/taxExemptions/300100059769632/lov/taxAuthorityProfiles",
"name": "taxAuthorityProfiles",
"kind": "collection"
}
]
}