{"id":11747572,"date":"2019-07-19T09:57:39","date_gmt":"2019-07-19T09:57:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/total-amount\/"},"modified":"2019-07-19T09:57:39","modified_gmt":"2019-07-19T09:57:39","slug":"total-amount","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/total-amount\/","title":{"rendered":"Total amount"},"content":{"rendered":"<p>I&#8217;m using a plugin (Woocommerce RMA) were it&#8217;s possible to refund order amounts for one or more products. After that I want to generate an PDF invoice but the total amount isn&#8217;t correct. It still shows the previous total order amount. It should calculate the total amount minus the refunded products but it isn&#8217;t. The subtotal is correct and also the VAT amount.<\/p>\n<p>I hope it can be fixed. <\/p>\n<p>Kind regards,<br \/>\nMarco Mols<\/p>\n","protected":false},"template":"","class_list":["post-11747572","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11747572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11747572\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11747572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}