Precoro's API updated:
- Updated all of the necessary fields in Suppliers, Invoices, and Purchase Orders;
- Added field 'External id' to Suppliers, Product Custom field Options, Document Custom field options;
You can use this field to add your identification to Precoro's entities. - Added 'Post' requests to create Suppliers, Product Custom field options, Document Custom field options, Company Payment Terms, Payments;
- Added 'Patch' requests to set the 'External id' in the Purchase Orders, and Invoices;
- Added 'Put' requests to update the Product Custom field options and Document Custom field options.
With updated API, you can do in Precoro:
- Create Suppliers and map them with your accounting system against the 'External id.'
- Add new or updated Departments, Projects, and Charts of accounts. This function will help you keep Precoro's settings up-to-date. Please, set the 'External id' to map the options of the Departments/Projects/Chart of accounts with your accounting system.
- Set your Purchase Orders or Invoices as integrated with 'External id.' It could help you know what documents should be updated in your accounting system and what documents should be created.
Example:
You are getting all of the Invoices created this month.
If you see an 'External id' inside the Invoice, you will know that this Invoice already exists in the accounting system. If there is no 'External id,' then it is a new Invoice, and you should create it in the accounting system.
Then you can check the last update date of the Invoice, and if this date is later than your previous API request, you can update this Invoice in your accounting system. - Create and cancel Payments and Payment Terms.