{"action":"created","issue":{"url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1311","repository_url":"https://api.github.com/repos/jccastillo0007/eFacturaT","labels_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1311/labels{/name}","comments_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1311/comments","events_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1311/events","html_url":"https://github.com/jccastillo0007/eFacturaT/issues/1311","id":303916264,"number":1311,"title":"Navision - cálculo incorrecto del subtotal y total en nota de crédito, cuando incluye descuentos.","user":{"login":"RigoFlores","id":2912775,"avatar_url":"https://avatars0.githubusercontent.com/u/2912775?v=4","gravatar_id":"","url":"https://api.github.com/users/RigoFlores","html_url":"https://github.com/RigoFlores","followers_url":"https://api.github.com/users/RigoFlores/followers","following_url":"https://api.github.com/users/RigoFlores/following{/other_user}","gists_url":"https://api.github.com/users/RigoFlores/gists{/gist_id}","starred_url":"https://api.github.com/users/RigoFlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RigoFlores/subscriptions","organizations_url":"https://api.github.com/users/RigoFlores/orgs","repos_url":"https://api.github.com/users/RigoFlores/repos","events_url":"https://api.github.com/users/RigoFlores/events{/privacy}","received_events_url":"https://api.github.com/users/RigoFlores/received_events","type":"User","site_admin":false},"labels":[{"id":20431684,"url":"https://api.github.com/repos/jccastillo0007/eFacturaT/labels/resolved","name":"resolved","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":{"login":"jccastillo0007","id":2245679,"avatar_url":"https://avatars0.githubusercontent.com/u/2245679?v=4","gravatar_id":"","url":"https://api.github.com/users/jccastillo0007","html_url":"https://github.com/jccastillo0007","followers_url":"https://api.github.com/users/jccastillo0007/followers","following_url":"https://api.github.com/users/jccastillo0007/following{/other_user}","gists_url":"https://api.github.com/users/jccastillo0007/gists{/gist_id}","starred_url":"https://api.github.com/users/jccastillo0007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jccastillo0007/subscriptions","organizations_url":"https://api.github.com/users/jccastillo0007/orgs","repos_url":"https://api.github.com/users/jccastillo0007/repos","events_url":"https://api.github.com/users/jccastillo0007/events{/privacy}","received_events_url":"https://api.github.com/users/jccastillo0007/received_events","type":"User","site_admin":false},"assignees":[{"login":"jccastillo0007","id":2245679,"avatar_url":"https://avatars0.githubusercontent.com/u/2245679?v=4","gravatar_id":"","url":"https://api.github.com/users/jccastillo0007","html_url":"https://github.com/jccastillo0007","followers_url":"https://api.github.com/users/jccastillo0007/followers","following_url":"https://api.github.com/users/jccastillo0007/following{/other_user}","gists_url":"https://api.github.com/users/jccastillo0007/gists{/gist_id}","starred_url":"https://api.github.com/users/jccastillo0007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jccastillo0007/subscriptions","organizations_url":"https://api.github.com/users/jccastillo0007/orgs","repos_url":"https://api.github.com/users/jccastillo0007/repos","events_url":"https://api.github.com/users/jccastillo0007/events{/privacy}","received_events_url":"https://api.github.com/users/jccastillo0007/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-03-09T17:20:07Z","updated_at":"2018-03-13T02:01:08Z","closed_at":null,"author_association":"COLLABORATOR","body":"El subtotal, es la suma de importes (antes de descuentos). \r\nAsí dice el SAT:\r\n\r\nAtributo requerido para representar la suma de los importes de los conceptos **antes de descuentos e impuesto**. No se permiten valores negativos.\r\n\r\nAhora mismo el subtotal, se está reportando como suma de importes **menos descuento**.\r\nEl total lo calcula bien, es decir subtotal mas impuestos trasladados, pero como de origen es incorrecto el subtotal, evidentemente el total también sale mal.\r\n\r\nEn  producción puedes validar esto con la nota de crédito 18AVMX010.\r\nYa detuvimos esta nota de crédito con ellos, cuando justo ayer indiqué que ya estábamos al 100%.... chiaaaaa..."},"comment":{"url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/comments/372521218","html_url":"https://github.com/jccastillo0007/eFacturaT/issues/1311#issuecomment-372521218","issue_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1311","id":372521218,"user":{"login":"jccastillo0007","id":2245679,"avatar_url":"https://avatars0.githubusercontent.com/u/2245679?v=4","gravatar_id":"","url":"https://api.github.com/users/jccastillo0007","html_url":"https://github.com/jccastillo0007","followers_url":"https://api.github.com/users/jccastillo0007/followers","following_url":"https://api.github.com/users/jccastillo0007/following{/other_user}","gists_url":"https://api.github.com/users/jccastillo0007/gists{/gist_id}","starred_url":"https://api.github.com/users/jccastillo0007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jccastillo0007/subscriptions","organizations_url":"https://api.github.com/users/jccastillo0007/orgs","repos_url":"https://api.github.com/users/jccastillo0007/repos","events_url":"https://api.github.com/users/jccastillo0007/events{/privacy}","received_events_url":"https://api.github.com/users/jccastillo0007/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T02:01:08Z","updated_at":"2018-03-13T02:01:08Z","author_association":"OWNER","body":"el iva a nivel producto, se calcula sobre el subtotal - descuento ?\r\n\r\nSi es asi, entonces supongo que por eso ellos guardan el subtotal menos el descuento"}}
{"actor":{"display_login":"jccastillo0007"}}