This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] TI-API: 财务文档 API 状态代码和含义

  • 具体场景 错误详情 补救步骤
    输入不能为空
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40016",
    			"Type": "ERROR",
    			"Message": "Input cannot be blank."
    		}
    	]
    }
    客户应递交有效输入。 
    CustomerGlobalIdentifier为必填项
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40010",
    			"Type": "ERROR",
    			"Message": "CustomerGlobalIdentifier is required."
    		}
    	]
    }
    CustomerGlobalIdentifier为必填项。请联系TI API 支持 (api-portal.ti.com/support)
    sold-to号码为空或无效
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40020",
    			"Type": "ERROR",
    			"Message": "The sold-to number is blank or invalid. Confirm and re-enter."
    		}
    	]
    }
    客户应在请求中递交有效的 CustomerSoldToIdentifier。 此字段不能为空。 
    sold-to号码超过最大长度17 
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40030",
    			"Type": "ERROR",
    			"Message": "Provide one of the following - the document number, your reference number,the delivery number or the purchase order number."
    		}
    	]
    }
    客户应在请求中递交有效的 CustomerSoldToIdentifier。 该值的长度不能超过17个字符。
    必须填写四个字段之一
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40032",
    			"Type": "ERROR",
    			"Message": "Provide one of the following - the document number, your reference number,the delivery number or the purchase order number."
    		}
    	]
    }
    客户只能在请求中递交一个有效的 SupplierFinancialDocumentIdentifier 或 CustomerReferenceIdentifier 或 SupplierDeliveryIdentifier 或 CustomerPurchaseOrderIdentifier。
    只能填写四个字段中的一个
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40034",
    			"Type": "ERROR",
    			"Message": "Only one of the following can be provided -the document number, your reference number,the delivery number or the purchase order number."
    		}
    	]
    }
    客户只能在请求中递交一个有效的 SupplierFinancialDocumentIdentifier 或 CustomerReferenceIdentifier 或 SupplierDeliveryIdentifier 或 CustomerPurchaseOrderIdentifier。
    SupplierFinancialDocumentIdentifier 长度不能超过10个字符。 
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40040",
    			"Type": "ERROR",
    			"Message": "The document number can not exceed 10 characters.Verify and re-enter."
    		}
    	]
    }
    客户应在请求中递交有效的 SupplierFinancialDocumentIdentifier。 该值的长度不能超过10个字符。
    CustomerReferenceIdentifier 的长度不能超过16个字符
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40044",
    			"Type": "ERROR",
    			"Message": "Your reference number can not exceed 16 characters.Verify and re-enter."
    		}
    	]
    }
    CustomerReferenceIdentifier不应超过16个字符。 
    SupplierDeliveryIdentifier 的长度不能超过10个字符
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40050",
    			"Type": "ERROR",
    			"Message": "The delivery number can not exceed 10 characters.Verify and re-enter."
    		}
    	]
    }
    客户应在请求中递交有效的 SupplierSupplyIdentifier。 该值的长度不能超过10个字符。
    CustomerPurchaseOrderIdentifier 的长度不能超过35个字符 
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40060",
    			"Type": "ERROR",
    			"Message": "The purchase order number can not exceed 35 characters.Verify and re-enter."
    		}
    	]
    }
    客户应在请求中递交有效的 CustomerPurchaseOrderIdentifier。 该值的长度不能超过35个字符。 
    SupplierDocumentStatus 的长度不能超过10个字符。 
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40070",
    			"Type": "ERROR",
    			"Message": "The document status can not exceed 10 characters.Verify and re-enter."
    		}
    	]
    }
    客户应在请求中递交有效的SupplierDocumentStatus。 该值的长度不能超过10个字符。 
    SupplierDocumentCreatedFromDate 不是有效日期(YYYY-MM-DD)
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40080",
    			"Type": "ERROR",
    			"Message": "The document creation date format is YYYY-MM-DD.Correct and re-submit."
    		}
    	]
    }
    客户应在请求中递交有效的 SupplierDocumentCreedFromDate。 有效日期格式为 YYYY-MM-DD。 
    SupplierDocumentCreatedToDate 不是有效日期(YYYY-MM-DD)
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40090",
    			"Type": "ERROR",
    			"Message": "The document creation date format is YYYY-MM-DD.Correct and re-submit."
    		}
    	]
    }
    客户应在请求中递交有效的 SupplierDocumentCreatedToDate。 有效日期格式为 YYYY-MM-DD。
    RequestPDF 可以为空或 X 
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-40100",
    			"Type": "ERROR",
    			"Message": "Pass an 'X' in the SupplierDocumentPDF field if a PDF is desired.Otherwise the field should be blank."
    		}
    	]
    }
    客户应在请求中递交有效的 RequestPDF。 如果客户想要接收 PDF,则应在字段中传递 X,否则请将该字段留空。 

    发生系统错误。

    连接被拒绝(连接被拒绝)

    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-50000",
    			"Type": "ERROR",
    			"Message": "Contact API Support with at least the following details: error code, error message and API endpoint."
    		}
    	]
    }
    客户应联系 API 支持并提供所有详细信息,例如错误消息、错误代码、API 端点等。
    中断期信息 
    {
    	"Messages": [
    		{
    			"Code": "TI-FIR-51000",
    			"Type": "ERROR",
    			"Message": "This API is currently unavailable between $OutageStart and $OutageEnd $timeZoneStr. Re-submit your request after the maintenance window."
    		}
    	]
    }
    我们将通知客户中断信息。