Withholding TAX - AP INVOICE through DI API
Hi Experts,
I am posting AP INVOICE through DI API. When am posting WITHHOLDING TAX for AP INVOICE am getting error like "Total taxable amount of all rows exceeds the base amount [pch5.taxbleamt]". My code
APINVOICE.WithholdingTaxData.WTCode = ORec1.Fields.Item("WTCode").Value
APINVOICE.WithholdingTaxData.WTAmount = ORec1.Fields.Item("WTAmnt").Value
APINVOICE.WithholdingTaxData.Add()
Please help me to solve this issue.
Thanks in advance,
Jeevan.
Hi
The below code can be used to add WT tax, But ensure that BP having the WTCode mapped.
APINVOICE.WithholdingTaxData.WTCode = "TC-2"
APINVOICE.WithholdingTaxData.Add()
TC-2 is the WTCode mapped to Vendor i chose to add A/P invoice thro DI API.
Regards,
Tamizh.
Similar Messages
-
Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?
Dear All,
I am trying to create Service AP Invoice through DI API.
If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
But if I change amount in above field then DI API throws error Unbalanced Transaction.
If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
Where I am doing wrong?
please guide.
Using:
SAP B1 version 9 Patch Level 11
Location : India.
Thanks.Hi ,
maybe you can find solution to these note 1812344
1846344 - Overview Note for SAP Business One 8.82 PL12
Symptom
This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
Solution
Patch installation options:
SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
Patch content:
SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
For details about the contained corrections, please see the SAP Notes listed in the References section.
Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
Patch download:
Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
Header Data
Released On
02.05.2013 02:34:18
Release Status
Released for Customer
Component
SBO-BC-UPG Upgrade
Priority
Recommendations/additional info
Category
Upgrade information
References
This document refers to:
SAP Business One Notes
1482452
IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
1650289
Printing Inventory Posting List for huge amount of data
1678528
Withholding amount in the first row is zeroed.
1754529
Error Message When Running Pick and Pack Manager
1756263
Open Items List shuts down on out of memory
1757641
Year-end closing
1757690
SEPA File Formats - New Pain Versions
1757898
Incoming Bank File Format
1757904
Outgoing Bank File Format
1762860
Incorrect weight calculation when Automatic Availability Check is on
1770690
Pro Forma Invoice
1776948
Calendar columns are wrong when working with Group View
1780460
OINM column description is not translated
1780486
UI_System crash when you set extreme value of double type to DataTable column
1788256
Incorrect User-Defined Field displayed in a Stock Transfer Request
1788372
ZH: 'Unacceptable Field' when export document to word
1788818
RU loc: No freight in the Tax Invoice layout
1790404
Cash Flow Inconsistency when Canceling Payment
1791295
B1info property of UI API AddonsInstaller object returns NULL value
1791416
Adding a new item to BoM is slow
1794111
Text is overlapping in specific localization
1795595
Change log for item group shows current system date in all the "Created" fields
1797292
Queries in alerts should support more query results
1800055
B1if_ Line break issue in inbound retrieval using JDBC
1802580
Add Journal Voucher to General Ledger report
1803586
Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
1803751
Period indicator of document series can be changed although it has been used
1804340
LOC_BR_Cannot update Nota Fiscal Model
1805554
G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
1806576
Payment Cannot Be Reconciled Internally
1807611
Cannot update UDF in Distribution Rule used in transactions
1807654
Serial No./Batch inconsistency by canceled Inventory Transfer
1808694
BR: Business Partner Code cannot be updated with CNPJ CPF error
1809398
CR_Cannot Display Related Multi-Value Parameters
1809758
Arrow key not work for Batch/Serial Number Transactions Report
1810099
Tax Amount is Recalculated Even if Tax Code Is Not Changed
1811270
Upgrade fails on Serial And Batches object with error code -10
1811846
Cannot run Exchange Rate Differences when multi branch is activated
1812344
Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
1812740
DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
1813029
US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
1813835
Wrong amounts of Goods Return in Open Item List
1814207
Preliminary page prints setting does not keep after upgrade
1814860
Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
1815535
RFQ: Web front end not displayed in supplier language
1815810
GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
1816191
BR:System Crashes While Working with Tax Code Determination Window
1816611
CR_Crystal Report Displayed Incorrectly Afte -
Withholding tax - cancel invoice
Hello Experts, I have configured Extended Withholding tax for invoices, so when an invoice is generated, a line item for withholding tax is generated as well. My problem is when cancelling an invoice (MR8M): the system generates an FI document with all items reversed except withholding tax item, this amount is added to vendor account line item. Neverthless, when FI document generated is canceled by FB08, reversal document is generated considering withholding tax item, as is required. Could anyone help me?
Thanks in advance.
EfrenHi Ravinagh, I already have maintained accounts in Tx.OBWO, and the problem persists. Transaction MR8M does not consider this settings, unlike FB08. For example, this is documetn FI generated from invoice:
PK Acc. Text Amount
31 2010008239 Company AAA 1,047.20-
86 42010008 Fact.x Services 1,000.00
40 40011002 IVA-Purchasing 190.00
50 40012005 Withholding tax % 142.80-
MR8M generates this document:
PK Acc. Text Amount
21 2010008239 Company AAA 1,190.00
96 42010008 Fact.x Services 1,000.00-
50 40011002 IVA-Purchasing 190.00-
And what is required is as transaction FB08 generates:
PK Acc. Text Amount
21 2010008239 Company AAA 1,047.20
96 42010008 Fact.x Services 1,000.00-
50 40011002 IVA-Purchasing 190.00-
40 40012005 Withholding tax % 142.80
Here is the difference, where is the missing configuration to make MR8M generate this last item??
Thanks in advance for any help.
Efren -
제품 : FIN_AP
작성날짜 : 2004-05-19
WITHHOLDING TAX TYPE의 INVOICE
=============================
PURPOSE
Invoice Distribution Level에 있는 Type중에는
Withholding Tax가 있고, 해당 Type은 자동으로 생성되도록 설정하여
사용해야 합니다.
Explanation
Withholding Tax type의 invoice에 대해 말씀드리겠습니다.
해당 Type은 User가 직접 입력하는 것은 아닙니다.
이 Type의 invoice는 자동으로 생성될때 사용되는 것입니다.
즉,
AP권한에서 Setup -> Options -> Payables 화면에서
Withholding Tax tab으로 이동하시면, "Create Withholding Invoice"가 있습니다.
예를들어, At Invoice Validation Time에 check를 하시면,
Standard Invoice를 입력하고, 승인시점에 Distribution에 Withholding Tax Group에
따라 소득세와 주민세 Line이 생성되고,
새롭게 그 원천세 금액에 맞게 세무서를 supplier 로 하는 invoice 가 자동으로 생깁니다.
이 Invoice가 Withholding Tax Type의 Invoice인 것입니다.
이렇게 자동으로 생성된 Withholding Tax Type의 Invoice는 Supplier가 세무서이므로,
회사가 원천징수한 세금을 세무서에 납부하기 위한 invoice 가 되는 것입니다.
만약 지금까지 Withholding Tax Type으로는 송장이 만들어지지 않았다면,
해당 Option값이 "Never"로 설정되어 있다는 뜻입니다.Dear F,
please kindly check that You define the wt type at invoice time.
Then please check that You define the wt type at your company code level and insert the right time validity.
Then check that You open by ob41 and ob14 the field status for your relevat posting key and g/l account for tax fields (witholding tax fields)
--> Taxes
Withholding Tax Code
Withholding Tax Amounts
please put them as optional.
Then that Your wt type and code are correctly defined into Your vendor master data with the flag liable switched on.
I hope this help.
Mauri -
Creating A/R Reserve Invoice through DI API
Hello everyone,
I am trying to create a A/R Reserve invoice through DI API, for that i have to set invoice documnet property is:
oInvoice.WareHouseUpdateType = SAPbobsCOM.BoDocWhsUpdateTypes.dwh_CustomerOrders;
but it throws a exception -
The object does not support this method, Or method not implemented yet.
please anyone have sample code for add A/R reserve invoice or any solution for that, provide me.
Thanks,
NikhilHi,
The Reserve Invoice is coming in the 2007 Version.
See here:
/people/community.user/blog/2007/01/24/whats-new-in-sdk-2007-a
Kind Regards,
Owen -
Cannot create AR Invoice negative amount with WithHolding Tax negative amount via DI API
Hi All,
I tried to create AR Invoice Document via DI API, but with negative amount and negative withholding tax amount.
Document added successfully, but when i open the document in SAP, and i open WTax Table information, withholding tax amount become zero,
Please see image below.
But when i add the same document through SAP Screen, i can fill WTax Amount with negative amount.
SAP Version 9.0 PL 5
Please kindly help,
Thanks
Best Regards
SiddhartaHello.
If this is different to the behavior of the B1 application it should be considered a bug - like any such difference between DI API and app.
HTH -
Withholding taxes at invoice are not totally updated at FMF0
Dear all,
The system consumes the whole amount at budget at the invoice moment but when the payment it is done and updated at funds management by FMF0 that amount is partially consumed.
IF we create an invoice for an amount of 100 u20AC.(it has 10u20AC of withholding taxes) The 100 u20AC goes against a funds reservation doc(linked to an expense commitment item), and withholding tax account (180000) contains a commitment item (retencion) with a
transaction which is not budget relevant (60 and cmmt item category 3).
The figure would be like this
Vendor 90-
Expense 100
Withholding tax 10- [commitment item with transaction 60 ci category 3]
So at funds management the invoice doc(value type 54) consumes 100u20AC (amount type 100)
but when doing the payment
Vendor 90
Bank 90-
and use FMF0 to update payments in funds management the system reduce the invoice document in 90u20AC(amount type 200).
Consequently there is a difference of 10u20AC at invoice document when doing the payment. We would expect to also have 100u20AC of amount type 200. Anyone knows which is the proper procedure so that this 10u20AC gap are not reflected and the 10u20AC are consumed. or what is it what we are missing.
Best regards and thanks for the helpThe problem was that we thought the in order withholding taxes wouldn´t be relevant we have to set financial
transaction to 60.I think now the system works as desired, we have set the commitment
item a value of financial transaction 30, commitment item cat. 3 and it is
flagged as stat. commitment item in order withholding taxes are not
budget relevant. I´m not sure yet if this could have other impacts in our business processes.
Hope not
Best regards and thanks for your help -
Withholding tax- Vendor Invoice Reversals
Hi,
In Indian CIN -
I would like to know, if vendor invoice accounted (after deducting the Withholding Tax), can be blocked or give a warning before reversals. This is because we remit the tax in next period, before the due date.
After the tax is remitted, I would not like to reverse.
Kindly let me know if there is solution for this
ThanksHi
When you will remit the tax, the TDS line items in your vendor booking document will be cleared. After that if any one wants to reverse that document, system will not allow unless FBRA is performed. So you have got the control in the system after deposit of your TDS.
regards
Parag Bhargava -
Withholding tax for Invoice posting
My client has WHT set up for payments in Mexico but they also want to set that up for Invoice posting, should I create new Tax type and code for that? And also to which accounts I need to define that type & code?
I am confused. Please help.
Thanks,
STHi S T
Withholding tax can be at two types
* Withholding tax at the time of invoice posting
* Withholding tax at the time of payment
As you have withholding tax at the time of payment, if you want WHT at the time of invoice also, then you have to create type and codes under that
Kindly let us know if you need any help further
Thanks
Prasad -
Adding binlocation items from sales order to sales invoice through DI API
Hi
I want to add items from sales order to sales invoice.
when i am allocated bin locations for the item sales invoice is not adding
is there any way to update BIN Location Alocation-Issue qty through DI API
please help me....
regard,
LakkshmiKantthHi Lakshmi,
check this http://scn.sap.com/message/14740146#14740146
REgards
edy -
How to set local currency in AR/Invoice through DI API SAP B1?
Dear Expert,
I am using DI API to add AR/Invoice document, but I can't find how to set local currency for BP with foreign currency.
This my code snip :
oSO = oCompany.GetBusinessObject(BoObjectTypes.oInvoices)
oSO.DocDate = dtpPostDate.Value
oSO.DocDueDate = dtpDueDate.Value
oSO.TaxDate = dtpDocDate.Value
oSO.Series = cSeries
oSO.DocNum = txtNumber.Text
oSO.DocCurrency = doccur
oSO.CardCode = txtBP.Text
oSO.CardName = txtName.Text
oSO.ContactPersonCode = cntctCode
oSO.JournalMemo = txtRemarks.Text
For i = 0 To dgv.RowCount - 2
oSO.Lines.SetCurrentLine(i)
oSO.Lines.ItemCode = dgv.Item(0, i).Value
oSO.Lines.ItemDescription = dgv.Item(2, i).Value
oSO.Lines.Quantity = dgv.Item(4, i).Value
oSO.Lines.Price = dgv.Item(5, i).Value
oSO.Lines.DiscountPercent = dgv.Item(6, i).Value
oSO.Lines.TaxCode = dgv.Item(7, i).Value
oSO.Lines.LineTotal = dgv.Item(9, i).Value
oSO.Lines.Currency = doccur
oSO.Lines.Add()
Next
lRetCode = oSO.Add()
If lRetCode <> 0 Then
oCompany.GetLastError(lErrCode, sErrMsg)
MsgBox(sErrMsg, 16, "Attention")
Else
MsgBox("Operation completed successfully.", 64, "Information")
End If
When trying to Add, system show error message " Enter valid currency code [OINV.DocCur][Line:1], '$' "
I am not lucky after trying for a day , wish enlightenment from the experts here, Thank you.
My machine : SAP B1 9 PL 4
Best Regards,
Muh.UlfahHi
In the other thread I suggested that you can add document using interface first because there is a possibility that B1 doesn't accept this currency code not because you set it improperly in your code but because of some other reason, for example this currency is not valid for this particular business partner. Despite the fact that this way you can eliminate other possible problems you can also use DI to save an existing document as XML and check what is the actual currency code that B1 itself placed in the document lines object.
Afterwards you can again try to add document using DI.
btw
check this thread:
How to set local currency in sales order for BP with foreign currency through DI?
Kind regards,
Radek -
Define Withholding Tax Type for Payment Posting
Hey Guys, I'm configuring Withholding Tax for a company. I know the purpose for defining the withholding tax type for invoice posting, but do understand where is the Withholding tax type for payment posting used? Is it used for advance(down) payment or something else?
Thanks,Hi ,
In some countries there is requirement that you need to deducted Withholding tax either at time of Invoice or payment which ever is ealier . so if you get Invoice first then you deduct the Withholding tax on Invoice and define the tax type and assign to company . but if you make paymnet first which we called advance or down payment then we configure Withholding tax on payment .
If a vendor is liable for withholding tax on invoice it may be liable for payment as well if you think you may pay some advances .
Please let me know if you need more information -
Withholding Tax Type for Payment Posting - Customer Accumulation -
We are using the Withholding Tax Type for Payment Posting for customer with the accumulation per month and checking the minimum/maximum withholding tax base amount to calculate the tax.
When we run the F110 transaction (Automatic Payment) the system creates a BIll of Exchange as Noted items and keep the accounting document created from the SD opened. After the customer pay the bill, the bank send a file informing the payment, then we clearing the accounting document.
But the system updated the WITH_ITEM Table and filled the fields AUGBL(Clearing Document) and AUGDT (Clearing Date) with the number and date of the BIll of Exchange that was created during the F110 running.
I am confused about this situation because according the Withholding Tax Type for Payment Posting, the system only could updated the table WITH_ITEM with an accounting document. Noted items are not an accounting document.
I would like to konw if the system is working properly, or can have something wrong in our configuracion?
Thanks and regards
AugustoHi ,
In some countries there is requirement that you need to deducted Withholding tax either at time of Invoice or payment which ever is ealier . so if you get Invoice first then you deduct the Withholding tax on Invoice and define the tax type and assign to company . but if you make paymnet first which we called advance or down payment then we configure Withholding tax on payment .
If a vendor is liable for withholding tax on invoice it may be liable for payment as well if you think you may pay some advances .
Please let me know if you need more information -
Extended Withholding Tax Certificate Printing
hi,
i configured & checked upto withholding tax in invoice poting & payment posting
now i want to configure the things for certicate printing like number group, number range etc,,,
can any body help me out in sending sequence of configuration document from numger group maintanance to upto certificate printing what are the configurations step to be done
thanks in advance,
prakashplease follow the link, full configuration of EWT are there including number group, number ranges
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/enterprise-resource-planning/withholding%20tax%20-%20country%20india%20version.pdf -
Error in added withholding tax code in XK02-extended withholding tax
dear all,
I've just activate extended withholding tax using invoice posting.
When I want to add withholding tax code in vendor master data XK02 it appear error that tax code I've input does not exist in table T059Z, because it read country value "ID" beside the tax code.
For example I've create tax code L1 in country ID, and add L1 in XK02, the error appear 'Entry 'ID L1' does not exist in T059Z.'
Does anyone ever experience the same error?Hi Oscar,
i would like to know whether the company and the vendor are both in country ID.
if that is the case, just check in "Check Withholding Tax Countries" whether the country has been included.
and also assign the WHT type to your co code in"Assign Withholding Tax Types to Company Codes".
define the WHT type first and then WHT code.
this should solve your problem. if not, kindly revert.
*award points if this helps*
Regards,
CA. Karthik Narayan N S
SAP-FICO Consultant
Maybe you are looking for
-
I'm looking for a voice to text app that is incorporated in actual text messaging similar to Droid that I can use on my 3GS. Anyone know of one?
-
JClient for ADF "Delete" not working : JBO-26080
I created a sample JClient form. It connects to a MS Access DB, and I can scroll thru the data using the navigation bar.I can also insert data. I am failing to delete data : "(oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Combi
-
How to export a photo in lightroom using capture date
I have photos in lightroom 5 i want to know how to have the capture date show in the photo when i export it. I want to see the capture date in safari on mac. I also want the capture date to match when i use metadata edit capture time some times the p
-
I am using Photoshop Elements 8 and I successfully created and saved 3 albums and copied them to my IPAD using ITUNES. They were in the correct sorted sequence. I then went back and tried to make a best of show album with my 3 star pictures and every
-
How to properly setup an authentication using remote_login_passwordfile
I'm running Oracle9i for study purposes in a winXP OS I set the value of the parameter remote_login_passwordfile to EXCLUSIVE I tried connecting using the following credentials and it was, unexpectedly, successful: connect scott/tiger as sysdba how d