2024 Jul 30 10:38 AM - edited 2024 Jul 30 10:39 AM
Payload 參考官方文件的「Sample Payload for Full Clearing」
payload如下圖: 欲結清日記帳分錄: 1800000021(DR) 與 1400000013(DZ)
API回傳錯誤訊息如下圖:
從「管理客戶明細項目」這邊看還是未結清狀態:
以下附上完整Payload:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sfin="http://sap.com/xi/SAPSCORE/SFIN">
<soapenv:Header/>
<soapenv:Body>
<sfin:JournalEntryBulkClearingRequest>
<MessageHeader>
<ID>MSG_20240730_FULL</ID>
<CreationDateTime>2024-07-30T13:00:00.1234567Z</CreationDateTime>
<TestDataIndicator>false</TestDataIndicator>
</MessageHeader>
<JournalEntryClearingRequest>
<MessageHeader>
<ID>MSG_20240730_02</ID>
<CreationDateTime>2024-07-30T13:00:00.1234567Z</CreationDateTime>
</MessageHeader>
<JournalEntry>
<CompanyCode>FIVE</CompanyCode>
<AccountingDocumentType>AB</AccountingDocumentType>
<DocumentDate>2024-07-30</DocumentDate>
<PostingDate>2024-07-30</PostingDate>
<CurrencyCode>TWD</CurrencyCode>
<DocumentHeaderText>Clearing API</DocumentHeaderText>
<CreatedByUser>CB9980000020</CreatedByUser>
<APARItems>
<ReferenceDocumentItem>1</ReferenceDocumentItem>
<CompanyCode>FIVE</CompanyCode>
<AccountType>D</AccountType>
<APARAccount>1000000</APARAccount>
<FiscalYear>2024</FiscalYear>
<AccountingDocument>1800000021</AccountingDocument>
<AccountingDocumentItem>1</AccountingDocumentItem>
</APARItems>
<APARItems>
<ReferenceDocumentItem>2</ReferenceDocumentItem>
<CompanyCode>FIVE</CompanyCode>
<AccountType>D</AccountType>
<APARAccount>1000000</APARAccount>
<FiscalYear>2024</FiscalYear>
<AccountingDocument>1400000013</AccountingDocument>
<AccountingDocumentItem>1</AccountingDocumentItem>
</APARItems>
</JournalEntry>
</JournalEntryClearingRequest>
</sfin:JournalEntryBulkClearingRequest>
</soapenv:Body>
</soapenv:Envelope>
Request clarification before answering.
如同回覆,此問題已解決
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 39 | |
| 22 | |
| 20 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.