CustomFieldSpecificationRequestDto
fieldNamestringrequired
The name of the custom field
Example:
Supplier IDfieldTypeCustomFieldTypeEnumrequired
The type of the custom field, indicating whether it is a text or number field.
Possible values: [Text, Number]
Example:
TextfieldLevelFieldLevelEnum2required
The level of the custom field indicating whether it applies to the header or line level of a document.
Possible values: [Header, Line]
Example:
HeaderfieldDescriptionstringnullable
The description of the custom field.
Example:
The ID of the supplier.fieldExtractionInstructionstringrequired
The extraction instruction for the custom field.
Example:
Extract the supplier ID from the document.CustomFieldSpecificationRequestDto
{
"fieldName": "Supplier ID",
"fieldType": "Text",
"fieldLevel": "Header",
"fieldDescription": "The ID of the supplier.",
"fieldExtractionInstruction": "Extract the supplier ID from the document."
}