Sage Invoice items in JSON that do not appear in Sage50 invoice detail view. ?

Hi

Extracted Sage Invoice items to JSON and I am seeing some duplicated invoice lines in the data that do not appear in Sage50 view.

I have noticed these items have duplicated indexes so I have 2 invoice items but Sage only displays 1, cannot find where sage50 knows that item 1 should be hidden.

Below is an extract from the invoice JSON file

{"invoice_number":"240189","item_number":"0","job_number":"","service_flag":"0","description":"UNION DROP OUT 116 BIANCHI KONA MARIN GESWMD087","text":"","stock_code":"GESGH116","comment_1":"","comment_2":"","unit_of_sale":"Each","quantity":"1","foreign_unit_price":"0.01","foreign_discount_amount":"0","unit_price":"0.01","discount_amount":"0","discount_rate":"0","delivery_date":"","nominal_code":"4000","dept_number":"0","dept_name":"Default","tax_code":"T3","add_disc_rate":"0","tax_rate":"23","full_net_amount":"0.01","net_amount":"0.01","tax_amount":"0","gross_amount":"0.01","foreign_full_net_amount":"0.01","foreign_net_amount":"0.01","foreign_tax_amount":"0","foreign_gross_amount":"0.01","ext_order_ref":"","ext_order_line_ref":"0","project_id":"0","itemid":"660190","negotiation_disc_net":"0","negotiation_disc_net_base":"0","generated_message":"0","ec_vat_description_id":"0","record_create_date":"2020-01-30 10:06:59","record_modify_date":"2020-01-30 10:06:59","record_deleted":"0"},
{"invoice_number":"240189","item_number":"0","job_number":"","service_flag":"0","description":"SEMI INTEG AHEAD SET 1 1/8 OXFORD","text":"","stock_code":"HES054","comment_1":"","comment_2":"","unit_of_sale":"Each","quantity":"3","foreign_unit_price":"10.5","foreign_discount_amount":"0","unit_price":"10.5","discount_amount":"0","discount_rate":"0","delivery_date":"","nominal_code":"4000","dept_number":"0","dept_name":"Default","tax_code":"T3","add_disc_rate":"0","tax_rate":"23","full_net_amount":"31.5","net_amount":"31.5","tax_amount":"7.25","gross_amount":"38.75","foreign_full_net_amount":"31.5","foreign_net_amount":"31.5","foreign_tax_amount":"7.25","foreign_gross_amount":"38.75","ext_order_ref":"","ext_order_line_ref":"0","project_id":"0","itemid":"660213","negotiation_disc_net":"0","negotiation_disc_net_base":"0","generated_message":"0","ec_vat_description_id":"0","record_create_date":"2020-01-30 13:41:53","record_modify_date":"2020-01-30 13:41:53","record_deleted":"0"},
{"invoice_number":"240189","item_number":"1","job_number":"","service_flag":"0","description":"TUBE 26*1 1/4-1 3/8 (37 590) PRESTA SLIM SV26\"","text":"","stock_code":"TUB261","comment_1":"","comment_2":"","unit_of_sale":"Each","quantity":"4","foreign_unit_price":"1.65","foreign_discount_amount":"0","unit_price":"1.65","discount_amount":"0","discount_rate":"0","delivery_date":"","nominal_code":"4000","dept_number":"0","dept_name":"Default","tax_code":"T3","add_disc_rate":"0","tax_rate":"23","full_net_amount":"6.6","net_amount":"6.6","tax_amount":"1.52","gross_amount":"8.12","foreign_full_net_amount":"6.6","foreign_net_amount":"6.6","foreign_tax_amount":"1.52","foreign_gross_amount":"8.12","ext_order_ref":"","ext_order_line_ref":"0","project_id":"0","itemid":"660214","negotiation_disc_net":"0","negotiation_disc_net_base":"0","generated_message":"0","ec_vat_description_id":"1","record_create_date":"2020-01-30 13:41:53","record_modify_date":"2020-01-30 13:41:53","record_deleted":"0"},
{"invoice_number":"240189","item_number":"2","job_number":"","service_flag":"0","description":"BB CART KINEX 121.5","text":"","stock_code":"BOB122","comment_1":"","comment_2":"","unit_of_sale":"Each","quantity":"1","foreign_unit_price":"6.95","foreign_discount_amount":"0","unit_price":"6.95","discount_amount":"0","discount_rate":"0","delivery_date":"","nominal_code":"4000","dept_number":"0","dept_name":"Default","tax_code":"T3","add_disc_rate":"0","tax_rate":"23","full_net_amount":"6.95","net_amount":"6.95","tax_amount":"1.6","gross_amount":"8.55","foreign_full_net_amount":"6.95","foreign_net_amount":"6.95","foreign_tax_amount":"1.6","foreign_gross_amount":"8.55","ext_order_ref":"","ext_order_line_ref":"0","project_id":"0","itemid":"660215","negotiation_disc_net":"0","negotiation_disc_net_base":"0","generated_message":"0","ec_vat_description_id":"1","record_create_date":"2020-01-30 13:41:53","record_modify_date":"2020-01-30 13:41:53","record_deleted":"0"},

We have 2 "item_number":"0" in the data file but sage50 only shows the 2nd item and hides the first.

regards

Sean

  • 0

    Hi Sean, 

    Thanks for using Sage City. 

    With this type of query we would advise you get your third party JSON to speak with our development team and they will be able to advise of the fix for this. You can reach this team via the Contact Us Form and they will get back to you via email  

    Regards,

    Michael
    Sage UKI