Hello, i develop a PayPal Application for my company. I use the offical PayPal PHP SDK. I have a big mathematical problem to send you a invoice that is equal to our system because i can only send you unitprices with 2 digits after the comma. For example we need to make an invoice with a position of 15,00 EUR brutto for our customers. If we calculate the netto price with a tax of 19% (15,00/1.19) we get 12.60504202 as the netto Price. Rounded for business is this 12.61. But: 12.61 with 19% Tax (12.61*1.19 = 15.0059) = 15,01 EUR (12.60 with 19% Tax = 14,99 EUR) I will never get 15,00 EUR in the invoice as the brutto price if i can only send 2 digits after the comma for a netto unit price. What can i do to solve this problem? This is the error nessage i've got after sending a unit price with 4 digits after the comma: "information_link":"https://developer.paypal.com/docs/api/invoicing/#errors", "details":[{"field":"items[0].unit_price.value", "issue":"can have non-negative value with maximum 6 digits upto 2 fractions."}, {"field":"items[2].unit_price.value","issue":"can have non-negative value with maximum 6 digits upto 2 fractions."},{"field":"items[1].unit_price.value","issue":"can have non-negative value with maximum 6 digits upto 2 fractions."}]} message => (string) Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/invoicing/invoices.
... View more