> For the complete documentation index, see [llms.txt](https://docs.solutioo.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.solutioo.de/shopware/shopware6_en_us/pdf-documents/single-upload-of-documents.md).

# Single Upload of Documents

## 1. Upload from the document card

The easiest way to upload a document to Shopware is directly from the respective document card.

**Posted sales invoice / credit memo / shipment**

{% stepper %}
{% step %}
Open the *"posted sales invoice / shipment / credit memo"*.
{% endstep %}

{% step %}
Click *"**Upload PDF to Shopware**".*
{% endstep %}

{% step %}
The document is automatically generated as a PDF and uploaded.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Note for&#x20;*****posted sales invoices:***

The document type is automatically set to "Invoice", and the customer is matched by the customer number or email address.
{% endhint %}

<div align="left" data-with-frame="true"><figure><img src="https://content.gitbook.com/content/Pma4R4cytVXRDRO1gkpH/blobs/MqqNTv19kAKgTd3eryIP/Bildschirmfoto%202026-06-18%20um%2012.48.31.png" alt="" width="563"><figcaption></figcaption></figure></div>

## 2. Manual PDF upload

In addition to the automatic PDF upload, you can also upload your own PDF files manually. For example, open an invoice, credit memo, or shipment menu.

> Then follow this path:
>
> *"Actions"* <i class="fa-right">:right:</i> *"Shopware Documents"* <i class="fa-right">:right:</i> *"Other"* <i class="fa-right">:right:</i> *"Upload Manual PDF"*

Now upload the corresponding PDF file from your computer. The document is automatically assigned to the associated document number and transferred to Shopware.

{% hint style="warning" %}
The manual PDF must be a valid PDF file. Other file types are not accepted.
{% endhint %}

<div align="left" data-with-frame="true"><figure><img src="https://content.gitbook.com/content/Pma4R4cytVXRDRO1gkpH/blobs/uuQzMZYzFO8fmag5dcvU/Bildschirmfoto%202026-06-18%20um%2013.03.58.png" alt="" width="563"><figcaption></figcaption></figure></div>

## 3. Upload of document attachments

You can also upload documents to Shopware that are already stored as an attachment on a record in BC. To do so, open the [document attachments](#id-3.-upload-of-document-attachments) or open the Attachments FactBox (on the right) of the required record and select the corresponding file. Then click the *downward-pointing arrow* next to *"Documents"* and select *"Upload to Shopware"* to transfer the document to Shopware. You may also need to select a document type.

<div align="left" data-with-frame="true"><figure><img src="https://content.gitbook.com/content/Pma4R4cytVXRDRO1gkpH/blobs/pe7dvm2WE5ScXYnKruTX/Bildschirmfoto%202026-06-18%20um%2013.25.54.png" alt="" width="563"><figcaption><p>The FactBox is located on the right</p></figcaption></figure></div>

## 4. Customer mapping

The document is mapped to the Shopware customer automatically by:

<table data-card-size="large" data-view="cards"><thead><tr><th></th></tr></thead><tbody><tr><td><p><strong>Customer number</strong></p><p>The BC customer number is matched against the Shopware customer number.</p></td></tr><tr><td><p><strong>Email address</strong></p><p>If no customer number is found, the email address is used.</p></td></tr></tbody></table>

{% hint style="info" %}
For the mapping to succeed, the customer must **exist** **both** in Business Central **and** in Shopware, and the customer number or email address must match.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.solutioo.de/shopware/shopware6_en_us/pdf-documents/single-upload-of-documents.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
