Skip to main content

รหัสข้อผิดพลาด

Error CodeError Messageสาเหตุ
207400partialPaymentMethod 11 requires isBatchDocument = truepartialPaymentMethod: 11 แต่ไม่ได้ระบุ isBatchDocument: true
207400Batch document requires partialPaymentMethod = 11isBatchDocument: true แต่ไม่ได้ระบุ partialPaymentMethod: 11
207400Batch document must not contain documentReferenceระบุ documentReferences พร้อมกับ isBatchDocument: true — ต้องเป็น null หรือ []
207400Batch document must contain 1 itemisBatchDocument: true แต่จำนวนรายการใน items ไม่ใช่ 1 รายการ
207400Batch item requires a valid documentIddocumentId เป็น null, 0 หรือติดลบ
207400Batch item documentType is invaliddocumentType ไม่ใช่ 7 (ใบกำกับภาษี)
207400Batch item requires partialAmount greater than 0partialAmount เป็น null, 0 หรือติดลบ
207400Batch item partialAmount must match grandTotalpartialAmount ไม่เท่ากับ grandTotal
207400creditType must be 3 for partial receiptscreditType ไม่ใช่ 3 เมื่อ isBatchDocument: true
207400isBatchDocument must be true when items contain documentIdรายการใน items มี documentId > 0 แต่ isBatchDocument ไม่ใช่ true
207400isBatchDocument must be true when items contain partialAmountรายการใน items มี partialAmount > 0 แต่ isBatchDocument ไม่ใช่ true
207400Document with id {documentId} in items not foundไม่พบ INV ในระบบ หรือ INV ถูกลบ
207400Document with id {documentId} has invalid status for partial receipt creationสถานะ INV ไม่ถูกต้อง — ต้องเป็น รอดำเนินการ (1), รอเก็บเงิน (3) หรือ แบ่งจ่าย (11) เท่านั้น
207400Document with id {documentId} in items does not belong to current companyINV อยู่คนละบริษัทกับผู้เรียก API
207400Document with id {documentId} creditType must be 1 or 5creditType ของ INV ไม่ใช่ 1 (ตามจำนวนวัน) หรือ 5 (ไม่แสดงวันที่)
207400Document with id {documentId} has blocking references and cannot be used for partial receiptINV มีเอกสารอ้างอิงประเภท CN, DN หรือ BLC
207400Document with id {documentId} already has a receipt reference and cannot be used for partial receiptINV มีใบเสร็จรับเงินแบบปกติอ้างอิงอยู่ — อนุญาตเฉพาะใบเสร็จแบบแบ่งชำระเท่านั้น
207400INV must not be a deposit documentINV เป็นเอกสารมัดจำ หรือมี reference ประเภทมัดจำ
70003Total partial amount exceededpartialAmount เกินยอดคงเหลือของ INV
700220002Cannot void invoice with active partial receiptsไม่สามารถยกเลิก (Void) INV ต้นทางได้ เนื่องจากยังมีใบเสร็จแบบแบ่งชำระที่ใช้งานอยู่ — ต้องยกเลิกใบเสร็จแบบแบ่งชำระทั้งหมดก่อน