Commit Graph

39 Commits

Author SHA1 Message Date
David Bomba 780dda4957 Updated copyright doc blocks 2025-02-17 11:11:38 +11:00
David Bomba 2db3c45c81 Add net_cost to templates 2025-01-23 08:54:33 +11:00
David Bomba 2befc2338f Add checks for existing VAT number on the network 2025-01-17 14:19:22 +11:00
David Bomba 265f72369c Cleanup for peppol 2024-12-21 10:28:21 +11:00
David Bomba 9cd9bc9833 Updated translations 2024-11-30 15:55:31 +11:00
David Bomba ca9d8947d9 Tests for routes 2024-11-28 12:10:59 +11:00
Benjamin Beganović a7f578cf43 Return message from an error 2024-11-20 11:35:42 +01:00
David Bomba 552d596eae Style fixes 2024-11-20 11:15:49 +11:00
David Bomba 11b5bb3c5d
Merge pull request #10277 from beganovich/INV2-1723-2
E-invoice: Removing tax identifiers fixes
2024-11-20 07:36:10 +11:00
David Bomba 5a17925617
Merge pull request #10273 from beganovich/INV2-1670
E-invoicing: Improve tax rate settings
2024-11-20 07:23:28 +11:00
Benjamin Beganović 3ba61c5db5 Fixes for accessing tax region 2024-11-19 12:42:41 +01:00
Benjamin Beganović 6ae74cafe4 Disable tax rates 2024-11-19 12:23:03 +01:00
Benjamin Beganović 677438347a Removing tax identifier 2024-11-18 17:45:53 +01:00
Benjamin Beganović c3771cff3b Improve tax rate settings 2024-11-18 14:02:34 +01:00
David Bomba 0051f8c9df Additions for adding tax identifiers in other EU regions 2024-11-16 14:24:21 +11:00
David Bomba cf13a87f47 Update recurring invoices to ensure dates are configured in the correct timezone 2024-11-16 10:05:48 +11:00
David Bomba 73c928b934 Fixes for tests 2024-11-16 07:56:24 +11:00
David Bomba 2ff676cf5f Clean up for peppol 2024-11-13 12:16:22 +11:00
David Bomba 7b9b18cbb1 Fixes for storecove additional identifier 2024-11-13 12:09:41 +11:00
Benjamin Beganović 20e400d621
E-invoicing: Refactor calls (#113)
* Update main PEPPOL controller

* Expose countries in AddTaxIdentifierRequest

* setupLegalEntity method for Storecove

* Add missing methods to the StorecoveProxy

* Endpoint for additional legal identifiers

* Update return types on getLegalEntity
2024-11-13 11:35:21 +11:00
David Bomba 5aea637fef Refactor for remote responses 2024-11-12 12:14:02 +11:00
David Bomba f72d52bada Refactor for remote responses 2024-11-12 12:12:38 +11:00
David Bomba 9b57285df7 Add proxy for storecove 2024-11-12 09:55:09 +11:00
Benjamin Beganović 89c26737a0
Refactor e-invoicing endpoints to send correct headers (#112)
* Add HOSTED_EINVOICE_SECRET variable

* Move authentication to headers for quota

* Move authentication to headers for PEPPOL
2024-11-12 06:19:28 +11:00
David Bomba b02fcf5909 Refactor addadditionaltaxidentifier to admin module 2024-11-11 15:30:21 +11:00
Benjamin Beganović 6ad06dd302
E-invoicing: Update company details after connecting to PEPPOL (#108)
* Update company details with provided info

* Store original country_id in request

* Update translations

* Update casts
2024-11-11 15:14:03 +11:00
David Bomba 4ab2423126 Scenarios when resolving tax identifier 2024-11-09 16:23:05 +11:00
David Bomba 99fcdf330a Stylesheets 2024-11-08 13:49:07 +11:00
Benjamin Beganović d9f9151180
E-invoicing: Fixes & improvements (#107)
* Respond with proper status messages for license

* Update translations

* Improve quota response

* Proxy validation errors

* Force classification

---------

Co-authored-by: David Bomba <turbo124@gmail.com>
2024-11-07 08:45:27 +11:00
David Bomba afb8b3c306 Fixes for base urls 2024-11-06 07:21:02 +11:00
David Bomba 3d2950ec19 Updated translations 2024-11-06 06:59:54 +11:00
Benjamin Beganović 4e097db3ed
eInvoicing (#105)
* apply migration to accounts table

* remove references of e_invoicing_token from company

* update rotation of token

* update sending functionality

* fixes for column reference

* update translations

* wip

* proxy peppol calls to admin module

* Update StoreEntityRequest

* Update translations

* Add e_invoice_quota to account transformer

* Checking license validity

* Rotate token using API call to hosted

* Drop validation

* Update translations

* Returning account quota

* Show quota request

* Update endpoints

* Pass account_key instead of company to quota

* Add account_key on send request

* drop redundant column

* Update translations

* Update company details with classification, vat & id number

* Update validator

* Update settings for enable_e_invoice

* Fixes for payment meta

* Rebase on turbo124/v5-develop

* Update validation for payment means

---------

Co-authored-by: David Bomba <turbo124@gmail.com>
2024-11-06 06:41:35 +11:00
David Bomba 5c9eabb3dd Minor fixes 2024-10-23 12:35:10 +11:00
Benjamin Beganović d62af022cb saving acts_as_sender, acts_as_receiver 2024-10-22 17:59:46 +02:00
David Bomba 27850f683a Additional routes for legal entities 2024-10-22 13:24:26 +11:00
David Bomba 553e24615c Additional routes for legal entities 2024-10-22 11:41:36 +11:00
David Bomba 1d8b00f55a Validation tests 2024-10-22 11:17:43 +11:00
Benjamin Beganović 2441669f8d connect & disconnect 2024-10-21 17:38:10 +02:00
Benjamin Beganović 077b0f39ff setup peppol 2024-10-10 18:28:58 +02:00