Comments (4)
Hello @jw7712,
"cbc:SupplierAssignedAccountID" doesn't appear to be part of the EN 16931 standard nor PEPPOL BIS 3.0.
from einvoicing.
@josemmo
Thanks for your reply. I see that indeed it's not part of the standard, but some accounting packages make use of it to match a contact by id.
When searching for it i see that exact online is also using this:
https://support.exactonline.com/community/s/knowledge-base#All-All-HNO-Concept-general-importexport-gen-impexp-ublineolc
from einvoicing.
Adding this feature is not feasible because is non-standard and, in some cases, not allowed.
But if you need to add the field to a document, you can do it manually after generating the XML:
use Einvoicing\Invoice;
use Einvoicing\Presets;
use Einvoicing\Writers\UblWriter;
use UXML\UXML;
// Generate invoice
$inv = new Invoice(Presets\Peppol::class);
// [...]
// Export invoice
$writer = new UblWriter();
$xml = UXML::fromString($writer->export($inv));
$xml->get('cac:AccountingCustomerParty')->add('cbc:SupplierAssignedAccountID', '0011223344'); // <---
echo $xml->asXML();
from einvoicing.
Great, thanks for the great support!
I will try it!
The issue can be closed.
from einvoicing.
Related Issues (17)
- REST Wrapper HOT 3
- Multiple PartyTaxSchemes HOT 2
- UXML get returns self|null ... HOT 6
- Support for BG-30 Line VAT information attributes schemID and schemeAgencyId (NLCIUS v1.0.3) HOT 6
- Question about BaseQuantity HOT 2
- Add support for TaxCurrencyCode (BT-6) HOT 3
- Add support for CompanyLegalForm (BT-33)
- Add support for multiple Invoice Notes (BG-1 -> BT-22)
- PartyTaxScheme xsd validation error with passing null as scheme
- Text for Payment Means (BT-82) is bugged? HOT 3
- decimal rounding number HOT 9
- How to best handle XML entities HOT 2
- Peppol compliance status and messaging extension HOT 3
- Invoice rounding problem HOT 5
- Missing fields HOT 2
- CreditNote support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from einvoicing.