Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do we send over line item sales tax information on Order Entry creation #73

Closed
michaelpaulus opened this issue Oct 9, 2018 · 5 comments

Comments

@michaelpaulus
Copy link

I would like to create an order entry transaction, we have line level sales tax information from our ecommerce store, we need to send this over when creating the order entry transaction through the api, can you point me in the right direction as it is not obvious on how to do this using the OrderEntryTransactionLineCreate object.

@jimmymcpeter
Copy link
Contributor

Do you have line level taxes actually setup and configured for use when you go into the UI OE transaction screen? I don't think we added them to the SDK because they were not widely used at the time.

@michaelpaulus
Copy link
Author

Yes we do.

@jimmymcpeter
Copy link
Contributor

I think it might just be a matter of adding a new property to the OrderEntryTransactionLineCreate to output the linelevelsimpletaxtype XML element. I don't have a company lying around with this turned on but the docs describe it as,

Simple tax rate to apply at the line level. Available only if Enable subtotals and Enable line level Simple Tax are enabled for the transaction definition.

@michaelpaulus
Copy link
Author

I guess what I'm looking for is, I see how I can add subtotals to the header, but how do I specify which line the subtotal applies to?

I'm not sure I have Enable line level Simple Tax turned on, but I don't see an option for this in the transaction definition. When I try and pass linelevelsimpletaxtype over it fails.

@michaelpaulus
Copy link
Author

I figured out how to add linelevelsimpletaxtype but I get an error when sending it over through the api, and this isn't exactly what I'm looking for. What I need the ability to do is say line 1 is taxed 6% and line 2 is taxed 8% and line 3 is taxed 0%. Can I pass over subtotals per line?

The error I get when passing over linelevelsimpletaxtype is:

XL03000003 XML Parse schema error: Error 1871: Element 'linelevelsimpletaxtype': This element is not expected. Expected is one of ( departmentid, memo, itemdetails, customfields, revrectemplate, revrecstartdate, revrecenddate, renewalmacro, projectid, customerid ).. Line: 1, column: 0.

jimmymcpeter added a commit that referenced this issue Nov 1, 2018
* Add memo and arpaymentitems missing tags (Issue #67)
* Resolve create AR payment missing check number (Issue #75)
* Add SourceLineRecordNo property to Order Entry, Purchasing, and Inventory Lines (Issue #76)
* Add DropShip and LineShipToContactName to OrderEntryTransactionLine (Issue #77)
* Remove OverrideTaxAmount and Tax from PurchasingTransactionLineUpdate XML (Issue #78)
* Change updateitemdetails to itemdetails in PurchasingTransactionLineUpdate to match schema (Issue #79)
* Add LineDeliverToContactName, Form1099Type, and Form1099Box to PurchasingTransactionLine (Issue #80)
* Add LineLevelSimpleTaxType to OrderEntryTransactionLine and PurchasingTransactionLine (Issue #73)
* Add DeliverToContactName to PurchasingTransaction (Issue #81)
jimmymcpeter added a commit that referenced this issue Feb 5, 2019
* Add DropShip and LineShipToContactName to OrderEntryTransactionLine #77
* Add LineDeliverToContactName, Form1099Type, and Form1099Box to PurchasingTransactionLine #80
* Add LineLevelSimpleTaxType to OrderEntryTransactionLine and PurchasingTransactionLine #73
* Add entityId property support to ApiSessionCreate
* Add entityId support to ClientConfig and SessionProvider
* Add testing for .NET Core 2.1 #62
* Remove exceptions for elements missing in control block response #89
* .intacct directory exception #92
* Update copyright year
* Add assertion for EntityId on ClientConfigTest
* Implode error messages and append to ResponseException and ResultException
* Update test project dependencies
* Bump version to 2.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants