Create a tax document
post
/fscmRestApi/resources/11.13.18.05/taxDocumentSetups
Request
Header Parameters
-
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AllowElectronicFlag: boolean
Title:
Allow electronic deliveryMaximum Length:1Default Value:falseIndicates whether electronic delivery of the tax document is allowed. The default is false. -
BusinessUnitId(required): integer
(int64)
Title:
Business Unit IDIdentifier of the academic business unit. -
BusinessUnitName: string
Title:
Business Unit NameMaximum Length:240Name of the academic business unit. -
ConsentMessage: string
Title:
Acknowledgment MessageMaximum Length:1000Default Value:-User-entered message that displays when consent for electronic delivery is required. -
DocumentTypeCode(required): string
Maximum Length:
30Unique tax document type code. -
IdentificationNumber(required): string
Title:
Tax Identification NumberMaximum Length:100User-entered identification number of the tax reporting institution. -
LinkDisplayName: string
Title:
Link Display NameMaximum Length:100Default Value:-User-entered display name for hyperlink that can be displayed on the student tax document page. -
LinkDisplayURL: string
Title:
Link URLMaximum Length:100Default Value:-User-entered hyperlink URL that can be displayed on the student tax document page. -
NotificationMessage: string
Title:
Tax Document Notification MessageMaximum Length:1000Default Value:-User-entered message that can be displayed on the student tax document page. -
RequireConsentFlag: boolean
Title:
Require consent for electronic deliveryMaximum Length:1Default Value:falseIndicates whether individual consent to electronic deliver of the tax document is required. The default is false. -
TaxDocumentSetupCode(required): string
Title:
Document CodeMaximum Length:30Unique, user-defined code for the tax document. -
TaxDocumentSetupName(required): string
Title:
Document NameMaximum Length:50Name of the tax document. -
taxPeriods: array
Tax Periods
Title:
Tax PeriodsThe tax periods associated with a tax document. Tax periods are the ranges of time for which a tax document reports financial information.
Nested Schema : Tax Periods
Type:
arrayTitle:
Tax PeriodsThe tax periods associated with a tax document. Tax periods are the ranges of time for which a tax document reports financial information.
Show Source
Nested Schema : schema
Type:
Show Source
object-
CalendarItemId(required): integer
(int64)
Unique identifier of the system calendar item.
-
ContactId(required): integer
(int64)
Unique identifier of the external organization contact.
-
ExternalOrgId(required): integer
(int64)
Unique identifier for an external organization.
-
ExternalOrgName(required): string
Title:
External OrganizationsMaximum Length:360Name of the external organization. -
PeriodCode(required): string
Title:
Tax Period CodeMaximum Length:30Unique, user-defined code for the tax period. -
PeriodEndDate: string
(date-time)
Title:
Tax Period End DateThe end date of the tax period. -
PeriodName(required): string
Title:
Tax Period NameMaximum Length:240Name of the tax period. -
PeriodStartDate(required): string
(date-time)
Title:
Tax Period Start DateThe start date of the tax period. -
taxPeriodAttributes: array
Tax Period Attributes
Title:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits. -
taxPeriodCriteria: array
Tax Period Criteria
Title:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period. -
TaxPeriodId: integer
(int64)
Unique identifier for a tax period.
Nested Schema : Tax Period Attributes
Type:
arrayTitle:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits.
Show Source
Nested Schema : Tax Period Criteria
Type:
arrayTitle:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period.
Show Source
Nested Schema : schema
Type:
Show Source
object-
Description: string
Maximum Length:
1000Description of the tax period document attribute. -
TaxDocumentAttributeCode: string
Maximum Length:
30Code of the tax document setup. -
TaxDocumentAttributeId: integer
(int64)
Unique identifier of the tax document attribute.
-
Value: string
Maximum Length:
100Indicates the value of the tax period document attribute. This can either be the box number during template creation or can indicate the true or false option of the tax document option attributes.
Nested Schema : schema
Type:
Show Source
object-
CriteriaTypeCode: string
Maximum Length:
30Code of the calculation criteria associated with the tax period. -
ValueNumeric: number
Number indicating the tax period attribute being seeded.
-
ValueString: string
Maximum Length:
100Description of the tax period attribute being seeded.
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 : taxDocumentSetups-item-response
Type:
Show Source
object-
AllowElectronicFlag: boolean
Title:
Allow electronic deliveryMaximum Length:1Default Value:falseIndicates whether electronic delivery of the tax document is allowed. The default is false. -
BusinessUnitId: integer
(int64)
Title:
Business Unit IDIdentifier of the academic business unit. -
BusinessUnitName: string
Title:
Business Unit NameMaximum Length:240Name of the academic business unit. -
ConsentMessage: string
Title:
Acknowledgment MessageMaximum Length:1000Default Value:-User-entered message that displays when consent for electronic delivery is required. -
DocumentTypeCode: string
Maximum Length:
30Unique tax document type code. -
DocumentTypeMeaning: string
Title:
Document TypeRead Only:trueMaximum Length:80Name of the tax document type. -
IdentificationNumber: string
Title:
Tax Identification NumberMaximum Length:100User-entered identification number of the tax reporting institution. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time of the last update to the row. -
LinkDisplayName: string
Title:
Link Display NameMaximum Length:100Default Value:-User-entered display name for hyperlink that can be displayed on the student tax document page. -
LinkDisplayURL: string
Title:
Link URLMaximum Length:100Default Value:-User-entered hyperlink URL that can be displayed on the student tax document page. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
NotificationMessage: string
Title:
Tax Document Notification MessageMaximum Length:1000Default Value:-User-entered message that can be displayed on the student tax document page. -
RequireConsentFlag: boolean
Title:
Require consent for electronic deliveryMaximum Length:1Default Value:falseIndicates whether individual consent to electronic deliver of the tax document is required. The default is false. -
TaxDocumentSetupCode: string
Title:
Document CodeMaximum Length:30Unique, user-defined code for the tax document. -
TaxDocumentSetupId: integer
(int64)
Read Only:
trueUnique identifier for a tax document. -
TaxDocumentSetupName: string
Title:
Document NameMaximum Length:50Name of the tax document. -
taxPeriods: array
Tax Periods
Title:
Tax PeriodsThe tax periods associated with a tax document. Tax periods are the ranges of time for which a tax document reports financial information.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Tax Periods
Type:
arrayTitle:
Tax PeriodsThe tax periods associated with a tax document. Tax periods are the ranges of time for which a tax document reports financial information.
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.
Nested Schema : taxDocumentSetups-taxPeriods-item-response
Type:
Show Source
object-
CalendarItemId: integer
(int64)
Unique identifier of the system calendar item.
-
ContactEmail: string
Read Only:
trueMaximum Length:1000Primary email address of the external organization contact. -
ContactId: integer
(int64)
Unique identifier of the external organization contact.
-
ContactName: string
Title:
Contact NameRead Only:trueMaximum Length:450Name of the external organization contact. -
ContactPhone: string
Read Only:
trueMaximum Length:40Phone number of the external organization contact. -
ExternalOrgId: integer
(int64)
Unique identifier for an external organization.
-
ExternalOrgName: string
Title:
External OrganizationsMaximum Length:360Name of the external organization. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time of the last update to the row. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PeriodCode: string
Title:
Tax Period CodeMaximum Length:30Unique, user-defined code for the tax period. -
PeriodEndDate: string
(date-time)
Title:
Tax Period End DateThe end date of the tax period. -
PeriodName: string
Title:
Tax Period NameMaximum Length:240Name of the tax period. -
PeriodStartDate: string
(date-time)
Title:
Tax Period Start DateThe start date of the tax period. -
taxPeriodAttributes: array
Tax Period Attributes
Title:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits. -
taxPeriodCriteria: array
Tax Period Criteria
Title:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period. -
TaxPeriodId: integer
(int64)
Unique identifier for a tax period.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Tax Period Attributes
Type:
arrayTitle:
Tax Period AttributesThe financial attributes used to generate a tax document for a tax period. Financial attributes include fees, payments, and credits.
Show Source
Nested Schema : Tax Period Criteria
Type:
arrayTitle:
Tax Period CriteriaThe calculation logic used to generate a tax document for a period.
Show Source
Nested Schema : taxDocumentSetups-taxPeriods-taxPeriodAttributes-item-response
Type:
Show Source
object-
Description: string
Maximum Length:
1000Description of the tax period document attribute. -
DocumentAttributeTypeCode: string
Read Only:
trueMaximum Length:150Code of the tax document attribute type. -
DocumentAttributeTypeMeaning: string
Read Only:
trueMaximum Length:80Name of the tax document attribute type. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TaxDocumentAttributeCode: string
Maximum Length:
30Code of the tax document setup. -
TaxDocumentAttributeId: integer
(int64)
Unique identifier of the tax document attribute.
-
TaxDocumentAttributeName: string
Read Only:
trueMaximum Length:150Name of the tax document setup. -
TaxPeriodAttributeId: integer
(int64)
Read Only:
trueUnique identifier of the tax period attribute. -
Value: string
Maximum Length:
100Indicates the value of the tax period document attribute. This can either be the box number during template creation or can indicate the true or false option of the tax document option attributes.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : taxDocumentSetups-taxPeriods-taxPeriodCriteria-item-response
Type:
Show Source
object-
CriteriaTypeCode: string
Maximum Length:
30Code of the calculation criteria associated with the tax period. -
CriteriaTypeMeaning: string
Read Only:
trueMaximum Length:80The name of the criteria type. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TaxPeriodCriteriaId: integer
(int64)
Read Only:
trueIdentifier of the calculation criteria associated with the tax period. -
ValueNumeric: number
Number indicating the tax period attribute being seeded.
-
ValueString: string
Maximum Length:
100Description of the tax period attribute being seeded.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- documentTypesLOV
-
Parameters:
- finder:
LookupTypeFinder%3BLookupType%3DORA_HES_DOCUMENT_TYPE%2CApplicationCode%3DHES%2CLookupCode%3D{DocumentTypeCode}
The following properties are defined on the LOV link relation:- Source Attribute: DocumentTypeCode; Target Attribute: LookupCode
- Display Attribute: Meaning
- finder:
- taxPeriods
-
Operation: /fscmRestApi/resources/11.13.18.05/taxDocumentSetups/{TaxDocumentSetupId}/child/taxPeriodsParameters:
- TaxDocumentSetupId:
$request.path.TaxDocumentSetupId
The tax periods associated with a tax document. Tax periods are the ranges of time for which a tax document reports financial information. - TaxDocumentSetupId: