Sovos Docs

Show Page Sections

Poland

Enabling support for Poland involves confirming prerequisites and product IDs, registering with the Krajowa Administracja Skarbowa (KAS) tax authority, and setting up credentials.

Prerequisites

  • Obtain one of these authentication methods:

    Authorization token

    An authorization token for your Numer Identyfikacji Podatkowej (NIP), obtained in the Krajowy System e-Faktur (KSeF) system.

    Note:

    This authentication method is available for all environments until January 1st, 2027, when Poland will deprecate it.

    KSeF certificate (online and offline mode)

    KSeF certificate obtained in the system, which you must use in these environments:

    • KSeF Pre-prod Environment

    • KSeF Production Environment

    Note:

    Production is only available on February 1st, 2026.

    Generating a KSeF certificate for entities (non-natural persons) requires logging into the KSeF system (MCU or KSeF Taxpayer Application) using the entity's qualified seal.

    Test certificate
    Test certificate you can use in the KSeF Test or the Sovos Mock environment.
  • Configure the authentication method in your account.

    Note:

    You can only configure a tax ID for one environment at a time.

  • For both Production and Sandbox environments, you must complete the Appointment letter and the Support and change management document and share them with the Sovos Professional Services team or your reseller.

  • Review these official government resources:

Available products

pl_Faktura__2.0
Outbound invoicing
pl_Faktura_Polling_2.0
Inbound invoicing
PL_DOCUMENT_1_2.0
Non-invoice documents

Error handling

When handling errors, the client application must follow the Indirect Tax API's error handling principles, as specified in the error handling documentation.

In general, all error codes in the 400 range are client errors, which you need to analyze. After fixing the error, you can resend the request. Error codes 408 and 429 are exceptions: In these cases, you should wait at least 60 seconds before retrying. Error codes in the 500 range are server errors. In that case, resend the request according to the instructions given on the error handling documentation, which also includes a full list of error codes Indirect Tax API can return.

For additional help on error handling, see this government web page. For specific details on the possible errors the tax authority can return, download these files:

Configure credentials for Poland

You must set up credentials to connect your Sovos account to a valid business that is registered with the KAS tax authority in Poland.

Important information regarding authorization tokens:

  • Multiple authorization tokens can be generated in parallel if needed.

  • All tokens are valid until they are explicitly revoked from the KSeF system.

  • If a token is replaced on the KSeF system, it must also be replaced on Sovos.

  • Tokens are generated separately for KSeF's test and production environments.

  • KSeF certificates have expiry dates, so they must be renewed and reuploaded on Sovos.

  • For test environment authentication, you can generate a test certificate.

    Tip:

    Sovos Support or the Sovos Professional Services team can help you generate that test certificate.

  1. Send a POST request to the endpoint URL:
    POST https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings
  2. Include the following headers in your request:
    • Content-Type: application/json

    • Authorization: Bearer {accessToken}

    • x-correlationId: {uniqueValue}

  3. Optional: For polling credentials, include this header:
    • X-App-Id: dlt

  4. Optional: For transmission credentials, include the following parameters inside the JSON payload in the request body.
    NameTypeRequiredDescription
    contextstringYesUse "transmission"
    configurationsarray of objectsYes
    namestringYesUse "partner_credentials_KSEF_V2"
    valueobjectYes
    authorizationTokenstringYes for token authenticationThe token value retrieved from KSeF
    certificateCrtBase64stringYes for certificate authentication on Pre-prod or Production (online mode)Certificate file encoded in Base64 (.crt format)
    certificateCrtKeyBase64stringYes for certificate authentication on Pre-prod or Production (online mode)Certificate .key file encoded in Base64
    certificateCrtPasswordstringYes for certificate authentication on Pre-prod or Production (online mode)Certificate password
    certificateOfflineBase64stringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate file encoded in Base64 (.crt format)
    certificateOfflineKeyBase64stringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate .key file encoded in Base64
    certificateOfflinePasswordstringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate password
    certificatePfxBase64stringYes for certificate authentication on the KSeF Test or the Sovos Mock environmentTest certificate file encoded in Base64 (.pfx format)
    certificatePfxPasswordstringNo (optional for certificate authentication on the KSeF Test or the Sovos Mock environment)Test certificate password
    scopeobjectYes
    categorystringYesUse "PL_INV"
    productIdstringYesUse "pl_Faktura__2.0"
    orgIdstringYesThe organization ID obtained from the Sovos Professional Services team
    taxIdstringYesThe tax ID of the company for which you are configuring the credentials
    operationstringNoUse "Issue" for SCI or "IssueLegal" for the local format.
    Note:

    If you do not inform this parameter, both values will be used.

    namestringNoUse "preferred_partner"
    valueobjectNo
    namestringNoUse one of these values:
    KSEF
    The KSeF Test or Production environment, depending on the base URL provided in the request.
    KSEF-PRE-PROD
    The KSeF Pre-Production environment.
    KSEF-MOCK
    Sovos internal Mock environment, which does not communicate with the KSeF systems.
    Note:

    "KSEF" is the default option if you do not inform this parameter in the request.

    You can only configure a tax ID for one environment at a time.

    scopeobjectNo
    categorystringNoUse "PL_INV"
    productIdstringNoUse "pl_Faktura_2.0"
    orgIdstringNoThe organization ID obtained from the Sovos Professional Services team
    taxIdstringNoThe tax ID of the company for which you are configuring the credentials
  5. Optional: For polling credentials, include the following parameters inside the JSON payload in the request body.
    NameTypeRequiredDescription
    contextstringYesUse "polling"
    configurationsarray of objectsYes
    namestringYesUse "partner_credentials_KSEF_V2"
    valueobjectYes
    authorizationTokenstringYes for token authenticationThe token value retrieved from KSeF
    certificateCrtBase64stringYes for certificate authentication on Pre-prod or Production (online mode)Certificate file encoded in Base64 (.crt format)
    certificateCrtKeyBase64stringYes for certificate authentication on Pre-prod or Production (online mode)Certificate .key file encoded in Base64
    certificateCrtPasswordstringYes for certificate authentication on Pre-prod or Production (online mode)Certificate password
    certificateOfflineBase64stringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate file encoded in Base64 (.crt format)
    certificateOfflineKeyBase64stringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate .key file encoded in Base64
    certificateOfflinePasswordstringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate password
    certificatePfxBase64stringYes for certificate authentication on the KSeF Test EnvironmentTest certificate file encoded in Base64 (.pfx format)
    certificatePfxPasswordstringNo (optional for certificate authentication on the KSeF Test Environment)Test certificate password
    scopeobjectYes
    categorystringYesUse "PL_INV"
    productIdstringYesUse "pl_Faktura_Polling_2.0"
    orgIdstringYesThe organization ID obtained from the Sovos Professional Services team
    taxIdstringYesThe tax ID of the company for which you are configuring the credentials
    operationstringYesUse "Validate"
    namestringYesUse "polling_process_configuration"
    valueobjectYes
    pollingWorkflowStateYesUse "enable"
    scopeobjectYes
    operationstringYesUse "Validate"
    categorystringYesUse "PL_INV"
    productIdstringYesUse "pl_Faktura_Polling_2.0"
    orgIdstringYesThe organization ID obtained from the Sovos Professional Services team
    taxIdstringYesThe tax ID of the company for which you are configuring the credentials
    systemIdstringyesUse "systemId"
    namestringYesUse "query_filter_params"
    valueobjectYes
    itemsarray of objectsYes
    namestringYesUse "PollingDateFrom"
    valuestringYesUse the "YYYY-MM-DDTHH:MM:SSZ" format
    scopeobjectYes
    categorystringYesUse "PL_INV"
    productIdstringYesUse "pl_Faktura_Polling_2.0"
    orgIdstringYesThe organization ID obtained from the Sovos Professional Services team
    taxIdstringYesThe tax ID of the company for which you are configuring the credentials
    operationstringYesUse "validate'
    namestringNoUse "preferred_partner"
    valueobjectNo
    namestringNoUse one of these values:
    KSEF
    The KSeF Test or Production environment, depending on the base URL provided in the request.
    KSEF-PRE-PROD
    The KSeF Pre-Production environment.
    KSEF-MOCK
    Sovos internal Mock environment, which does not communicate with the KSeF systems.
    Note:

    "KSEF" is the default option if you do not inform this parameter in the request.

    You can only configure a tax ID for one environment at a time.

    scopeobjectNo
    categorystringNoUse "PL_INV"
    productIdstringNoUse "pl_Faktura_Polling_2.0"
    orgIdstringNoThe organization ID obtained from the Sovos Professional Services team
    taxIdstringNoThe tax ID of the company for which you are configuring the credentials

Upon successful creation, the API will return a JSON object containing the uploaded credentials and their assigned SETTING-ID.

Samples for uploading credentials for Poland

Token authentication

Request sample for transmission credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '[
    {
        "context": "transmission",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
                    "authorizationToken": "INSERT-TOKEN-HERE"
                },
                "scope": {
		    		  "category": "PL_INV",
		    		  "productId": "pl_Faktura__2.0",
                   "orgId": "YOUR-ORG-ID",
            		  "taxId": "YOUR-COMPANY-TAXID"
                }
            }
            {  
                  "name": "preferred_partner",  
                  "value": {  
                     "name": "KSEF-PRE-PROD"
                },
                "scope": {
                   "category": "PL_INV",
                   "productId": "pl_Faktura__2.0",
                   "orgId": "YOUR-ORG-ID",
                   "taxId": "YOUR-COMPANY-TAXID"
                }
		   }
        ]
    }
]'
Response sample for transmission credentials
{
    "status": 201,
    "message": "Created",
    "success": true,
    "timestamp": 1663415078266,
    "data": [
        {
            "message": "Configurations are created",
            "statusCode": 201,
            "configurationContextResponse": {
                "context": "Transmission",
                "configurations": [
                    {
                        "id": "SETTING-ID",
                        "name": "partner_credentials_KSEF_V2",
                        "value": {
                            "authorizationToken": "INSERT-TOKEN-HERE",
                        },
                        "scope": {
                            "category": "PL_INV",
                            "productId": "pl_Faktura__2.0",
                            "orgId": "YOUR-ORG-ID",
            		   		  "taxId": "YOUR-COMPANY-TAXID"
                        },
                        "auditData": {
                            "createdAt": 1663415078,
                            "createdBy": "user@company.com",
                            "isDeleted": false,
                            "version": 1
                        }
                    }
                ]
            }
        }
    ]
}
Request sample for polling credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--header 'X-App-Id: dlt' \
--data '[
    {
        "context": "polling",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
                    "authorizationToken": "INSERT-TOKEN-HERE"
                },
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            },
		   {
                "name": "polling_process_configuration",
                "value": {
                    "pollingWorkflowState": "enable"
                },
                "scope": {
                    "operation": "Validate",
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "systemId": "SYSTEM-ID"
                }
            },
            {
                "name": "query_filter_params",
                "value": {
                    "items": [
                        {
                            "name": "PollingDateFrom",
                            "value": "YYYY-MM-DDTHH:MM:SSZ"
                        }
                    ]
                },
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            }
            {  
                   "name": "preferred_partner",  
                   "value": {  
                     "name": "KSEF-PRE-PROD"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura_Polling_2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		   }
        ]
    }
]'
Response sample for polling credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}

Certificate authentication

Request sample for transmission credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '[
    {
        "context": "transmission",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
                    "certificateCrtBase64": "Certificate .crt file encoded in Base64",
                    "certificateCrtKeyBase64": "Certificate .key file encoded in Base64",
				   "certificateCrtPassword": "ENTER PASSWORD HERE"
				},
                "scope": {
                  "category": "PL_INV",
                  "productId": "pl_Faktura__2.0",
				 "orgId": "YOUR-ORG-ID",
            		 "taxId": "YOUR-COMPANY-TAXID",
                  "operation": "Issue"
                }
            }
            {  
                  "name": "preferred_partner",  
                  "value": {  
                      "name": "KSEF-PRE-PROD"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura__2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		   }
        ]
    }
]'
Response sample for transmission credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}
Request sample for polling credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--header 'X-App-Id: dlt' \
--data '[
    {
        "context": "polling",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
                    "certificateCrtBase64": "Certificate .crt file encoded in Base64",
                    "certificateCrtKeyBase64": "Certificate .key file encoded in Base64",
				   "certificateCrtPassword": "ENTER PASSWORD HERE"
                },
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            },
		   {
                    "name": "polling_process_configuration",
                    "value": {
                        "pollingWorkflowState": "enable"
                    },
                    "scope": {
                        "operation": "Validate",
                        "category": "PL_INV",
                        "productId": "pl_Faktura_Polling_2.0",
                        "orgId": "YOUR-ORG-ID",
            		       "taxId": "YOUR-COMPANY-TAXID",
                        "systemId": "SYSTEM-ID"
                    }
            },
            {
                "name": "query_filter_params",
                "value": {
                    "items": [
                        {
                            "name": "PollingDateFrom",
                            "value": "YYYY-MM-DDTHH:MM:SSZ"
                        }
                    ]
                },
			   "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            }
            {  
                   "name": "preferred_partner",  
                   "value": {  
                       "name": "KSEF-PRE-PROD"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura_Polling_2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		    }
        ]
    }
]'
Response sample for polling credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}

Offline certificate authentication

Request sample for transmission credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '[
    {
        "context": "transmission",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
                    "certificateOfflineBase64": "Certificate .crt file encoded in Base64",
                    "certificateOfflineKeyBase64": "Certificate .key file encoded in Base64",
				   "certificateOfflinePassword": "ENTER PASSWORD HERE"
				},
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura__2.0",
				   "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
				   "operation": "Issue"
                }
            }
            {  
                   "name": "preferred_partner",  
                   "value": {  
                       "name": "KSEF-PRE-PROD"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura__2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		    }
        ]
    }
]'
Response sample for transmission credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}
Request sample for polling credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--header 'X-App-Id: dlt' \
--data '[
    {
        "context": "polling",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
             	   "certificateOfflineBase64": "Certificate .crt file encoded in Base64",
                    "certificateOfflineKeyBase64": "Certificate .key file encoded in Base64",
				   "certificateOfflinePassword": "ENTER PASSWORD HERE"
                },
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            },
		   {
                    "name": "polling_process_configuration",
                    "value": {
                        "pollingWorkflowState": "enable"
                    },
                    "scope": {
                        "operation": "Validate",
                        "category": "PL_INV",
                        "productId": "pl_Faktura_Polling_2.0",
                        "orgId": "YOUR-ORG-ID",
            		       "taxId": "YOUR-COMPANY-TAXID",
                        "systemId": "SYSTEM-ID"
                    }
            },
            {
                "name": "query_filter_params",
                "value": {
                    "items": [
                        {
                            "name": "PollingDateFrom",
                            "value": "YYYY-MM-DDTHH:MM:SSZ"
                        }
                    ]
                },
			   "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            }
            {  
                   "name": "preferred_partner",  
                   "value": {  
                       "name": "KSEF-PRE-PROD"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura_Polling_2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		    }
        ]
    }
]'
Response sample for polling credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}

Test certificate authentication (KSeF Test or Sovos Mock)

Request sample for transmission credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '[
    {
        "context": "transmission",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
                    "certificatePfxBase64": "Certificate .pfx file encoded in Base64",
				   "certificatePfxPassword": "ENTER PASSWORD HERE"
				},
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura__2.0",
				   "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
				   "operation": "Issue"
                }
            }
            {  
                   "name": "preferred_partner",  
                   "value": {  
                       "name": "KSEF"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura__2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		    }
        ]
    }
]'
Note:

The certificatePfxPassword parameter is optional.

Response sample for transmission credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}
Request sample for polling credentials
curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--header 'X-App-Id: dlt' \
--data '[
    {
        "context": "polling",
        "configurations": [
            {
                "name": "partner_credentials_KSEF_V2",
                "value": {
             	   "certificatePfxBase64": "Certificate .pfx file encoded in Base64",
				   "certificatePfxPassword": "ENTER PASSWORD HERE"
                },
                "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            },
		   {
                    "name": "polling_process_configuration",
                    "value": {
                        "pollingWorkflowState": "enable"
                    },
                    "scope": {
                        "operation": "Validate",
                        "category": "PL_INV",
                        "productId": "pl_Faktura_Polling_2.0",
                        "orgId": "YOUR-ORG-ID",
            		       "taxId": "YOUR-COMPANY-TAXID",
                        "systemId": "SYSTEM-ID"
                    }
            },
            {
                "name": "query_filter_params",
                "value": {
                    "items": [
                        {
                            "name": "PollingDateFrom",
                            "value": "YYYY-MM-DDTHH:MM:SSZ"
                        }
                    ]
                },
			   "scope": {
                    "category": "PL_INV",
                    "productId": "pl_Faktura_Polling_2.0",
                    "orgId": "YOUR-ORG-ID",
            		   "taxId": "YOUR-COMPANY-TAXID",
                    "operation": "Validate"
                }
            }
            {  
                   "name": "preferred_partner",  
                   "value": {  
                       "name": "KSEF"
                   },
                   "scope": {
                       "category": "PL_INV",
                       "productId": "pl_Faktura_Polling_2.0",
                       "orgId": "YOUR-ORG-ID",
                       "taxId": "YOUR-COMPANY-TAXID"
                   }
		    }
        ]
    }
]'
Note:

The certificatePfxPassword parameter is optional.

Response sample for polling credentials
 
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1761232308413,
    "data": "Company Configurations saved successfully."
}

Update credentials for Poland

You can update credentials using the token or the certificate authentication methods. In addition, you can use the same endpoint to enable or disable polling.

Note:

You can only configure a tax ID for one environment at a time.

  1. Send a PUT request to the endpoint URL:
    PUT https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{settingId}
  2. Include the following headers in your request:
    • Content-Type: application/json

    • Authorization: Bearer {accessToken}

    • x-correlationId: {uniqueValue}

  3. Optional: To update transmission or polling credentials using the token authentication method, include the following parameters inside the JSON payload in the request body.
    NameTypeRequiredDescription
    valueobjectYes
    authorizationTokenstringYesThe token value retrieved from KSeF
  4. Optional: To update transmission and polling credentials using the certificate authentication method, include the following parameters inside the JSON payload in the request body.
    NameTypeRequiredDescription
    valueobjectYes
    certificateCrtBase64stringYes for certificate authentication on Pre-prod or Production (online mode)Certificate file encoded in Base64 (.crt format)
    certificateCrtKeyBase64stringYes for certificate authentication on Pre-prod or Production (online mode)Certificate .key file encoded in Base64
    certificateCrtPasswordstringYes for certificate authentication on Pre-prod or Production (online mode)Certificate password
    certificateOfflineBase64stringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate file encoded in Base64 (.crt format)
    certificateOfflineKeyBase64stringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate .key file encoded in Base64
    certificateOfflinePasswordstringYes for certificate authentication on Pre-prod or Production (offline mode)Certificate password
    certificatePfxBase64stringYes for certificate authentication on the KSeF Test or the Sovos Mock environmentTest certificate file encoded in Base64 (.pfx format)
    certificatePfxPasswordstringNo (optional for certificate authentication on the KSeF Test or the Sovos Mock environment)Test certificate password
  5. Optional: To enable or disable polling credentials, include the following parameters inside the JSON payload in the request body.
    NameTypeRequiredDescription
    valueobjectYes
    pollingWorkflowStatestringYesUse "enable" or "disable"
  6. To switch to a different environment, include the following parameters inside the JSON payload in the request body.
    NameTypeRequiredDescription
    valueobjectYes
    namestringYesUse one of these values:
    KSEF

    The KSeF Test or Production environment, depending on the base URL provided in the request.

    Note:

    Production is only available on February 1st, 2026.

    KSEF-PRE-PROD

    The KSeF Pre-Production environment.

    KSEF-MOCK
    Sovos internal Mock environment, which does not communicate with the KSeF systems.

Upon successful creation, the API will return a JSON object containing the uploaded credentials and their assigned SETTING-ID.

Samples for updating credentials for Poland

Token authentication

Request sample
curl --location --request PUT 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{settingId}' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '{
    "value": {
        "authorizationToken": "NEW-TOKEN-HERE"
    }
}'
Response sample
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1663415531117,
    "data": {
        "id": "SETTING-ID",
        "name": "partner_credentials_KSEF",
        "value": {
            "authorizationToken": "*****"
        },
        "scope": {
            "category": "PL_INV",
            "productId": "pl_Faktura__2.0",
            "orgId": "YOUR-ORG-ID",
            "taxId": "YOUR-COMPANY-TAXID"
        },
        "auditData": {
            "createdAt": 1663415078,
            "createdBy": "user@company.com",
            "updatedAt": 1663415531,
            "updatedBy": "user@company.com",
            "isDeleted": false,
            "version": 1
        }
    }
}

Certificate authentication

Request sample
curl --location --request PUT 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{setting-id}' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '{
    "value": {
        "certificateCrtBase64": "Certificate .crt file encoded in Base64",
        "certificateCrtKeyBase64": "Certificate .key file encoded in Base64",
	    "certificateCrtPassword": "ENTER PASSWORD HERE"
    }
}'
Response sample
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1663415531117,
    "data": {
        "id": "SETTING-ID",
        "name": "partner_credentials_KSEF",
        "value": {
           "certificateCrtBase64": "*****",
           "certificateCrtKeyBase64": "*****",
	       "certificateCrtPassword": "*****"
	   },
        "scope": {
            "category": "PL_INV",
            "productId": "pl_Faktura__2.0",
            "orgId": "YOUR-ORG-ID",
            "taxId": "YOUR-COMPANY-TAXID"
        },
        "auditData": {
            "createdAt": 1663415078,
            "createdBy": "user@company.com",
            "updatedAt": 1663415531,
            "updatedBy": "user@company.com",
            "isDeleted": false,
            "version": 1
        }
    }
}

Offline certificate authentication

Request sample
curl --location --request PUT 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{setting-id}' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '{
    "value": {
        "certificateOfflineBase64": "Certificate .crt file encoded in Base64",
        "certificateOfflineKeyBase64": "Certificate .key file encoded in Base64",
		"certificateOfflinePassword": "ENTER PASSWORD HERE"
    }
}'
Response sample
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1663415531117,
    "data": {
        "id": "SETTING-ID",
        "name": "partner_credentials_KSEF",
        "value": {
            "certificateOfflineBase64": "*****",
        "certificateOfflineKeyBase64": "******",
            "certificateOfflinePassword": "******"
        },
        "scope": {
            "category": "PL_INV",
            "productId": "pl_Faktura__2.0",
            "orgId": "YOUR-ORG-ID",
            "taxId": "YOUR-COMPANY-TAXID"
        },
        "auditData": {
            "createdAt": 1663415078,
            "createdBy": "user@company.com",
            "updatedAt": 1663415531,
            "updatedBy": "user@company.com",
            "isDeleted": false,
            "version": 1
        }
    }
}

Test certificate authentication (KSeF Test or Sovos Mock)

Request sample
curl --location --request PUT 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{setting-id}' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '{
    "value": {
	    "certificatePfxBase64": "Certificate .pfx file encoded in Base64",
		"certificatePfxPassword": "ENTER PASSWORD HERE"
    }
}'
Response sample
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1663415531117,
    "data": {
        "id": "SETTING-ID",
        "name": "partner_credentials_KSEF",
        "value": {
           "certificatePfxBase64": "*****",
           "certificatePfxPassword": "*****"
	   },
        "scope": {
            "category": "PL_INV",
            "productId": "pl_Faktura__2.0",
            "orgId": "YOUR-ORG-ID",
            "taxId": "YOUR-COMPANY-TAXID"
        },
        "auditData": {
            "createdAt": 1663415078,
            "createdBy": "user@company.com",
            "updatedAt": 1663415531,
            "updatedBy": "user@company.com",
            "isDeleted": false,
            "version": 1
        }
    }
}

Enable or disable polling

Request sample
curl --location --request PUT 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{settingId}' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data-raw '{
    "value": {
         "pollingWorkflowState": "enable"
    }
}'
Response sample
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1663415531117
}

Switch to another environment

Request sample
curl --location --request PUT 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings/{settingId}' \
--header Content-Type: application/json \
--header Authorization: Bearer {accessToken} \
--header x-correlationId: {uniqueValue} \
--data '{
    "value": {
         "name": "mock"
    }
}'
Response sample
{
    "status": 200,
    "message": "OK",
    "success": true,
    "timestamp": 1663415531117
}

Issue invoice

Issuing an invoice in Poland is based on the Default business process, which follows this order: Mapping and Transmission. The following diagram provides a detailed overview:

Poland outbound flow
Note:

For the test environment, all test data should be anonymized because other taxpayers can view it on the KSeF system.

Step 1: Supplier creates the Standard Business Document

Every invoice sent to Sovos must be part of a Standard Business Document (SBD). This document includes a Standard Business Document Header (SBDH) and a Sovos Document node, which in turn includes a Sovos Canonical Invoice (SCI). To create the SBD, follow the detailed instructions in the SBDH, Sovos Document, and SCI pages.

Here are some key elements that should be included in the SBD and in the invoice:

Use the following values in the SBDH for documents that use the SCI format:

NodeRequiredAttributesValue
StandardBusinessDocumentHeader.Sender.IdentifierYesAuthority="PL"Supplier's NIP
StandardBusinessDocumentHeader.Receiver.IdentifierYesAuthority="PL"
StandardBusinessDocumentHeader.DocumentIdentification.StandardYesurn:oasis:names:specification:ubl:schema:xsd:Invoice-2
StandardBusinessDocumentHeader.DocumentIdentification.TypeVersionYes2.1
StandardBusinessDocumentHeader.DocumentIdentification.TypeYesInvoice
StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: Country

Child node Identifier: PL

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: ProcessType

Child node Identifier: Outbound

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: CompanyCode

Child node Identifier : Supplier's NIP

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: SenderDocumentId

Child node Identifier: A unique document ID. We recommend the ERP document ID.

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: SenderSystemId

Child node Identifier: The system ID configured in the backend. This parameter is used to determine which notifications are returned to the client and what attachments they include. If SenderSystemId is not configured on the client side, it will use the default value of "DefaultSystemERP". For more information, see this topic.

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: Mapping.OutputSchema

Child node Identifier : Faktura

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: Mapping.TransformDocument

Child node Identifier: SCI-TO-LEGAL_INVOICE

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: BusinessCategory

Child node Identifier: B2B

StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type : Version

Child node Identifier: 2.0

StandardBusinessDocumentHeader.BusinessScope.Scope.BusinessService.BusinessServiceNameYesDefault
SovosDocument.SovosCanonicalInvoice.InvoiceYesSCI

Alternatively, the supplier can use the local format (XML) instead of SCI. Use the following values in the SBDH for documents that use the local format:

NodeRequiredValue
StandardBusinessDocumentHeader.DocumentIdentification.StandardYeshttp://crd.gov.pl/wzor/2023/06/29/12648/
StandardBusinessDocumentHeader.DocumentIdentification.TypeVersionYes2.0
StandardBusinessDocumentHeader.DocumentIdentification.TypeYesFaktura
StandardBusinessDocumentHeader.BusinessScope.Scope (with child nodes)Yes

Child node Type: Mapping.TransformDocument

Child node Identifier: LEGAL-TO-SCI_INVOICE

SovosDocument.SovosLegalDocument.Base64DocumentYesA local format

You need to encode the local format (XML) document in Base64 before you can add it as part of the SBD. Here is a sample:

    </sbd:StandardBusinessDocumentHeader>
    <svs:SovosDocument>
        <svs:SovosLegalDocument>
            <enc:Base64Document>
                <enc:EmbeddedDocument id="1" fileName="invoice.xml" mimeCode="application/xml">PD94bWwgdmVyc...FrdHVyYT4NCg==</enc:EmbeddedDocument>
            </enc:Base64Document>
        </svs:SovosLegalDocument>
    </svs:SovosDocument>
</svs:StandardBusinessDocument>
Note:

Include all the mandatory nodes, as specified in the SBDH schema. If the information cannot be provided, and the respective mandatory node has not been mentioned on the current page, for example the receiver.identifier, you can leave the node empty but must still include it in the SBDH.

SBD sample
Below is a sample of the SBD. In addition, there's a full sample of the SBD on the Postman Samples page.
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">08AAACI9260R002</sbd:Identifier>
			<sbd:ContactInformation>
				<sbd:Contact>08AAACI9260R002</sbd:Contact>
				<sbd:EmailAddress/>
				<sbd:FaxNumber/>
				<sbd:TelephoneNumber/>
				<sbd:ContactTypeIdentifier/>
			</sbd:ContactInformation>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL"/>
			<sbd:ContactInformation>
				<sbd:Contact/>
				<sbd:EmailAddress/>
				<sbd:FaxNumber/>
				<sbd:TelephoneNumber/>
				<sbd:ContactTypeIdentifier/>
			</sbd:ContactInformation>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-06-16T00:31:52Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>2.0</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>321412</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT101</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
                <sbd:Type>CompanyCode</sbd:Type>
                <sbd:InstanceIdentifier/>
                <sbd:Identifier>08AAACI9260R002</sbd:Identifier>
            </sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>B2B</sbd:Identifier>
			</sbd:Scope>
		 	<sbd:Scope>
                <sbd:Type>BusinessProcess</sbd:Type>
                <sbd:InstanceIdentifier/>
                <sbd:BusinessService>
                    <sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
                </sbd:BusinessService>
            </sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
			    *UBL Elements*
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>

Step 2: Supplier sends the SBD to Sovos

The supplier sends a POST request to the /documents endpoint.

The request must include the following request body parameters:

NameTypeRequiredDescription
datastringYes The Base64-encoded SBD from step 1
dataEncodingstringYesUse "base64"
Note:

You can find full samples of the SCI and Legal XMLs in the Payload Samples topic.

Request sample
curl --location --request POST 'https://api-test.sovos.com/v1/documents' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--header 'x-correlationId: SET-TO-UNIQUE-VALUE' \
--data-raw '{
	"data": "PD9...d4=",
	"dataEncoding" : "base64"
}'
Response sample
{
    "timestamp": 1605282724079,
    "status": 202,
    "success": true,
    "message": "Document Received",
    "data": {
        "documentId": "3add2b7104dc0049ff0bf410f57e0a19afaf"
    }
}

Step 3: Sovos maps the SCI into XML

Upon receiving the SCI, Sovos maps the file into the required XML format.

Note:

Sovos will skip this step if the SBD contains the invoice in the local format (XML).

Step 4: Sovos performs the schema validation

Sovos performs a schema validation based on the information provided by the tax authority. If there are errors in the document, Sovos detects them instead of waiting for the tax authority's response.

Step 5: Sovos transmits the XML

Sovos transmits the XML file to the KSeF system.

Step 6: KSeF processes the XML

KSeF performs a schema validation of the invoice and verifies the supplier permissions. Then it generates an Official Receipt Confirmation (UPO) and an approval or rejection response message along with an error message, where applicable.

Once the KSeF system approves the invoice, the buyer can retrieve it.

Step 7: KSeF sends the response to Sovos

After performing its services, KSeF sends the response to Sovos.

Step 8: Supplier retrieves the application responses

Attachments configuration

There are three ways you can access your attachments:

  • As binary data, so the file is embedded in the Base64-encoded application response.

  • As open download links, in which the response contains a public URL to download the file.

  • As secure download links, in which you need to use the Indirect Tax API's bearer token to download the attachment.

By default, Sovos configures your attachments as open download links to avoid potential size limitations when retrieving responses. To improve security, you should configure them as secure links. Then, make a GET call to the secure link returned by the Indirect Tax API, and include the API token. Sample request:

curl --location 'https://einvoicing-api.sovos.com/download/api/v1/download/JqYyqliXiJFKhXshnBQZfW3qpfwATVGE5Q73T41JUynNLJD8zHy5VH__9qzL9No-Kia9olSw3_lNX3KmaA9Je89Xx--vk5pQjyKx0iT_4CwPSABD0Yg7uxXZ8SNiliEhFY-4TOX7m1TV5FwwfqntehbGaiGMI2JVYu18VBDiC_0/plain%27 \
--header 'Authorization: Bearer TOKEN'Y

In response to the initial sending of the document, the client receives a JSON response message with an HTTP status code of 202 (asynchronous transaction). This means that the supplier must retrieve the application responses that become available during the transaction, which provide status information and the cleared XML encoded in Base64 after it's available during the process.

Additionally, you must consider the following details included in the response:

Transmission message
It maps to the SCIGovtStatusCode and StatusReason elements in the response message, as described in the application responses documentation, which details any warnings or additional notes to consider. The Polish tax authority doesn't define any specific set of rules about what action to take on each error. Depending on the type of message, the user may have to modify the invoice, take some additional action, or simply make a note for the future.

Options for retrieving application responses (notifications):

Fetch everything in one single response (notification)
When polling for responses, Sovos only returns one final notification with SCICloudStatusCode of 209 that contains all the relevant attachments and data. Detailed description follows.
Fetch multiple responses (notifications) containing different information
When polling for responses, Sovos returns multiple notifications with different SCICloudStatusCode values containing different attachments and data until the final one (with status 209) is returned. Detailed description follows.

To complete a transaction, the supplier retrieves only one notification, the complete workflow one, with SCICloudStatusCode of 209 and all the necessary attachments and data. Afterwards, the notification needs to be parsed for the SCIResponseCode value. Possible values for SCIResponseCode:

AP
The document's compliance status has been accepted with all the necessary attachments and data included.
RE
The document's compliance status has been rejected, and more parsing is needed:
  • If SCIGovtStatusCode is present, the error can be found by reading StatusReason.

  • if SCIInternalValidationCode is present, the error can be found by reading StatusReason.

Note: Receiving a notification containing SCICloudStatusCode with a value in the 5xx range still remains an option, as it indicates a server error. In this case, the workflow doesn't finish in the sense that it doesn't return a notification with SCICloudStatusCode of 209.
#SCICloudStatusCode SCIResponseCode Sample
1 209AP
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">AP</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">209</cbc:StatusReasonCode>
				<cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode"/>
				<cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIGovtStatusCode">200</cbc:StatusReasonCode>
				<cbc:StatusReason>Zakończenie etapu generowania UPO</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Workflow Successfully Completed
2209RE
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">RE</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">209</cbc:StatusReasonCode>
				<cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode"/>
				<cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIInternalValidationStatusCode">401</cbc:StatusReasonCode>
				<cbc:StatusReason>The element 'Faktura' in namespace 'http://crd.gov.pl/wzor/2023/06/29/12648/' has invalid child element 'Fa' in namespace 'http://crd.gov.pl/wzor/2023/06/29/12648/'. List of possible elements expected: 'Podmiot2' in namespace 'http://crd.gov.pl/wzor/2023/06/29/12648/'.</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Workflow Successfully Completed

To complete a transaction, the supplier must retrieve the application responses until the transaction has finished. If the supplier has subscribed to all notifications, the transaction can generate different application responses. See the table below:

#SCICloudStatusCodeSCIResponseCode Sample
1100IP
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">IP</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">100</cbc:StatusReasonCode>
				<cbc:StatusReason>Document received successfully</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">100-Received successfully</cbc:StatusReasonCode>
				<cbc:StatusReason>Document received successfully</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Document received successfully
2101IP
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">IP</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">101</cbc:StatusReasonCode>
				<cbc:StatusReason>Document mapped successfully</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">101-Mapped successfully</cbc:StatusReasonCode>
				<cbc:StatusReason>Document mapped successfully</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Document mapped successfully
3200AP
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">AP</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">200</cbc:StatusReasonCode>
				<cbc:StatusReason>Authorized by the tax authority</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">200-Authorized</cbc:StatusReasonCode>
				<cbc:StatusReason>Authorized by the tax authority</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Authorized by the tax authority
4207AP
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">AP</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">207</cbc:StatusReasonCode>
				<cbc:StatusReason>Pdf created successfully</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">207-PDF Created successfully</cbc:StatusReasonCode>
				<cbc:StatusReason>Pdf created successfully</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
PDF created successfully
5209AP
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">AP</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">209</cbc:StatusReasonCode>
				<cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
				<cbc:StatusReason>No action required</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">209-Completed successfully</cbc:StatusReasonCode>
				<cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIGovtStatusCode">200</cbc:StatusReasonCode>
				<cbc:StatusReason>Zakończenie etapu generowania UPO</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Workflow Successfully Completed
6401RE
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID/>
			<cbc:ResponseCode listID="SCIResponseCode">RE</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">401</cbc:StatusReasonCode>
				<cbc:StatusReason>Error processing document</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">NIN</cbc:StatusReasonCode>
				<cbc:StatusReason>Request to re-issue a corrected new invoice (or other document) or fix the error and resend the document</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">401-Document error</cbc:StatusReasonCode>
				<cbc:StatusReason>Error processing document</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIInternalValidationStatusCode">401</cbc:StatusReasonCode>
				<cbc:StatusReason>The 'http://crd.gov.pl/wzor/2023/06/29/12648/:SystemInfo' element is invalid - The value '' is invalid according to its datatype 'http://crd.gov.pl/wzor/2023/06/29/12648/:TZnakowy' - The actual length is less than the MinLength value.</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIInternalValidationStatusCode">401</cbc:StatusReasonCode>
				<cbc:StatusReason>The 'http://crd.gov.pl/wzor/2023/06/29/12648/:KodWaluty' element is invalid - The value '' is invalid according to its datatype 'http://crd.gov.pl/wzor/2023/06/29/12648/:TKodWaluty' - The Enumeration constraint failed.</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Error processing the document
7500RE
	<cac:DocumentResponse>
		<cac:Response>
			<cbc:ReferenceID>transmission-04e472aa-6dff-4676-9804-df95fbfb6455-Issue</cbc:ReferenceID>
			<cbc:ResponseCode listID="SCIResponseCode">RE</cbc:ResponseCode>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCICloudStatusCode">500</cbc:StatusReasonCode>
				<cbc:StatusReason>Internal system error</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIStatusAction">OTH</cbc:StatusReasonCode>
				<cbc:StatusReason>Requested action is not defined by code</cbc:StatusReason>
			</cac:Status>
			<cac:Status>
				<cbc:StatusReasonCode listID="SCIERPStatusCode">500-System error</cbc:StatusReasonCode>
				<cbc:StatusReason>Internal system error</cbc:StatusReason>
			</cac:Status>
		</cac:Response>
Internal system error
Note:

To configure notifications for your company or update your current configuration, contact the Professional Services team.

The supplier can use the following Indirect Tax API endpoints to retrieve application responses:

  • GET /notifications/PL

  • GET /documents/PL/{documentId}/notifications

GET /notifications/PL
The supplier can send a GET request to the /notifications/PL endpoint to retrieve application responses that match the configured search criteria. To make this request, set the following query parameters:
NameTypeRequiredDefaultDescription
taxIdstringNo

Include only notifications related to the specified taxId. This value is related to the CompanyCode in the SBDH.

Note:

If a request does not include this parameter, it will return all the notifications related to the country and the sourceSystemId parameter.

pageintegerNo1To specify the page to be returned, use a value between 1 and 10.
perPageintegerNo10

To specify the number of results for the returned page, use a value between 1 and 100.

Important:

If the attachment file is configured to return binary content instead of a link, use only values between 1 and 10.

sourceSystemIdstringYesInclude only notifications related to documents that originate from the given source system. This value is related to the SenderSystemId in the SBDH.
includeAcknowledgedbooleanNofalseUse "true" to include previously acknowledged notifications, within 24 hours of their acknowledgment, in the result.
processTypestringNoUse "0" to only include notifications related to outbound documents.
Request sample
curl --location --request GET 'https://api-test.sovos.com/v1/notifications/PL?page=1&perPage=2&includeAcknowledged=true&taxId={taxId}&sourceSystemId={sourceSystemId}&processType=0' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--header 'x-correlationId: SET-TO-UNIQUE-VALUE'
Response sample
{
    "timestamp": 1633685509314,
    "status": 200,
    "success": true,
    "message": "Notifications Listed",
    "data": {
        "pageState": {
            "page": 1,
            "perPage": 50,
            "totalEntries": 1
        },
        "notifications": [
            {
                "createdDate": 1633681296,
                "metadata": {
                    "productId": "pl_InvoiceData__2.0",
                    "documentId": "3add2b7104dc0049ff0bf410f57e0a19afaf",
                    "erpDocumentId": "321412",
                    "erpSystemId": "UAT101",
                    "processType": "0",
                    "taxId": "08AAACI9260R002",
                    "sciCloudStatusCode": "200",
                    "sciResponseCode": "AP",
                    "sciStatusAction": "NOA",
                    "sciGovtStatusCode": "100"
                },
                "appPrefix": "DLT",
                "notificationId": "a8dc1aa2-fbe6-45ce-9e4c-97a3d5fdb91c",
                "content": "PEF...NlPg=="
            }
        ]
    }
}
GET /documents/PL/{documentId}/notifications
The supplier can send a GET request to the /documents/PL/{documentId}/notifications endpoint to retrieve application responses related to a single document. To make this request, set the following parameter:
NameTypeRequiredParameter typeDefaultDescription
documentIdstringYesPathThe document ID returned in step 2
Request sample
curl --location --request GET 'https://api-test.sovos.com/v1/documents/PL/{documentId}/notifications?' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--header 'x-correlationId: SET-TO-UNIQUE-VALUE'
Response sample
{
    "timestamp": 1633685509314,
    "status": 200,
    "success": true,
    "message": "Notifications Listed",
    "data": {
        "pageState": {
            "page": 1,
            "perPage": 50,
            "totalEntries": 1
        },
        "notifications": [
            {
                "createdDate": 1633681296,
                "metadata": {
                    "productId": "pl_InvoiceData__2.0",
                    "documentId": "3add2b7104dc0049ff0bf410f57e0a19afaf",
                    "erpDocumentId": "321412",
                    "erpSystemId": "UAT101",
                    "processType": "0",
                    "taxId": "08AAACI9260R002",
                    "sciCloudStatusCode": "200",
                    "sciResponseCode": "AP",
                    "sciStatusAction": "NOA",
                    "sciGovtStatusCode": "100"
                },
                "appPrefix": "DLT",
                "notificationId": "a8dc1aa2-fbe6-45ce-9e4c-97a3d5fdb91c",
                "content": "PEF...NlPg=="
            }
        ]
    }
}

Step 9: Supplier marks the application responses as acknowledged

The supplier must process the retrieved application responses and mark them as acknowledged. This can be done by sending a PUT request to the /notifications/PL endpoint.

To make this request, use the following request body parameters:

NameTypeRequiredDescription
statusstringYesUse "read"
notificationIdstringYesThe notification ID
Note: Multiple notificationId values can be acknowledged in one Indirect Tax API call by including them in a single request.
Request sample
curl --location --request PUT 'https://api-test.sovos.com/v1/notifications/PL' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--header 'x-correlationId: SET-TO-UNIQUE-VALUE' \
--data-raw '[
    {
        "status": "read",
        "notificationId": "51341d39-fd3e-4dcf-aea3-a73d73e0de76"
    }
]'
Response sample
{
    "timestamp": 1601673284,
    "status": 200,
    "success": true,
    "message": "Notifications acknowledged successfully."
}

Step 10: Archiving

You can compliantly archive the XML, the application response, and any graphical representation, such as a PDF, using Sovos' Compliant Archive.

For suppliers integrating with the Sovos solution for Poland for the first time, we recommend the bundled approach, in which archiving is part of the invoice clearance flow. Archiving can also be done separately through an explicit API call that uses another archive. For more information on standalone archiving, see the eArchiving documentation page.

Note: Bundled e-invoice archiving is optional. This means you can use your current solution and include Sovos e-Archiving.

Step 11: Supplier sends the invoice to the buyer

The supplier must design a solution that caters to the preferred business processes for delivering the invoice to the buyer, as this is outside the scope of Sovos.

During the voluntary phase, the buyer and the supplier must decide whether to communicate via KSeF or out-of-band.

UPO (Official Receipt Confirmation)

KSeF generates an UPO and returns it to Sovos as a proof of successful authorization. The UPO can be added as a possible attachment to the application response to be consumed by the client app by using the AuthorizationProtocol attachment type.

KSeF defines the UPO’s structure, as you can see in this xsd file.

Note: If you use Sovos’ bundled archiving in Poland, you'll find the UPO included as an invoice attachment.

Retrieve invoice

The diagram below provides a detailed overview of the inbound flow process for retrieving an invoice in Poland:

Poland inbound invoice retrieval flow
Note:

In the Sandbox (UAT) environment, you can retrieve invoices after 15 minutes, while in Production it takes one hour. This is due to variations in the processing time of the KSeF platform, which Sovos must take into account to avoid potential delays.

Step 1: Sovos retrieves the documents from KSeF

Sovos uses the buyer's credentials to au

thenticate with KSeF to collect the available documents.

Note:

Occasionally, KSeF's processing of documents on the outbound side during approval can cause delays in displaying them on the document retrieval side. To mitigate the risk of documents appearing after the inbound processing has already taken place, Sovos triggers a reconciliation job every Saturday to retrieve any potentially missed documents from the previous week.

.

Step 2: Sovos makes the documents available

Sovos stores the retrieved documents (including the PDF version) and makes them available to buyers for retrieval.

Step 3: Buyer retrieves the application responses

Attachments configuration

There are three ways you can access your attachments:

  • As binary data, so the file is embedded in the Base64-encoded application response.

  • As open download links, in which the response contains a public URL to download the file.

  • As secure download links, in which you need to use the Indirect Tax API's bearer token to download the attachment.

By default, Sovos configures your attachments as open download links to avoid potential size limitations when retrieving responses. To improve security, you should configure them as secure links. Then, make a GET call to the secure link returned by the Indirect Tax API, and include the API token. Sample request:

curl --location 'https://einvoicing-api.sovos.com/download/api/v1/download/JqYyqliXiJFKhXshnBQZfW3qpfwATVGE5Q73T41JUynNLJD8zHy5VH__9qzL9No-Kia9olSw3_lNX3KmaA9Je89Xx--vk5pQjyKx0iT_4CwPSABD0Yg7uxXZ8SNiliEhFY-4TOX7m1TV5FwwfqntehbGaiGMI2JVYu18VBDiC_0/plain%27 \
--header 'Authorization: Bearer TOKEN'Y

To complete a transaction, the buyer must retrieve the application responses until the transaction has finished. If the buyer has subscribed to all notifications, the transaction can generate different application responses. See the table below:

#SCICloudStatusCodeSCIResponseCode Sample
1100IP
  <cac:DocumentResponse>
    <cac:Response>
      <cbc:ReferenceID></cbc:ReferenceID>
      <cbc:ResponseCode listID="SCIResponseCode">IP</cbc:ResponseCode>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCICloudStatusCode">100</cbc:StatusReasonCode>
        <cbc:StatusReason>Document received successfully</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
        <cbc:StatusReason>No action required</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIERPStatusCode">100-Received successfully</cbc:StatusReasonCode>
        <cbc:StatusReason>Document received successfully</cbc:StatusReason>
      </cac:Status>
    </cac:Response>
Document received successfully
2101IP
  <cac:DocumentResponse>
    <cac:Response>
      <cbc:ReferenceID></cbc:ReferenceID>
      <cbc:ResponseCode listID="SCIResponseCode">IP</cbc:ResponseCode>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCICloudStatusCode">101</cbc:StatusReasonCode>
        <cbc:StatusReason>Document mapped successfully</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
        <cbc:StatusReason>No action required</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIERPStatusCode"></cbc:StatusReasonCode>
        <cbc:StatusReason>Document mapped successfully</cbc:StatusReason>
      </cac:Status>
    </cac:Response>
Document mapped successfully
3207AP
  <cac:DocumentResponse>
    <cac:Response>
      <cbc:ReferenceID></cbc:ReferenceID>
      <cbc:ResponseCode listID="SCIResponseCode">AP</cbc:ResponseCode>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCICloudStatusCode">207</cbc:StatusReasonCode>
        <cbc:StatusReason>Pdf created successfully</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
        <cbc:StatusReason>No action required</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIERPStatusCode">207-PDF Created successfully</cbc:StatusReasonCode>
        <cbc:StatusReason>Pdf created successfully</cbc:StatusReason>
      </cac:Status>
    </cac:Response>
PDF created successfully. The PDF is part of the attachments in the notification (see the attached document).
4209AP
  <cac:DocumentResponse>
    <cac:Response>
      <cbc:ReferenceID></cbc:ReferenceID>
      <cbc:ResponseCode listID="SCIResponseCode">AP</cbc:ResponseCode>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCICloudStatusCode">209</cbc:StatusReasonCode>
        <cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIStatusAction">NOA</cbc:StatusReasonCode>
        <cbc:StatusReason>No action required</cbc:StatusReason>
      </cac:Status>
      <cac:Status>
        <cbc:StatusReasonCode listID="SCIERPStatusCode">209-Completed successfully</cbc:StatusReasonCode>
        <cbc:StatusReason>Workflow Successfully Completed</cbc:StatusReason>
      </cac:Status>
    </cac:Response>
Workflow Successfully Completed

The buyer can use the following endpoint to retrieve application responses:

GET /notifications/PL
The buyer can send a GET request to the /notifications/PL endpoint to retrieve application responses that match the configured search criteria. To make this request, set the following query parameters:
NameTypeRequiredDefaultDescription
taxIdstringNoInclude only notifications related to the specified taxId.
pageintegerNo1To specify the page to be returned, use a value between 1 and 10.
perPageintegerNo10

To specify the number of results for the returned page, use a value between 1 and 100.

Important:

If the attachment file is configured to return binary content instead of a link, use only values between 1 and 10.

sourceSystemIdstringYesInclude only notifications related to documents that originate from the given source system.
includeAcknowledgedbooleanNofalseUse "true" to include previously acknowledged notifications in the result.
processTypestringNoUse "1" to only include notifications related to inbound documents.
orgId stringNo Restricts the notifications listed to documents associated with the given organization ID (only applicable for Worskspace tenants).
senderDocumentIdstringNo Restricts the notifications listed to the given sender document ID if you used the SenderDocumentId scope in the POST /v1/documents endpoint.
Request sample
curl --location --request GET 'https://api-test.sovos.com/v1/notifications/PL?processType=1&sourceSystemId={sourceSystemId}&taxId={taxId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--header 'x-correlationId: SET-TO-UNIQUE-VALUE'
Response sample
{
    "status": 200,
    "message": "Notifications Listed",
    "success": true,
    "timestamp": 0,
    "data": {
        "pageState": {
            "page": 1,
            "perPage": 10,
            "totalEntries": 1,
            "totalPages": 1
        },
        "notifications": [
            {
                "notificationId": "ba056226-...-a111e24acd51",
                "correlationId": "49a75544-...-5f672c2a814d",
                "appPrefix": "DLT",
                "metadata": {
                    "productId": "pl_Faktura_Polling_2.0",
                    "transactionId": "47514154-...-77a72ab75731",
                    "documentId": "04c...151",
                    "erpDocumentId": "YOUR-DOCUMENT-ID",
                    "erpSystemId": "YOUR-SYSTEMERP",
                    "processType": "1",
                    "taxId": "YOUR-TAXID",
                    "sciCloudStatusCode": "209",
                    "sciResponseCode": "AP",
                    "sciStatusAction": "NOA"
                },
                "content": "PD...T4=",
                "createdDate": 1674572920
            }
        ]
    }
}

Step 4: Buyer acknowledges the retrieved documents

The buyer must process the retrieved documents and mark them as acknowledged. This can be done by sending a PUT request to the /notifications/PL endpoint.

To make this request, set the following request body parameters:

NameTypeRequiredDescription
statusstringYesUse "read"
notificationIdstringYesThe notification ID
Note: You can acknowledge multiple notificationId values in one Indirect Tax API call by including them in a single request.
Request sample
curl --location --request PUT 'https://api-test.sovos.com/v1/notifications/PL' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--header 'x-correlationId: SET-TO-UNIQUE-VALUE' \
--data-raw '[
    {
        "status": "read",
        "notificationId": "51341d39-...-a73d73e0de76"
    }
]'
Response sample
{
    "timestamp": 1601673284,
    "status": 200,
    "success": true,
    "message": "Notifications acknowledged successfully."
}

Payload samples

The provided SCI and Local XML samples are meant to be guidelines for integration with the Indirect Tax API and should be treated as such, since each integrating system is unique and has different requirements. This means that the samples cannot be copied directly, and must be adapted to your system when integrating with the Indirect Tax API.

1 - Sales invoice for goods

The sales invoice for goods indicates that full payment has been made before its issuance.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="FP">1</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">preferowane godziny dowozu</leg:Field>
													<leg:Field name="Wartosc">dni robocze 17:00 - 20:00</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Platnosc</leg:Id>
													<leg:Field name="DataZaplaty">2022-01-27</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>SamploFaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-27</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:OrderReference>
					<cbc:ID>4354343</cbc:ID>
					<cbc:IssueDate>2022-01-26</cbc:IssueDate>
				</cac:OrderReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:ReferenceEventCode>1</cbc:ReferenceEventCode>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>1666.66</cbc:TaxableAmount>
						<cbc:TaxAmount>383.33</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>0.95</cbc:TaxableAmount>
						<cbc:TaxAmount>0.05</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_3</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>2051</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>1626.01</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1626.01</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>40.65</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>40.65</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>wniesienie sprzętu</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>3</cbc:ID>
					<cbc:UUID>aaaa111133339992</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>0.95</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>0.95</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>5</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>promocja lodówka pełna mleka</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>SamploFaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<P_6>2022-01-27</P_6>
		<P_13_1>1666.66</P_13_1>
		<P_14_1>383.33</P_14_1>
		<P_13_3>0.95</P_13_3>
		<P_14_3>0.05</P_14_3>
		<P_15>2051</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FP>1</FP>
		<DodatkowyOpis>
			<Klucz>preferowane godziny dowozu</Klucz>
			<Wartosc>dni robocze 17:00 - 20:00</Wartosc>
		</DodatkowyOpis>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>lodówka Zimnotech mk1</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>1626.01</P_9A>
			<P_11>1626.01</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_7>wniesienie sprzętu</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>40.65</P_9A>
			<P_11>40.65</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>3</NrWierszaFa>
			<UU_ID>aaaa111133339992</UU_ID>
			<P_7>promocja lodówka pełna mleka</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>0.95</P_9A>
			<P_11>0.95</P_11>
			<P_12>5</P_12>
		</FaWiersz>
		<Platnosc>
			<Zaplacono>1</Zaplacono>
			<DataZaplaty>2022-01-27</DataZaplaty>
			<FormaPlatnosci>6</FormaPlatnosci>
		</Platnosc>
		<WarunkiTransakcji>
			<Zamowienia>
				<DataZamowienia>2022-01-26</DataZamowienia>
				<NrZamowienia>4354343</NrZamowienia>
			</Zamowienia>
		</WarunkiTransakcji>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

2 - Corrective invoice for the sale from the first example

Correction invoice reducing the price for a specific item. Universal correction method that provides two lines in the corrective invoice for a corrected invoice line. The first line shows the state before the correction and is labeled StanPrzed ("BeforeCorrection)". The second line presents the correct values after the correction. The lines before and after have separate numbering.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/03/200</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">obniżka ceny o 200 zł z uwagi na uszkodzenia estetyczne</leg:Field>
												<leg:Field name="TypKorekty">3</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>SamploFaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/03/200</cbc:UUID>
				<cbc:IssueDate>2022-03-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-27</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>-162.60</cbc:TaxableAmount>
						<cbc:TaxAmount>-37.40</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>-200</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>1626.01</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1626.01</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>1463.41</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1463.41</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>SamploFaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-03-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/03/200</P_2>
		<P_6>2022-01-27</P_6>
		<P_13_1>-162.60</P_13_1>
		<P_14_1>-37.40</P_14_1>
		<P_15>-200</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR</RodzajFaktury>
		<PrzyczynaKorekty>obniżka ceny o 200 zł z uwagi na uszkodzenia estetyczne</PrzyczynaKorekty>
		<TypKorekty>3</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>lodówka Zimnotech mk1</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>1626.01</P_9A>
			<P_11>1626.01</P_11>
			<P_12>23</P_12>
			<StanPrzed>1</StanPrzed>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>lodówka Zimnotech mk1</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>1463.41</P_9A>
			<P_11>1463.41</P_11>
			<P_12>23</P_12>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

3 - Alternative corrective invoice for the sale from the first example

Correction by the difference in the line. Corrective invoice reducing the price for a specific item. An alternative correction method that shows the difference in a single record.
Important:

This method is not recommended for fixing incorrectly applied tax rates.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/03/200</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">obniżka ceny o 200 zł z uwagi na uszkodzenia estetyczne</leg:Field>
												<leg:Field name="TypKorekty">3</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>SamploFaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/03/200</cbc:UUID>
				<cbc:IssueDate>2022-03-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-27</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>-162.60</cbc:TaxableAmount>
						<cbc:TaxAmount>-37.40</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>-200</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>-162.60</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>-162.60</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>SamploFaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-03-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/03/200</P_2>
		<P_6>2022-01-27</P_6>
		<P_13_1>-162.60</P_13_1>
		<P_14_1>-37.40</P_14_1>
		<P_15>-200</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR</RodzajFaktury>
		<PrzyczynaKorekty>obniżka ceny o 200 zł z uwagi na uszkodzenia estetyczne</PrzyczynaKorekty>
		<TypKorekty>3</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>lodówka Zimnotech mk1</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>-162.60</P_9A>
			<P_11>-162.60</P_11>
			<P_12>23</P_12>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

4 - Wholesale sales invoice for goods

This example includes a factor and a carrier. Different delivery dates are specified for individual invoice items. A single payment term is designated for the entire amount resulting from the invoice.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rozliczenie</leg:Id>
													<leg:Field name="DoZaplaty">63279.92</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>WarunkiTransakcji</leg:Id>
													<leg:Field name="NrPartiiTowaru">2312323/2022</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:OrderReference>
					<cbc:ID>4354343</cbc:ID>
					<cbc:IssueDate>2022-01-26</cbc:IssueDate>
				</cac:OrderReference>
				<cac:DespatchDocumentReference>
					<cbc:UUID>44343434/2022</cbc:UUID>
				</cac:DespatchDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CDE sp. j.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">1</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">2222222222</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Bankowa 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-003 Łódź</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>Bank Bankowości Bankowej S. A. BBB Faktoring</cbc:RegistrationName>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>666888999</cbc:Telephone>
						<cbc:ElectronicMail>bbb@efaktoring.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>666888999</cbc:Telephone>
							<cbc:ElectronicMail>bbb@efaktoring.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:Delivery>
					<cac:DeliveryAddress>
						<cac:AddressLine>
							<cbc:Line>Sadowa 1 lok. 2</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:DeliveryAddress>
					<cac:DeliveryLocation>
						<cac:Address>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:Address>
					</cac:DeliveryLocation>
					<cac:CarrierParty>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">6666666666</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Bukowa 5</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-004 Poznań</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Jan Nowak Transport</cbc:RegistrationName>
						</cac:PartyLegalEntity>
					</cac:CarrierParty>
					<cac:Shipment>
						<cac:GoodsItem>
							<cac:GoodsItemContainer>
								<cac:TransportEquipment>
									<cbc:ID schemeID="OpisLadunku">13</cbc:ID>
								</cac:TransportEquipment>
							</cac:GoodsItemContainer>
							<cac:ContainingPackage>
								<cbc:PackagingTypeCode>a</cbc:PackagingTypeCode>
							</cac:ContainingPackage>
						</cac:GoodsItem>
						<cac:TransportHandlingUnit>
							<cac:TransportMeans>
								<cbc:TransportMeansTypeCode name="RodzajTransportu">3</cbc:TransportMeansTypeCode>
							</cac:TransportMeans>
						</cac:TransportHandlingUnit>
					</cac:Shipment>
				</cac:Delivery>
				<cac:DeliveryTerms>
					<cbc:SpecialTerms>CIP</cbc:SpecialTerms>
				</cac:DeliveryTerms>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="FactorBankAccount">73111111111111111111111111</cbc:ID>
						<cbc:AccountTypeCode>2</cbc:AccountTypeCode>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:AllowanceCharge>
					<cbc:ID schemeID="Rozliczenie"/>
					<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
					<cbc:AllowanceChargeReason>nadwyżka salda nierozliczonych środków</cbc:AllowanceChargeReason>
					<cbc:Amount>1000</cbc:Amount>
				</cac:AllowanceCharge>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>52260.10</cbc:TaxableAmount>
						<cbc:TaxAmount>12019.82</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:AllowanceTotalAmount>1000</cbc:AllowanceTotalAmount>
					<cbc:PayableAmount>64279.92</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">10</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>16260.10</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-01-03</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1626.01</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 21 91</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">20</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>18000</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-01-10</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zamrażarka Zimnotech mk2</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 40 20</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
					<cac:Price>
						<cbc:PriceAmount>1000</cbc:PriceAmount>
						<cac:AllowanceCharge>
							<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
							<cbc:Amount>100</cbc:Amount>
						</cac:AllowanceCharge>
					</cac:Price>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>3</cbc:ID>
					<cbc:UUID>aaaa111133339992</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">15</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>18000</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-01-15</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1200</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zmywarka Bryza 100</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8422 11 00</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CDE sp. j.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>2222222222</NIP>
			<Nazwa>Bank Bankowości Bankowej S. A. BBB Faktoring</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Bankowa 1</AdresL1>
			<AdresL2>00-003 Łódź</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>bbb@efaktoring.pl</Email>
			<Telefon>666888999</Telefon>
		</DaneKontaktowe>
		<Rola>1</Rola>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<WZ>44343434/2022</WZ>
		<P_13_1>52260.10</P_13_1>
		<P_14_1>12019.82</P_14_1>
		<P_15>64279.92</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_6A>2022-01-03</P_6A>
			<P_7>lodówka Zimnotech mk1</P_7>
			<CN>8418 21 91</CN>
			<P_8A>szt.</P_8A>
			<P_8B>10</P_8B>
			<P_9A>1626.01</P_9A>
			<P_11>16260.10</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_6A>2022-01-10</P_6A>
			<P_7>zamrażarka Zimnotech mk2</P_7>
			<CN>8418 40 20</CN>
			<P_8A>szt.</P_8A>
			<P_8B>20</P_8B>
			<P_9A>1000</P_9A>
			<P_10>100</P_10>
			<P_11>18000</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>3</NrWierszaFa>
			<UU_ID>aaaa111133339992</UU_ID>
			<P_6A>2022-01-15</P_6A>
			<P_7>zmywarka Bryza 100</P_7>
			<CN>8422 11 00</CN>
			<P_8A>szt.</P_8A>
			<P_8B>15</P_8B>
			<P_9A>1200</P_9A>
			<P_11>18000</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<Rozliczenie>
			<Odliczenia>
				<Kwota>1000</Kwota>
				<Powod>nadwyżka salda nierozliczonych środków</Powod>
			</Odliczenia>
			<SumaOdliczen>1000</SumaOdliczen>
			<DoZaplaty>63279.92</DoZaplaty>
		</Rozliczenie>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowyFaktora>
				<NrRB>73111111111111111111111111</NrRB>
				<RachunekWlasnyBanku>2</RachunekWlasnyBanku>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowyFaktora>
		</Platnosc>
		<WarunkiTransakcji>
			<Zamowienia>
				<DataZamowienia>2022-01-26</DataZamowienia>
				<NrZamowienia>4354343</NrZamowienia>
			</Zamowienia>
			<NrPartiiTowaru>2312323/2022</NrPartiiTowaru>
			<WarunkiDostawy>CIP</WarunkiDostawy>
			<Transport>
				<RodzajTransportu>3</RodzajTransportu>
				<Przewoznik>
					<DaneIdentyfikacyjne>
						<NIP>6666666666</NIP>
						<Nazwa>Jan Nowak Transport</Nazwa>
					</DaneIdentyfikacyjne>
					<AdresPrzewoznika>
						<KodKraju>PL</KodKraju>
						<AdresL1>ul. Bukowa 5</AdresL1>
						<AdresL2>00-004 Poznań</AdresL2>
					</AdresPrzewoznika>
				</Przewoznik>
				<OpisLadunku>13</OpisLadunku>
				<JednostkaOpakowania>a</JednostkaOpakowania>
				<WysylkaZ>
					<KodKraju>PL</KodKraju>
					<AdresL1>Sadowa 1 lok. 2</AdresL1>
					<AdresL2>00-001 Warszawa</AdresL2>
				</WysylkaZ>
				<WysylkaDo>
					<KodKraju>PL</KodKraju>
					<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
					<AdresL2>00-002 Kraków</AdresL2>
				</WysylkaDo>
			</Transport>
		</WarunkiTransakcji>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

5 - Corrective invoice for buyer details (example 4)

Corrective invoice for the wholesale goods sale from example 4, where the correction of the invoice results from an incorrect buyer name. The invoice correction does not affect the monetary values.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/04/23</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">błędna nazwa nabywcy</leg:Field>
												<leg:Field name="TypKorekty">1</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/04/23</cbc:UUID>
				<cbc:IssueDate>2022-04-01</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PartyIdentification>
							<cbc:ID schemeID="AdditionalID">0001</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CeDeE s.c.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:BuyerCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PartyIdentification>
							<cbc:ID schemeID="AdditionalID">0001</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CDE sp. j.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
					</cac:Party>
				</cac:BuyerCustomerParty>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>0</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CeDeE s.c.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
		<IDNabywcy>0001</IDNabywcy>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-04-01</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/04/23</P_2>
		<P_15>0</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR</RodzajFaktury>
		<PrzyczynaKorekty>błędna nazwa nabywcy</PrzyczynaKorekty>
		<TypKorekty>1</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<Podmiot2K>
			<DaneIdentyfikacyjne>
				<NIP>1111111111</NIP>
				<Nazwa>CDE sp. j.</Nazwa>
			</DaneIdentyfikacyjne>
			<Adres>
				<KodKraju>PL</KodKraju>
				<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
				<AdresL2>00-002 Kraków</AdresL2>
			</Adres>
			<IDNabywcy>0001</IDNabywcy>
		</Podmiot2K>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

6 - Corrective invoice due to a discount for all deliveries

A collective corrective invoice due to a discount for all deliveries in a given period. The characteristic feature of this invoice is "negative" amounts (despite the lack of data in the invoice lines), the occurrence of the OkresFaKor field, and multiple numbers and dates of corrected invoices.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/07/243</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">rabat 50000 z uwagi na poziom zakupów pierwszym półroczu 2022</leg:Field>
												<leg:Field name="TypKorekty">2</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/07/243</cbc:UUID>
				<cbc:IssueDate>2022-07-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/01/134</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-01-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-76B2B580D4DC-80</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/03/143</cbc:ID>
					<cbc:UUID>9999999999-20230908-4191312C0E57-09</cbc:UUID>
					<cbc:IssueDate>2022-03-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/04/23</cbc:ID>
					<cbc:UUID>9999999999-20230908-2B9266CEF3C4-DD</cbc:UUID>
					<cbc:IssueDate>2022-04-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/05/54</cbc:ID>
					<cbc:UUID>9999999999-20230908-16B99491C78B-3D</cbc:UUID>
					<cbc:IssueDate>2022-05-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/06/15</cbc:ID>
					<cbc:UUID>9999999999-20230908-D08FB95950BE-3E</cbc:UUID>
					<cbc:IssueDate>2022-06-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cac:ValidityPeriod>
						<cbc:DescriptionCode>pierwsze półrocze 2022</cbc:DescriptionCode>
					</cac:ValidityPeriod>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CeDeE s.c.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>-40650.41</cbc:TaxableAmount>
						<cbc:TaxAmount>-9349.59</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>-50000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CeDeE s.c.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-07-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/07/243</P_2>
		<P_13_1>-40650.41</P_13_1>
		<P_14_1>-9349.59</P_14_1>
		<P_15>-50000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR</RodzajFaktury>
		<PrzyczynaKorekty>rabat 50000 z uwagi na poziom zakupów pierwszym półroczu 2022</PrzyczynaKorekty>
		<TypKorekty>2</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-01-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/01/134</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-76B2B580D4DC-80</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-03-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/03/143</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-4191312C0E57-09</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-04-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/04/23</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-2B9266CEF3C4-DD</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-05-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/05/54</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-16B99491C78B-3D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-06-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/06/15</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-D08FB95950BE-3E</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<OkresFaKorygowanej>pierwsze półrocze 2022</OkresFaKorygowanej>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

7 - Corrective invoice due to a discount for some deliveries

A collective corrective invoice resulting from a discount for some deliveries in a given period. The characteristic features are "negative" amounts despite the lack of monetary data in the invoice lines, the occurrence of the OkresFaKor field, and multiple numbers and dates of corrected invoices. Product names are provided because the invoice does not correct all deliveries in the specified period (new regulations resulting from the SLIM VAT 2 package).

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/07/243</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">rabat 50000 z uwagi na poziom zakupów pierwszym półroczu 2022</leg:Field>
												<leg:Field name="TypKorekty">2</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/07/243</cbc:UUID>
				<cbc:IssueDate>2022-07-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/01/134</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-01-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-76B2B580D4DC-80</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/03/143</cbc:ID>
					<cbc:UUID>9999999999-20230908-4191312C0E57-09</cbc:UUID>
					<cbc:IssueDate>2022-03-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/04/23</cbc:ID>
					<cbc:UUID>9999999999-20230908-2B9266CEF3C4-DD</cbc:UUID>
					<cbc:IssueDate>2022-04-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/05/54</cbc:ID>
					<cbc:UUID>9999999999-20230908-16B99491C78B-3D</cbc:UUID>
					<cbc:IssueDate>2022-05-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/06/15</cbc:ID>
					<cbc:UUID>9999999999-20230908-D08FB95950BE-3E</cbc:UUID>
					<cbc:IssueDate>2022-06-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cac:ValidityPeriod>
						<cbc:DescriptionCode>pierwsze półrocze 2022</cbc:DescriptionCode>
					</cac:ValidityPeriod>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CeDeE s.c.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>-40650.41</cbc:TaxableAmount>
						<cbc:TaxAmount>-9349.59</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>-50000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:InvoicedQuantity unitCode="szt.">1000</cbc:InvoicedQuantity>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 21 91</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CeDeE s.c.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-07-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/07/243</P_2>
		<P_13_1>-40650.41</P_13_1>
		<P_14_1>-9349.59</P_14_1>
		<P_15>-50000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR</RodzajFaktury>
		<PrzyczynaKorekty>rabat 50000 z uwagi na poziom zakupów pierwszym półroczu 2022</PrzyczynaKorekty>
		<TypKorekty>2</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-01-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/01/134</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-76B2B580D4DC-80</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-03-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/03/143</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-4191312C0E57-09</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-04-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/04/23</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-2B9266CEF3C4-DD</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-05-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/05/54</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-16B99491C78B-3D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-06-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/06/15</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-D08FB95950BE-3E</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<OkresFaKorygowanej>pierwsze półrocze 2022</OkresFaKorygowanej>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<P_7>lodówka Zimnotech mk1</P_7>
			<CN>8418 21 91</CN>
			<P_8A>szt.</P_8A>
			<P_8B>1000</P_8B>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

8 - Margin VAT invoice documenting the sale of used goods

Margin VAT invoice documenting the sale of a used car. The invoice includes information about partial payment and designates the deadline for the remaining part. In version FA(3), a field aggregating the sales value in the margin procedure P_13_11 is provided.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FM2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="FP">1</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzy">1</leg:Field>
													<leg:Field name="P_PMarzy_3_1">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FM2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-01-27</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-27</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Komis ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="BankAccountNumber">73111111111111111111111111</cbc:ID>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:PrepaidPayment>
					<cbc:InstructionID/>
				</cac:PrepaidPayment>
				<cac:PrepaidPayment>
					<cbc:PaidAmount>10000</cbc:PaidAmount>
					<cbc:PaidDate>2022-01-27</cbc:PaidDate>
				</cac:PrepaidPayment>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>15000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>15000</cbc:PriceAmount>
							<cbc:PriceTypeCode>04</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:Delivery>
						<cbc:ID>GTU_07</cbc:ID>
					</cac:Delivery>
					<cac:PaymentTerms>
						<cbc:Note>04</cbc:Note>
						<cbc:Amount>15000</cbc:Amount>
					</cac:PaymentTerms>
					<cac:Item>
						<cbc:Name>samochód używany marki Autex rocznik 2010</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>Komis ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-01-27</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FM2022/02/150</P_2>
		<P_6>2022-01-27</P_6>
		<P_13_11>15000</P_13_11>
		<P_15>15000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzy>1</P_PMarzy>
				<P_PMarzy_3_1>1</P_PMarzy_3_1>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FP>1</FP>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<P_7>samochód używany marki Autex rocznik 2010</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9B>15000</P_9B>
			<P_11A>15000</P_11A>
			<GTU>GTU_07</GTU>
		</FaWiersz>
		<Platnosc>
			<ZnacznikZaplatyCzesciowej>1</ZnacznikZaplatyCzesciowej>
			<ZaplataCzesciowa>
				<KwotaZaplatyCzesciowej>10000</KwotaZaplatyCzesciowej>
				<DataZaplatyCzesciowej>2022-01-27</DataZaplatyCzesciowej>
			</ZaplataCzesciowa>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowy>
				<NrRB>73111111111111111111111111</NrRB>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowy>
		</Platnosc>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

9 - Invoice for the sale of operational leasing services

Invoice for the sale of operational leasing services, in which, for example, the buyer is presented as a municipality, and the recipient is a primary school. The invoice simultaneously includes the "ZW rate" and a 23% rate, as well as information about full payment before its issuance. Additionally, a single payment term is designated for the entire amount resulting from the invoice.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19">1</leg:Field>
													<leg:Field name="P_19A">art. 43 ust. 1 pkt 37 ustawy VAT</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzy">1</leg:Field>
													<leg:Field name="P_PMarzy_3_1">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">część odsetkowa raty</leg:Field>
													<leg:Field name="Wartosc">netto 200, vat 46</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:StartDate>2022-01-01</cbc:StartDate>
					<cbc:EndDate>2022-01-01</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Leasing S.A.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>Bzdziszewo 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-007 Bzdziszewo</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Gmina Bzdziszewo</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>bzdziszewo@tuwartoinwestowac.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>bzdziszewo@tuwartoinwestowac.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">8</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">2222222222</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Akacjowa 200</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-007 Bzdziszewo</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>Szkoła Podstawowa w Bzdziszewie</cbc:RegistrationName>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>666888999</cbc:Telephone>
						<cbc:ElectronicMail>sp@bzdziszewo.p</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>666888999</cbc:Telephone>
							<cbc:ElectronicMail>sp@bzdziszewo.p</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="BankAccountNumber">73111111111111111111111111</cbc:ID>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>2000</cbc:TaxableAmount>
						<cbc:TaxAmount>460</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>300</cbc:TaxableAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_7</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>2760</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>2000</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>2000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>rata leasingowa za 01/2022</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>300</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>300</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cac:TaxScheme>
									<cbc:ID>zw</cbc:ID>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>pakiet ubezpieczeń za 01/2022</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Leasing S.A.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>Gmina Bzdziszewo</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>Bzdziszewo 1</AdresL1>
			<AdresL2>00-007 Bzdziszewo</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>bzdziszewo@tuwartoinwestowac.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>2222222222</NIP>
			<Nazwa>Szkoła Podstawowa w Bzdziszewie</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Akacjowa 200</AdresL1>
			<AdresL2>00-007 Bzdziszewo</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>sp@bzdziszewo.p</Email>
			<Telefon>666888999</Telefon>
		</DaneKontaktowe>
		<Rola>8</Rola>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<OkresFa>
			<P_6_Od>2022-01-01</P_6_Od>
			<P_6_Do>2022-01-01</P_6_Do>
		</OkresFa>
		<P_13_1>2000</P_13_1>
		<P_14_1>460</P_14_1>
		<P_13_7>300</P_13_7>
		<P_15>2760</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19>1</P_19>
				<P_19A>art. 43 ust. 1 pkt 37 ustawy VAT</P_19A>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzy>1</P_PMarzy>
				<P_PMarzy_3_1>1</P_PMarzy_3_1>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<DodatkowyOpis>
			<Klucz>część odsetkowa raty</Klucz>
			<Wartosc>netto 200, vat 46</Wartosc>
		</DodatkowyOpis>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>rata leasingowa za 01/2022</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>2000</P_9A>
			<P_11>2000</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_7>pakiet ubezpieczeń za 01/2022</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>300</P_9A>
			<P_11>300</P_11>
			<P_12>zw</P_12>
		</FaWiersz>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowy>
				<NrRB>73111111111111111111111111</NrRB>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowy>
		</Platnosc>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

10 - Advance invoice with an additional buyer

Advance invoice documenting transactions worth 375,150.00 PLN, while an advance payment of 20,000.00 PLN was made. Additionally, the invoice includes two buyers and information about full payment before the invoice is issued.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FZ2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">wysokosć wpłaconego zadatku</leg:Field>
													<leg:Field name="Wartosc">20000 zł</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Platnosc</leg:Id>
													<leg:Field name="DataZaplaty">2022-02-15</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FZ2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>ZAL</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-02-15</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 m. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:ReferenceEventCode>1</cbc:ReferenceEventCode>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>16260.16</cbc:TaxableAmount>
						<cbc:TaxAmount>3739.84</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:TaxInclusiveAmount>375150</cbc:TaxInclusiveAmount>
					<cbc:PayableAmount>20000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>300000</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>300000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>69000</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>5000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1150</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 m. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FZ2022/02/150</P_2>
		<P_6>2022-02-15</P_6>
		<P_13_1>16260.16</P_13_1>
		<P_14_1>3739.84</P_14_1>
		<P_15>20000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>ZAL</RodzajFaktury>
		<DodatkowyOpis>
			<Klucz>wysokosć wpłaconego zadatku</Klucz>
			<Wartosc>20000 zł</Wartosc>
		</DodatkowyOpis>
		<Platnosc>
			<Zaplacono>1</Zaplacono>
			<DataZaplaty>2022-02-15</DataZaplaty>
			<FormaPlatnosci>6</FormaPlatnosci>
		</Platnosc>
		<Zamowienie>
			<WartoscZamowienia>375150</WartoscZamowienia>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>300000</P_9AZ>
				<P_11NettoZ>300000</P_11NettoZ>
				<P_11VatZ>69000</P_11VatZ>
				<P_12Z>23</P_12Z>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>5000</P_9AZ>
				<P_11NettoZ>5000</P_11NettoZ>
				<P_11VatZ>1150</P_11VatZ>
				<P_12Z>23</P_12Z>
			</ZamowienieWiersz>
		</Zamowienie>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

11 - Corrective invoice for advance invoice due to an incorrect tax rate (example 10)

Corrective invoice for advance invoice in case of an incorrect tax rate from example 10. This invoice results in a change in the proportion of settlement between tax rates (presentation by difference in the "Invoice" section), despite no change in the advance payment amount. Values in the "Order" section in corrective invoices for advance invoices are presented in a universal way by providing two lines for a given line in the corrected invoice. The first line presents the state before the correction and is labeled "BeforeCorrectionZ." The second line presents the correct values after the correction. An alternative correction method by presenting the difference in one record is also acceptable. This method is not recommended for fixing incorrectly applied tax rates. The presentation method for Order lines, when no changes occurred due to the correction, is described in example 12.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/03/5</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">błędna stawka VAT</leg:Field>
												<leg:Field name="TypKorekty">3</leg:Field>
												<leg:Field name="P_15ZK">20000</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/03/5</cbc:UUID>
				<cbc:IssueDate>2022-03-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR_ZAL</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-02-15</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FZ2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 m. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>-15993.6</cbc:TaxableAmount>
						<cbc:TaxAmount>-3678.53</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>18214.94</cbc:TaxableAmount>
						<cbc:TaxAmount>1457.19</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_2</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:TaxInclusiveAmount>375150</cbc:TaxInclusiveAmount>
					<cbc:PayableAmount>0</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>300000</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>300000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>69000</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>341666.67</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>341666.67</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>27333.33</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>5000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1150</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>5000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1150</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 m. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-03-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/03/5</P_2>
		<P_6>2022-02-15</P_6>
		<P_13_1>-15993.6</P_13_1>
		<P_14_1>-3678.53</P_14_1>
		<P_13_2>18214.94</P_13_2>
		<P_14_2>1457.19</P_14_2>
		<P_15>0</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR_ZAL</RodzajFaktury>
		<PrzyczynaKorekty>błędna stawka VAT</PrzyczynaKorekty>
		<TypKorekty>3</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FZ2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<P_15ZK>20000</P_15ZK>
		<Zamowienie>
			<WartoscZamowienia>375150</WartoscZamowienia>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>300000</P_9AZ>
				<P_11NettoZ>300000</P_11NettoZ>
				<P_11VatZ>69000</P_11VatZ>
				<P_12Z>23</P_12Z>
				<StanPrzedZ>1</StanPrzedZ>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>341666.67</P_9AZ>
				<P_11NettoZ>341666.67</P_11NettoZ>
				<P_11VatZ>27333.33</P_11VatZ>
				<P_12Z>8</P_12Z>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>5000</P_9AZ>
				<P_11NettoZ>5000</P_11NettoZ>
				<P_11VatZ>1150</P_11VatZ>
				<P_12Z>23</P_12Z>
				<StanPrzedZ>1</StanPrzedZ>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>5000</P_9AZ>
				<P_11NettoZ>5000</P_11NettoZ>
				<P_11VatZ>1150</P_11VatZ>
				<P_12Z>23</P_12Z>
			</ZamowienieWiersz>
		</Zamowienie>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

12 - Corrective invoice for advance invoice due to an understated value of the paid advance

Corrective invoice for an advance invoice due to an understated value of the paid advance from example 10, taking into account the corrective invoice from example 11. The reason for the invoice correction is the invoicing of an erroneously understated advance amount of 20,000.00 PLN, when it should be 30,000.00 PLN. In this case, there is no change in the order value, so the Order lines are presented in the state before correction using the "BeforeCorrectionZ" marker and they are reintroduced with subsequent entries (with identical values). An additional entry appears in the "P_15" field in the Invoice section with a value of 10,000.00 PLN. The distribution of the proportions of division into base amounts and taxes in fields "P_13_x - P_14_x" is similar to example 18.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/03/7</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">błędne zafakturowanie zaniżonej kwoty zadatku 20000 powinno być 30000</leg:Field>
												<leg:Field name="TypKorekty">1</leg:Field>
												<leg:Field name="P_15ZK">20000</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/03/7</cbc:UUID>
				<cbc:IssueDate>2022-03-17</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR_ZAL</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-02-15</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FZ2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 m. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>133.28</cbc:TaxableAmount>
						<cbc:TaxAmount>30.65</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>9107.47</cbc:TaxableAmount>
						<cbc:TaxAmount>728.60</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_2</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:TaxInclusiveAmount>375150</cbc:TaxInclusiveAmount>
					<cbc:PayableAmount>10000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>341666.67</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>341666.67</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>27333.33</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>341666.67</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>341666.67</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>27333.33</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>5000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1150</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>5000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1150</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 m. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-03-17</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/03/7</P_2>
		<P_6>2022-02-15</P_6>
		<P_13_1>133.28</P_13_1>
		<P_14_1>30.65</P_14_1>
		<P_13_2>9107.47</P_13_2>
		<P_14_2>728.60</P_14_2>
		<P_15>10000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR_ZAL</RodzajFaktury>
		<PrzyczynaKorekty>błędne zafakturowanie zaniżonej kwoty zadatku 20000 powinno być 30000</PrzyczynaKorekty>
		<TypKorekty>1</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FZ2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<P_15ZK>20000</P_15ZK>
		<Zamowienie>
			<WartoscZamowienia>375150</WartoscZamowienia>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>341666.67</P_9AZ>
				<P_11NettoZ>341666.67</P_11NettoZ>
				<P_11VatZ>27333.33</P_11VatZ>
				<P_12Z>8</P_12Z>
				<StanPrzedZ>1</StanPrzedZ>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>341666.67</P_9AZ>
				<P_11NettoZ>341666.67</P_11NettoZ>
				<P_11VatZ>27333.33</P_11VatZ>
				<P_12Z>8</P_12Z>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>5000</P_9AZ>
				<P_11NettoZ>5000</P_11NettoZ>
				<P_11VatZ>1150</P_11VatZ>
				<P_12Z>23</P_12Z>
				<StanPrzedZ>1</StanPrzedZ>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>5000</P_9AZ>
				<P_11NettoZ>5000</P_11NettoZ>
				<P_11VatZ>1150</P_11VatZ>
				<P_12Z>23</P_12Z>
			</ZamowienieWiersz>
		</Zamowienie>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

13 - Corrective invoice for advance invoice due to a change in the order value proportionally on both tax rates

Corrective invoice for an advance invoice with an additional buyer, taking into account corrections from examples 10, 11, and 12. The reason for the invoice correction is a reduction in the order value without changing the paid advance. However, there is no tax change in the "Invoice" section due to a proportional reduction in the order value on both applied tax rates. Order lines show previous values ("BeforeCorrectionZ" marker) and values after correction as separate lines (an alternative presentation by difference, as in example 2, is also possible).

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/03/7</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">korekta wartości zamówienia o -10%</leg:Field>
												<leg:Field name="TypKorekty">3</leg:Field>
												<leg:Field name="P_15ZK">30000</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/03/7</cbc:UUID>
				<cbc:IssueDate>2022-03-17</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR_ZAL</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-02-15</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FZ2022/02/150</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-02-15</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 m. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:LegalMonetaryTotal>
					<cbc:TaxInclusiveAmount>337635</cbc:TaxInclusiveAmount>
					<cbc:PayableAmount>0</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>341666.67</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>341666.67</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>27333.33</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>307500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>307500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>24600</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>5000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1150</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>4500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cbc:TaxAmount>1035</cbc:TaxAmount>
							<cac:TaxCategory>
								<cbc:Name>VAT</cbc:Name>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 m. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-03-17</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/03/7</P_2>
		<P_6>2022-02-15</P_6>
		<P_15>0</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR_ZAL</RodzajFaktury>
		<PrzyczynaKorekty>korekta wartości zamówienia o -10%</PrzyczynaKorekty>
		<TypKorekty>3</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-02-15</DataWystFaKorygowanej>
			<NrFaKorygowanej>FZ2022/02/150</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<P_15ZK>30000</P_15ZK>
		<Zamowienie>
			<WartoscZamowienia>337635</WartoscZamowienia>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>341666.67</P_9AZ>
				<P_11NettoZ>341666.67</P_11NettoZ>
				<P_11VatZ>27333.33</P_11VatZ>
				<P_12Z>8</P_12Z>
				<StanPrzedZ>1</StanPrzedZ>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>1</NrWierszaZam>
				<UU_IDZ>aaaa111133339990</UU_IDZ>
				<P_7Z>mieszkanie 50m^2</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>307500</P_9AZ>
				<P_11NettoZ>307500</P_11NettoZ>
				<P_11VatZ>24600</P_11VatZ>
				<P_12Z>8</P_12Z>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>5000</P_9AZ>
				<P_11NettoZ>5000</P_11NettoZ>
				<P_11VatZ>1150</P_11VatZ>
				<P_12Z>23</P_12Z>
				<StanPrzedZ>1</StanPrzedZ>
			</ZamowienieWiersz>
			<ZamowienieWiersz>
				<NrWierszaZam>2</NrWierszaZam>
				<UU_IDZ>aaaa111133339991</UU_IDZ>
				<P_7Z>usługi dodatkowe</P_7Z>
				<P_8AZ>szt.</P_8AZ>
				<P_8BZ>1</P_8BZ>
				<P_9AZ>4500</P_9AZ>
				<P_11NettoZ>4500</P_11NettoZ>
				<P_11VatZ>1035</P_11VatZ>
				<P_12Z>23</P_12Z>
			</ZamowienieWiersz>
		</Zamowienie>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

14 - Settling invoice for advance invoice showing the appearance of the primary entity

Settling invoice for advance invoice from example 10, taking into account corrections from examples 11, 12, and 13. This is a scenario where an order with a value of 337,635.00 PLN (after the correction from example 13) received an advance payment of 30,000.00 PLN (after the correction from example 12). However, the amounts in the "P_13_x" and "P_14_x" fields result from the proportions in which the gross order amount, according to a given tax rate, remains in the gross order amount in relation to the remaining amount to be paid. The invoice also includes the primary entity, which may appear in other cases, as it has no connection with the remaining content of the invoice. The invoice illustrates situations where, after the delivery of goods but before issuing the invoice, the entity was transformed or taken over. Thus, another entity appears as the seller, designated as "Podmiot3" in the role of "3". Additionally, more than one payment term is designated on the invoice.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/08/12</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">wysokość pozostałej do zapłaty kwoty</leg:Field>
													<leg:Field name="Wartosc">307635 zł</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/08/12</cbc:UUID>
				<cbc:IssueDate>2022-08-17</cbc:IssueDate>
				<cbc:InvoiceTypeCode>ROZ</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-09-17</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaZaliczkowej">9999999999-20230908-8BEF280C8D35-4D</cbc:ID>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 m. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex S.A.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">3</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-002 Kraków</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>ABC Developex sp. z o.o.</cbc:RegistrationName>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>667444555</cbc:Telephone>
						<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="BankAccountNumber">73111111111111111111111111</cbc:ID>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-09-15</cbc:PaymentDueDate>
					<cac:ValidityPeriod>
						<cbc:Description>co najmniej 50% pozostałej kwoty</cbc:Description>
					</cac:ValidityPeriod>
				</cac:PaymentTerms>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-10-15</cbc:PaymentDueDate>
					<cac:ValidityPeriod>
						<cbc:Description>pozostała część</cbc:Description>
					</cac:ValidityPeriod>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>4100.16</cbc:TaxableAmount>
						<cbc:TaxAmount>943.04</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>280177.59</cbc:TaxableAmount>
						<cbc:TaxAmount>22414.21</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_2</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>307635</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339997</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>307500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>307500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:Delivery>
						<cbc:ID>GTU_10</cbc:ID>
					</cac:Delivery>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339998</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>4500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex S.A.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 m. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex sp. z o.o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
		<Rola>3</Rola>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-08-17</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/08/12</P_2>
		<P_6>2022-09-17</P_6>
		<P_13_1>4100.16</P_13_1>
		<P_14_1>943.04</P_14_1>
		<P_13_2>280177.59</P_13_2>
		<P_14_2>22414.21</P_14_2>
		<P_15>307635</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>ROZ</RodzajFaktury>
		<DodatkowyOpis>
			<Klucz>wysokość pozostałej do zapłaty kwoty</Klucz>
			<Wartosc>307635 zł</Wartosc>
		</DodatkowyOpis>
		<FakturaZaliczkowa>
			<NrKSeFFaZaliczkowej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaZaliczkowej>
		</FakturaZaliczkowa>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339997</UU_ID>
			<P_7>mieszkanie 50m^2</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>307500</P_9A>
			<P_11>307500</P_11>
			<P_12>8</P_12>
			<GTU>GTU_10</GTU>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339998</UU_ID>
			<P_7>usługi dodatkowe</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>4500</P_9A>
			<P_11>4500</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-09-15</Termin>
				<TerminOpis>co najmniej 50% pozostałej kwoty</TerminOpis>
			</TerminPlatnosci>
			<TerminPlatnosci>
				<Termin>2022-10-15</Termin>
				<TerminOpis>pozostała część</TerminOpis>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowy>
				<NrRB>73111111111111111111111111</NrRB>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowy>
		</Platnosc>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

15 - Simplified invoice

A simplified invoice with an amount in field "P_15" that doesn't exceed PLN 450.00 or the equivalent of EUR 100. The buyer's tax identification number must be included in the buyer's data. In this case, you don't need to enter other buyer data. The invoice includes the most desirable way of presenting a simplified invoice, containing the fields "P_13_x" and "P_14_x". However, due to the very general provision regarding the requirement for the content of such an invoice, this is not the only possible way.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>SamploFaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>UPR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-03</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>365.85</cbc:TaxableAmount>
						<cbc:TaxAmount>84.15</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>450</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cac:Item>
						<cbc:Name>wiertarka Wiertex mk5</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>SamploFaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
		</DaneIdentyfikacyjne>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_2>FV2022/02/150</P_2>
		<P_6>2022-01-03</P_6>
		<P_13_1>365.85</P_13_1>
		<P_14_1>84.15</P_14_1>
		<P_15>450</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>UPR</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<P_7>wiertarka Wiertex mk5</P_7>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

16 - Simplified invoice with different data presentation

An alternative example for presenting a simplified invoice. The invoice contains an amount in the "P_15" field despite the lack of amounts in "P_13_x" and "P_14_x". In this scenario, the tax can be determined based on the "P_12" field, which contains information about the tax rate. In this case, it is essential for the entire invoice to be issued with one tax rate. Then, you will be able to calculate the tax as follows: "P_15 - (P_15 * 100) / 123". However, to meet the legal requirement, if the invoice contains lines with different tax rates and doesn't include data in the "P_13_x - P_14_x" fields, it would additionally have to include amounts in the "P_11" or "P_11_A" fields.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>SamploFaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>UPR</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-03</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>450</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>wiertarka Wiertex mk5</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>SamploFaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
		</DaneIdentyfikacyjne>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_2>FV2022/02/150</P_2>
		<P_6>2022-01-03</P_6>
		<P_15>450</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>UPR</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<P_7>wiertarka Wiertex mk5</P_7>
			<P_12>23</P_12>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

17 - Incorrectly issued settling invoice

Incorrectly issued settling invoice for example 14. A too low remaining amount to be paid was invoiced, which amounted to 300,000.00 PLN. However, in reality, a payment of 307,635.00 PLN was received.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/08/12</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">wysokosć pozostałej do zapłaty kwoty</leg:Field>
													<leg:Field name="Wartosc">300000 zł</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/08/12</cbc:UUID>
				<cbc:IssueDate>2022-08-17</cbc:IssueDate>
				<cbc:InvoiceTypeCode>ROZ</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-09-17</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaZaliczkowej">9999999999-20230908-8BEF280C8D35-4D</cbc:ID>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex S.A.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>3998.40</cbc:TaxableAmount>
						<cbc:TaxAmount>919.63</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>273224.05</cbc:TaxableAmount>
						<cbc:TaxAmount>21857.92</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_2</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>300000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339997</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>307500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>307500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:Delivery>
						<cbc:ID>GTU_10</cbc:ID>
					</cac:Delivery>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339998</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>4500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex S.A.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-08-17</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/08/12</P_2>
		<P_6>2022-09-17</P_6>
		<P_13_1>3998.40</P_13_1>
		<P_14_1>919.63</P_14_1>
		<P_13_2>273224.05</P_13_2>
		<P_14_2>21857.92</P_14_2>
		<P_15>300000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>ROZ</RodzajFaktury>
		<DodatkowyOpis>
			<Klucz>wysokosć pozostałej do zapłaty kwoty</Klucz>
			<Wartosc>300000 zł</Wartosc>
		</DodatkowyOpis>
		<FakturaZaliczkowa>
			<NrKSeFFaZaliczkowej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaZaliczkowej>
		</FakturaZaliczkowa>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339997</UU_ID>
			<P_7>mieszkanie 50m^2</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>307500</P_9A>
			<P_11>307500</P_11>
			<P_12>8</P_12>
			<GTU>GTU_10</GTU>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339998</UU_ID>
			<P_7>usługi dodatkowe</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>4500</P_9A>
			<P_11>4500</P_11>
			<P_12>23</P_12>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

18 - Corrective invoice for the settling invoice

Corrective invoice for the settling invoice from example 17, which presents the correct settlement of the amount of 307,635.00 PLN. There is no change in the order value, presented in the "FaWiersze" section like in example 12. This presentation in a KOR_ROZ-type invoice (like in the KOR_ZAL case) means that the order value didn't change compared to the corrected invoice, so only the value of the payment amount was changed. The distribution of the proportions of division into base amounts and taxes in the "P_13_x - P_14_x" fields doesn't derive from the resultant value of lines according to a given rate, but from the values of lines confirming the state after the invoice correction.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FK2022/09/1</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="CorrectionReason">błędne zafakturowanie kwoty pozostałej do zapłaty: było 300000, a powinno być 307635</leg:Field>
												<leg:Field name="TypKorekty">1</leg:Field>
												<leg:Field name="P_15ZK">300000</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FK2022/09/1</cbc:UUID>
				<cbc:IssueDate>2022-08-17</cbc:IssueDate>
				<cbc:InvoiceTypeCode>KOR_ROZ</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-09-17</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaKorygowanej">FV2022/08/12</cbc:ID>
					<cbc:UUID>9999999999-20230908-8BEF280C8D35-4D</cbc:UUID>
					<cbc:IssueDate>2022-08-17</cbc:IssueDate>
					<cbc:DocumentDescription>0</cbc:DocumentDescription>
				</cac:AdditionalDocumentReference>
				<cac:AdditionalDocumentReference>
					<cbc:ID schemeID="NrFaZaliczkowej">9999999999-20230908-76B2B580D4DC-80</cbc:ID>
				</cac:AdditionalDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Developex S.A.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">4</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">3333333333</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Polna 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>F.H.U. Grażyna Kowalska</cbc:RegistrationName>
						<cac:ShareholderParty>
							<cbc:PartecipationPercent>50</cbc:PartecipationPercent>
						</cac:ShareholderParty>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>555777999</cbc:Telephone>
						<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>101.76</cbc:TaxableAmount>
						<cbc:TaxAmount>23.41</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>6953.54</cbc:TaxableAmount>
						<cbc:TaxAmount>556.29</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_2</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>7635</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339997</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>307500</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>307500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:Delivery>
						<cbc:ID>GTU_10</cbc:ID>
					</cac:Delivery>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m^2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339997</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>307500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>307500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:Delivery>
						<cbc:ID>GTU_10</cbc:ID>
					</cac:Delivery>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>8</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>mieszkanie 50m2</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339998</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:OrderLineReference>
						<cbc:LineStatusCode>1</cbc:LineStatusCode>
					</cac:OrderLineReference>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>4500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339998</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>4500</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>usługi dodatkowe</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Developex S.A.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>3333333333</NIP>
			<Nazwa>F.H.U. Grażyna Kowalska</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<Rola>4</Rola>
		<Udzial>50</Udzial>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-08-17</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FK2022/09/1</P_2>
		<P_6>2022-09-17</P_6>
		<P_13_1>101.76</P_13_1>
		<P_14_1>23.41</P_14_1>
		<P_13_2>6953.54</P_13_2>
		<P_14_2>556.29</P_14_2>
		<P_15>7635</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>KOR_ROZ</RodzajFaktury>
		<PrzyczynaKorekty>błędne zafakturowanie kwoty pozostałej do zapłaty: było 300000, a powinno być 307635</PrzyczynaKorekty>
		<TypKorekty>1</TypKorekty>
		<DaneFaKorygowanej>
			<DataWystFaKorygowanej>2022-08-17</DataWystFaKorygowanej>
			<NrFaKorygowanej>FV2022/08/12</NrFaKorygowanej>
			<NrKSeF>1</NrKSeF>
			<NrKSeFFaKorygowanej>9999999999-20230908-8BEF280C8D35-4D</NrKSeFFaKorygowanej>
		</DaneFaKorygowanej>
		<P_15ZK>300000</P_15ZK>
		<FakturaZaliczkowa>
			<NrKSeFFaZaliczkowej>9999999999-20230908-76B2B580D4DC-80</NrKSeFFaZaliczkowej>
		</FakturaZaliczkowa>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339997</UU_ID>
			<P_7>mieszkanie 50m^2</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>307500</P_9A>
			<P_11>307500</P_11>
			<P_12>8</P_12>
			<GTU>GTU_10</GTU>
			<StanPrzed>1</StanPrzed>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339997</UU_ID>
			<P_7>mieszkanie 50m2</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>307500</P_9A>
			<P_11>307500</P_11>
			<P_12>8</P_12>
			<GTU>GTU_10</GTU>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339998</UU_ID>
			<P_7>usługi dodatkowe</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>4500</P_9A>
			<P_11>4500</P_11>
			<P_12>23</P_12>
			<StanPrzed>1</StanPrzed>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339998</UU_ID>
			<P_7>usługi dodatkowe</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>4500</P_9A>
			<P_11>4500</P_11>
			<P_12>23</P_12>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

19 - Margin VAT invoice documenting tourism services

Margin VAT invoice documenting tourism services, in which the standard taxation at a 23% tax rate (second line) and the margin procedure (first line) were partially applied.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FM2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzy">1</leg:Field>
													<leg:Field name="P_PMarzy_2">1</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FM2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-01-27</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-27</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Biuro Podróży ABC sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>813</cbc:TaxableAmount>
						<cbc:TaxAmount>187</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>2000</cbc:TaxableAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_11</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>3000</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>2000</cbc:PriceAmount>
							<cbc:PriceTypeCode>04</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cbc:Note>04</cbc:Note>
						<cbc:Amount>2000</cbc:Amount>
					</cac:PaymentTerms>
					<cac:Item>
						<cbc:Name>wycieczka na Mazury usługi obce</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1000</cbc:PriceAmount>
							<cbc:PriceTypeCode>04</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cbc:Note>04</cbc:Note>
						<cbc:Amount>1000</cbc:Amount>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>wycieczka na Mazury usługa własna</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>Biuro Podróży ABC sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-01-27</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FM2022/02/150</P_2>
		<P_6>2022-01-27</P_6>
		<P_13_1>813</P_13_1>
		<P_14_1>187</P_14_1>
		<P_13_11>2000</P_13_11>
		<P_15>3000</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzy>1</P_PMarzy>
				<P_PMarzy_2>1</P_PMarzy_2>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<P_7>wycieczka na Mazury usługi obce</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9B>2000</P_9B>
			<P_11A>2000</P_11A>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<P_7>wycieczka na Mazury usługa własna</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9B>1000</P_9B>
			<P_11A>1000</P_11A>
			<P_12>23</P_12>
		</FaWiersz>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

20 - National invoice in a foreign currency

An example where the same currency exchange rate is applied to all invoice lines.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>WarunkiTransakcji</leg:Id>
													<leg:Field name="NrPartiiTowaru">2312323/2022</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
				<cac:OrderReference>
					<cbc:ID>4354343</cbc:ID>
					<cbc:IssueDate>2022-01-26</cbc:IssueDate>
				</cac:OrderReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cbc:AddressTypeCode>a</cbc:AddressTypeCode>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CDE sp. j.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:Delivery>
					<cac:DeliveryAddress>
						<cac:AddressLine>
							<cbc:Line>Sadowa 1 lok. 2</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:DeliveryAddress>
					<cac:DeliveryLocation>
						<cac:Address>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:Address>
					</cac:DeliveryLocation>
					<cac:CarrierParty>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">6666666666</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Bukowa 5</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-004 Poznań</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Jan Nowak Transport</cbc:RegistrationName>
						</cac:PartyLegalEntity>
					</cac:CarrierParty>
					<cac:Shipment>
						<cac:GoodsItem>
							<cac:GoodsItemContainer>
								<cac:TransportEquipment>
									<cbc:ID schemeID="OpisLadunku">13</cbc:ID>
								</cac:TransportEquipment>
							</cac:GoodsItemContainer>
							<cac:ContainingPackage>
								<cbc:PackagingTypeCode>a</cbc:PackagingTypeCode>
							</cac:ContainingPackage>
						</cac:GoodsItem>
						<cac:TransportHandlingUnit>
							<cac:TransportMeans>
								<cbc:TransportMeansTypeCode name="RodzajTransportu">3</cbc:TransportMeansTypeCode>
							</cac:TransportMeans>
						</cac:TransportHandlingUnit>
					</cac:Shipment>
				</cac:Delivery>
				<cac:DeliveryTerms>
					<cbc:SpecialTerms>CIP</cbc:SpecialTerms>
				</cac:DeliveryTerms>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="FactorBankAccount">73111111111111111111111111</cbc:ID>
						<cbc:AccountTypeCode>2</cbc:AccountTypeCode>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>13560</cbc:TaxableAmount>
						<cbc:TaxAmount>3118.80</cbc:TaxAmount>
						<cbc:TransactionCurrencyTaxAmount>14036.16</cbc:TransactionCurrencyTaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>16678.80</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">10</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4060</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-02-20</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>406</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cac:ExchangeRate>
							<cbc:CalculationRate>4.5005</cbc:CalculationRate>
						</cac:ExchangeRate>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 21 91</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">20</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-02-25</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>250</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cac:ExchangeRate>
							<cbc:CalculationRate>4.5005</cbc:CalculationRate>
						</cac:ExchangeRate>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zamrażarka Zimnotech mk2</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 40 20</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>3</cbc:ID>
					<cbc:UUID>aaaa111133339992</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">15</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-02-26</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>300</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cac:ExchangeRate>
							<cbc:CalculationRate>4.5005</cbc:CalculationRate>
						</cac:ExchangeRate>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zmywarka Bryza 100</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8422 11 00</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CDE sp. j.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
			<GLN>a</GLN>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>EUR</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<P_13_1>13560</P_13_1>
		<P_14_1>3118.80</P_14_1>
		<P_14_1W>14036.16</P_14_1W>
		<P_15>16678.80</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_6A>2022-02-20</P_6A>
			<P_7>lodówka Zimnotech mk1</P_7>
			<CN>8418 21 91</CN>
			<P_8A>szt.</P_8A>
			<P_8B>10</P_8B>
			<P_9A>406</P_9A>
			<P_11>4060</P_11>
			<P_12>23</P_12>
			<KursWaluty>4.5005</KursWaluty>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_6A>2022-02-25</P_6A>
			<P_7>zamrażarka Zimnotech mk2</P_7>
			<CN>8418 40 20</CN>
			<P_8A>szt.</P_8A>
			<P_8B>20</P_8B>
			<P_9A>250</P_9A>
			<P_11>5000</P_11>
			<P_12>23</P_12>
			<KursWaluty>4.5005</KursWaluty>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>3</NrWierszaFa>
			<UU_ID>aaaa111133339992</UU_ID>
			<P_6A>2022-02-26</P_6A>
			<P_7>zmywarka Bryza 100</P_7>
			<CN>8422 11 00</CN>
			<P_8A>szt.</P_8A>
			<P_8B>15</P_8B>
			<P_9A>300</P_9A>
			<P_11>4500</P_11>
			<P_12>23</P_12>
			<KursWaluty>4.5005</KursWaluty>
		</FaWiersz>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowyFaktora>
				<NrRB>73111111111111111111111111</NrRB>
				<RachunekWlasnyBanku>2</RachunekWlasnyBanku>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowyFaktora>
		</Platnosc>
		<WarunkiTransakcji>
			<Zamowienia>
				<DataZamowienia>2022-01-26</DataZamowienia>
				<NrZamowienia>4354343</NrZamowienia>
			</Zamowienia>
			<NrPartiiTowaru>2312323/2022</NrPartiiTowaru>
			<WarunkiDostawy>CIP</WarunkiDostawy>
			<Transport>
				<RodzajTransportu>3</RodzajTransportu>
				<Przewoznik>
					<DaneIdentyfikacyjne>
						<NIP>6666666666</NIP>
						<Nazwa>Jan Nowak Transport</Nazwa>
					</DaneIdentyfikacyjne>
					<AdresPrzewoznika>
						<KodKraju>PL</KodKraju>
						<AdresL1>ul. Bukowa 5</AdresL1>
						<AdresL2>00-004 Poznań</AdresL2>
					</AdresPrzewoznika>
				</Przewoznik>
				<OpisLadunku>13</OpisLadunku>
				<JednostkaOpakowania>a</JednostkaOpakowania>
				<WysylkaZ>
					<KodKraju>PL</KodKraju>
					<AdresL1>Sadowa 1 lok. 2</AdresL1>
					<AdresL2>00-001 Warszawa</AdresL2>
				</WysylkaZ>
				<WysylkaDo>
					<KodKraju>PL</KodKraju>
					<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
					<AdresL2>00-002 Kraków</AdresL2>
				</WysylkaDo>
			</Transport>
		</WarunkiTransakcji>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

21 - National invoice in a foreign currency (different rates)

An example where different currency exchange rates are applied to individual invoice lines. To convert the tax amount, a weighted exchange rate is applied. According to the principle of converting to PLN, the tax amount is calculated from the sum of sales values.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>WarunkiTransakcji</leg:Id>
													<leg:Field name="NrPartiiTowaru">2312323/2022</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
				<cac:OrderReference>
					<cbc:ID>4354343</cbc:ID>
					<cbc:IssueDate>2022-01-26</cbc:IssueDate>
				</cac:OrderReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cbc:AddressTypeCode>a</cbc:AddressTypeCode>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CDE sp. j.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:Delivery>
					<cac:DeliveryAddress>
						<cac:AddressLine>
							<cbc:Line>Sadowa 1 lok. 2</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:DeliveryAddress>
					<cac:DeliveryLocation>
						<cac:Address>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:Address>
					</cac:DeliveryLocation>
					<cac:CarrierParty>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">6666666666</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Bukowa 5</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-004 Poznań</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Jan Nowak Transport</cbc:RegistrationName>
						</cac:PartyLegalEntity>
					</cac:CarrierParty>
					<cac:Shipment>
						<cac:GoodsItem>
							<cac:GoodsItemContainer>
								<cac:TransportEquipment>
									<cbc:ID schemeID="OpisLadunku">13</cbc:ID>
								</cac:TransportEquipment>
							</cac:GoodsItemContainer>
							<cac:ContainingPackage>
								<cbc:PackagingTypeCode>a</cbc:PackagingTypeCode>
							</cac:ContainingPackage>
						</cac:GoodsItem>
						<cac:TransportHandlingUnit>
							<cac:TransportMeans>
								<cbc:TransportMeansTypeCode name="RodzajTransportu">3</cbc:TransportMeansTypeCode>
							</cac:TransportMeans>
						</cac:TransportHandlingUnit>
					</cac:Shipment>
				</cac:Delivery>
				<cac:DeliveryTerms>
					<cbc:SpecialTerms>CIP</cbc:SpecialTerms>
				</cac:DeliveryTerms>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="FactorBankAccount">73111111111111111111111111</cbc:ID>
						<cbc:AccountTypeCode>2</cbc:AccountTypeCode>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>13560</cbc:TaxableAmount>
						<cbc:TaxAmount>3118.80</cbc:TaxAmount>
						<cbc:TransactionCurrencyTaxAmount>13768.14</cbc:TransactionCurrencyTaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>16678.80</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">10</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4060</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-02-05</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>406</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cac:ExchangeRate>
							<cbc:CalculationRate>4.4080</cbc:CalculationRate>
						</cac:ExchangeRate>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 21 91</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">20</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>5000</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-02-10</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>250</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cac:ExchangeRate>
							<cbc:CalculationRate>4.5005</cbc:CalculationRate>
						</cac:ExchangeRate>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zamrażarka Zimnotech mk2</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 40 20</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>3</cbc:ID>
					<cbc:UUID>aaaa111133339992</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">15</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>4500</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-02-20</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>300</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:PaymentTerms>
						<cac:ExchangeRate>
							<cbc:CalculationRate>4.3250</cbc:CalculationRate>
						</cac:ExchangeRate>
					</cac:PaymentTerms>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zmywarka Bryza 100</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8422 11 00</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>	
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CDE sp. j.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
			<GLN>a</GLN>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>EUR</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<P_13_1>13560</P_13_1>
		<P_14_1>3118.80</P_14_1>
		<P_14_1W>13768.14</P_14_1W>
		<P_15>16678.80</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_6A>2022-02-05</P_6A>
			<P_7>lodówka Zimnotech mk1</P_7>
			<CN>8418 21 91</CN>
			<P_8A>szt.</P_8A>
			<P_8B>10</P_8B>
			<P_9A>406</P_9A>
			<P_11>4060</P_11>
			<P_12>23</P_12>
			<KursWaluty>4.4080</KursWaluty>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_6A>2022-02-10</P_6A>
			<P_7>zamrażarka Zimnotech mk2</P_7>
			<CN>8418 40 20</CN>
			<P_8A>szt.</P_8A>
			<P_8B>20</P_8B>
			<P_9A>250</P_9A>
			<P_11>5000</P_11>
			<P_12>23</P_12>
			<KursWaluty>4.5005</KursWaluty>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>3</NrWierszaFa>
			<UU_ID>aaaa111133339992</UU_ID>
			<P_6A>2022-02-20</P_6A>
			<P_7>zmywarka Bryza 100</P_7>
			<CN>8422 11 00</CN>
			<P_8A>szt.</P_8A>
			<P_8B>15</P_8B>
			<P_9A>300</P_9A>
			<P_11>4500</P_11>
			<P_12>23</P_12>
			<KursWaluty>4.3250</KursWaluty>
		</FaWiersz>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowyFaktora>
				<NrRB>73111111111111111111111111</NrRB>
				<RachunekWlasnyBanku>2</RachunekWlasnyBanku>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowyFaktora>
		</Platnosc>
		<WarunkiTransakcji>
			<Zamowienia>
				<DataZamowienia>2022-01-26</DataZamowienia>
				<NrZamowienia>4354343</NrZamowienia>
			</Zamowienia>
			<NrPartiiTowaru>2312323/2022</NrPartiiTowaru>
			<WarunkiDostawy>CIP</WarunkiDostawy>
			<Transport>
				<RodzajTransportu>3</RodzajTransportu>
				<Przewoznik>
					<DaneIdentyfikacyjne>
						<NIP>6666666666</NIP>
						<Nazwa>Jan Nowak Transport</Nazwa>
					</DaneIdentyfikacyjne>
					<AdresPrzewoznika>
						<KodKraju>PL</KodKraju>
						<AdresL1>ul. Bukowa 5</AdresL1>
						<AdresL2>00-004 Poznań</AdresL2>
					</AdresPrzewoznika>
				</Przewoznik>
				<OpisLadunku>13</OpisLadunku>
				<JednostkaOpakowania>a</JednostkaOpakowania>
				<WysylkaZ>
					<KodKraju>PL</KodKraju>
					<AdresL1>Sadowa 1 lok. 2</AdresL1>
					<AdresL2>00-001 Warszawa</AdresL2>
				</WysylkaZ>
				<WysylkaDo>
					<KodKraju>PL</KodKraju>
					<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
					<AdresL2>00-002 Kraków</AdresL2>
				</WysylkaDo>
			</Transport>
		</WarunkiTransakcji>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

22 - Dates: P_6 - Fixed date at the invoice level

In this example, there’s the date at the document level (within "FaWiersz" for legal/ Invoice/InvoicePeriod for SCI), which communicates that all InvoiceLines have the same date. No other field is necessary.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-01-01T00:00:00Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:Field name="FP">1</leg:Field>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">preferowane godziny dowozu</leg:Field>
													<leg:Field name="Wartosc">dni robocze 17:00 - 20:00</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Platnosc</leg:Id>
													<leg:Field name="DataZaplaty">2022-01-27</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>SamploFaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:EndDate>2022-01-27</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:OrderReference>
					<cbc:ID>4354343</cbc:ID>
					<cbc:IssueDate>2022-01-26</cbc:IssueDate>
				</cac:OrderReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Polna 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>F.H.U. Jan Kowalski</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>jan@kowalski.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:ReferenceEventCode>1</cbc:ReferenceEventCode>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>1666.66</cbc:TaxableAmount>
						<cbc:TaxAmount>383.33</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>0.95</cbc:TaxableAmount>
						<cbc:TaxAmount>0.05</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_3</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>2051</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>1626.01</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1626.01</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>40.65</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>40.65</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>wniesienie sprzętu</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>3</cbc:ID>
					<cbc:UUID>aaaa111133339992</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>0.95</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>0.95</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>5</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>promocja lodówka pełna mleka</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-01-01T00:00:00Z</DataWytworzeniaFa>
		<SystemInfo>SamploFaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>F.H.U. Jan Kowalski</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Polna 1</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>jan@kowalski.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<P_6>2022-01-27</P_6>
		<P_13_1>1666.66</P_13_1>
		<P_14_1>383.33</P_14_1>
		<P_13_3>0.95</P_13_3>
		<P_14_3>0.05</P_14_3>
		<P_15>2051</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FP>1</FP>
		<DodatkowyOpis>
			<Klucz>preferowane godziny dowozu</Klucz>
			<Wartosc>dni robocze 17:00 - 20:00</Wartosc>
		</DodatkowyOpis>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>lodówka Zimnotech mk1</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>1626.01</P_9A>
			<P_11>1626.01</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_7>wniesienie sprzętu</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>40.65</P_9A>
			<P_11>40.65</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>3</NrWierszaFa>
			<UU_ID>aaaa111133339992</UU_ID>
			<P_7>promocja lodówka pełna mleka</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>0.95</P_9A>
			<P_11>0.95</P_11>
			<P_12>5</P_12>
		</FaWiersz>
		<Platnosc>
			<Zaplacono>1</Zaplacono>
			<DataZaplaty>2022-01-27</DataZaplaty>
			<FormaPlatnosci>6</FormaPlatnosci>
		</Platnosc>
		<WarunkiTransakcji>
			<Zamowienia>
				<DataZamowienia>2022-01-26</DataZamowienia>
				<NrZamowienia>4354343</NrZamowienia>
			</Zamowienia>
		</WarunkiTransakcji>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

23 - Dates: P_6A - different dates at the invoice lines level

In this example, since the dates differ in at least one InvoiceLine, all dates must be included through P_6A/ InvoicePeriod/EndDate in each InvoiceLine. No other field is necessary.

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19N">1</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzyN">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rozliczenie</leg:Id>
													<leg:Field name="DoZaplaty">63279.92</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>WarunkiTransakcji</leg:Id>
													<leg:Field name="NrPartiiTowaru">2312323/2022</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:OrderReference>
					<cbc:ID>4354343</cbc:ID>
					<cbc:IssueDate>2022-01-26</cbc:IssueDate>
				</cac:OrderReference>
				<cac:DespatchDocumentReference>
					<cbc:UUID>44343434/2022</cbc:UUID>
				</cac:DespatchDocumentReference>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC AGD sp. z o. o.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>CDE sp. j.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>cde@cde.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">1</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">2222222222</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Bankowa 1</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-003 Łódź</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>Bank Bankowości Bankowej S. A. BBB Faktoring</cbc:RegistrationName>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>666888999</cbc:Telephone>
						<cbc:ElectronicMail>bbb@efaktoring.pl</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>666888999</cbc:Telephone>
							<cbc:ElectronicMail>bbb@efaktoring.pl</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:Delivery>
					<cac:DeliveryAddress>
						<cac:AddressLine>
							<cbc:Line>Sadowa 1 lok. 2</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-001 Warszawa</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:DeliveryAddress>
					<cac:DeliveryLocation>
						<cac:Address>
							<cac:AddressLine>
								<cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-002 Kraków</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:Address>
					</cac:DeliveryLocation>
					<cac:CarrierParty>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">6666666666</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Bukowa 5</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-004 Poznań</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Jan Nowak Transport</cbc:RegistrationName>
						</cac:PartyLegalEntity>
					</cac:CarrierParty>
					<cac:Shipment>
						<cac:GoodsItem>
							<cac:GoodsItemContainer>
								<cac:TransportEquipment>
									<cbc:ID schemeID="OpisLadunku">13</cbc:ID>
								</cac:TransportEquipment>
							</cac:GoodsItemContainer>
							<cac:ContainingPackage>
								<cbc:PackagingTypeCode>a</cbc:PackagingTypeCode>
							</cac:ContainingPackage>
						</cac:GoodsItem>
						<cac:TransportHandlingUnit>
							<cac:TransportMeans>
								<cbc:TransportMeansTypeCode name="RodzajTransportu">3</cbc:TransportMeansTypeCode>
							</cac:TransportMeans>
						</cac:TransportHandlingUnit>
					</cac:Shipment>
				</cac:Delivery>
				<cac:DeliveryTerms>
					<cbc:SpecialTerms>CIP</cbc:SpecialTerms>
				</cac:DeliveryTerms>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="FactorBankAccount">73111111111111111111111111</cbc:ID>
						<cbc:AccountTypeCode>2</cbc:AccountTypeCode>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:AllowanceCharge>
					<cbc:ID schemeID="Rozliczenie"/>
					<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
					<cbc:AllowanceChargeReason>nadwyżka salda nierozliczonych środków</cbc:AllowanceChargeReason>
					<cbc:Amount>1000</cbc:Amount>
				</cac:AllowanceCharge>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>52260.10</cbc:TaxableAmount>
						<cbc:TaxAmount>12019.82</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:AllowanceTotalAmount>1000</cbc:AllowanceTotalAmount>
					<cbc:PayableAmount>64279.92</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">10</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>16260.10</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-01-03</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1626.01</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>lodówka Zimnotech mk1</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 21 91</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">20</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>18000</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-01-10</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zamrażarka Zimnotech mk2</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8418 40 20</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
					<cac:Price>
						<cbc:PriceAmount>1000</cbc:PriceAmount>
						<cac:AllowanceCharge>
							<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
							<cbc:Amount>100</cbc:Amount>
						</cac:AllowanceCharge>
					</cac:Price>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>3</cbc:ID>
					<cbc:UUID>aaaa111133339992</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">15</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>18000</cbc:LineExtensionAmount>
					<cac:InvoicePeriod>
						<cbc:EndDate>2022-01-15</cbc:EndDate>
					</cac:InvoicePeriod>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>1200</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>zmywarka Bryza 100</cbc:Name>
						<cac:AdditionalItemIdentification>
							<cbc:ID schemeID="CN">8422 11 00</cbc:ID>
						</cac:AdditionalItemIdentification>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC AGD sp. z o. o.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>CDE sp. j.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
			<AdresL2>00-002 Kraków</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>cde@cde.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>2222222222</NIP>
			<Nazwa>Bank Bankowości Bankowej S. A. BBB Faktoring</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Bankowa 1</AdresL1>
			<AdresL2>00-003 Łódź</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>bbb@efaktoring.pl</Email>
			<Telefon>666888999</Telefon>
		</DaneKontaktowe>
		<Rola>1</Rola>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<WZ>44343434/2022</WZ>
		<P_13_1>52260.10</P_13_1>
		<P_14_1>12019.82</P_14_1>
		<P_15>64279.92</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19N>1</P_19N>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzyN>1</P_PMarzyN>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_6A>2022-01-03</P_6A>
			<P_7>lodówka Zimnotech mk1</P_7>
			<CN>8418 21 91</CN>
			<P_8A>szt.</P_8A>
			<P_8B>10</P_8B>
			<P_9A>1626.01</P_9A>
			<P_11>16260.10</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_6A>2022-01-10</P_6A>
			<P_7>zamrażarka Zimnotech mk2</P_7>
			<CN>8418 40 20</CN>
			<P_8A>szt.</P_8A>
			<P_8B>20</P_8B>
			<P_9A>1000</P_9A>
			<P_10>100</P_10>
			<P_11>18000</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>3</NrWierszaFa>
			<UU_ID>aaaa111133339992</UU_ID>
			<P_6A>2022-01-15</P_6A>
			<P_7>zmywarka Bryza 100</P_7>
			<CN>8422 11 00</CN>
			<P_8A>szt.</P_8A>
			<P_8B>15</P_8B>
			<P_9A>1200</P_9A>
			<P_11>18000</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<Rozliczenie>
			<Odliczenia>
				<Kwota>1000</Kwota>
				<Powod>nadwyżka salda nierozliczonych środków</Powod>
			</Odliczenia>
			<SumaOdliczen>1000</SumaOdliczen>
			<DoZaplaty>63279.92</DoZaplaty>
		</Rozliczenie>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowyFaktora>
				<NrRB>73111111111111111111111111</NrRB>
				<RachunekWlasnyBanku>2</RachunekWlasnyBanku>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowyFaktora>
		</Platnosc>
		<WarunkiTransakcji>
			<Zamowienia>
				<DataZamowienia>2022-01-26</DataZamowienia>
				<NrZamowienia>4354343</NrZamowienia>
			</Zamowienia>
			<NrPartiiTowaru>2312323/2022</NrPartiiTowaru>
			<WarunkiDostawy>CIP</WarunkiDostawy>
			<Transport>
				<RodzajTransportu>3</RodzajTransportu>
				<Przewoznik>
					<DaneIdentyfikacyjne>
						<NIP>6666666666</NIP>
						<Nazwa>Jan Nowak Transport</Nazwa>
					</DaneIdentyfikacyjne>
					<AdresPrzewoznika>
						<KodKraju>PL</KodKraju>
						<AdresL1>ul. Bukowa 5</AdresL1>
						<AdresL2>00-004 Poznań</AdresL2>
					</AdresPrzewoznika>
				</Przewoznik>
				<OpisLadunku>13</OpisLadunku>
				<JednostkaOpakowania>a</JednostkaOpakowania>
				<WysylkaZ>
					<KodKraju>PL</KodKraju>
					<AdresL1>Sadowa 1 lok. 2</AdresL1>
					<AdresL2>00-001 Warszawa</AdresL2>
				</WysylkaZ>
				<WysylkaDo>
					<KodKraju>PL</KodKraju>
					<AdresL1>ul. Sadowa 1 lok. 3</AdresL1>
					<AdresL2>00-002 Kraków</AdresL2>
				</WysylkaDo>
			</Transport>
		</WarunkiTransakcji>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>

24 - Dates: OkresFa with P_6_Od and P_6_Do - No specific date but a period

In this example, since there is no fixed date but a period within InvoicePeriod, then the OkresFa legal node shall be used. "P_6_Od" for "StartDate" and "P_6_Do" for "EndDate".

Sovos Canonical Invoice (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<sbd:StandardBusinessDocument xmlns="http://uri.etsi.org/01903/v1.4.1#" xmlns:ad="http://www.sovos.com/namespaces/additionalData" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:n0="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:crn="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2" xmlns:dbn="urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2" xmlns:enc="http://www.sovos.com/namespaces/base64Document" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:inv="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:leg="http://www.sovos.com/namespaces/sovosExtensions/LegalExtension" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2" xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2" xmlns:sbd="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:sci="http://www.sovos.com/namespaces/sovosCanonicalInvoice" xmlns:sov="http://www.sovos.com/namespaces/sovosExtensions" xmlns:svs="http://www.sovos.com/namespaces/sovosDocument" xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ccts-cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2">
	<sbd:StandardBusinessDocumentHeader>
		<sbd:HeaderVersion>1.0</sbd:HeaderVersion>
		<sbd:Sender>
			<sbd:Identifier Authority="PL">9999999999</sbd:Identifier>
		</sbd:Sender>
		<sbd:Receiver>
			<sbd:Identifier Authority="PL">1111111111</sbd:Identifier>
		</sbd:Receiver>
		<sbd:DocumentIdentification>
			<sbd:Standard>urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</sbd:Standard>
			<sbd:TypeVersion>2.1</sbd:TypeVersion>
			<sbd:InstanceIdentifier/>
			<sbd:Type>Invoice</sbd:Type>
			<sbd:MultipleType>false</sbd:MultipleType>
			<sbd:CreationDateAndTime>2022-02-15T09:30:47Z</sbd:CreationDateAndTime>
		</sbd:DocumentIdentification>
		<sbd:BusinessScope>
			<sbd:Scope>
				<sbd:Type>Country</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>PL</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.TransformDocument</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>SCI-TO-LEGAL_INVOICE</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Mapping.OutputSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Faktura</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>CompanyCode</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>9999999999</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderDocumentId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>FV2022/02/150</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SenderSystemId</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>UAT</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>ProcessType</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>Outbound</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessProcess</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:BusinessService>
					<sbd:BusinessServiceName>Default</sbd:BusinessServiceName>
				</sbd:BusinessService>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>BusinessCategory</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>BusinessToBusiness</sbd:Identifier>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>SubSchema</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier/>
			</sbd:Scope>
			<sbd:Scope>
				<sbd:Type>Version</sbd:Type>
				<sbd:InstanceIdentifier/>
				<sbd:Identifier>1.0</sbd:Identifier>
			</sbd:Scope>
		</sbd:BusinessScope>
	</sbd:StandardBusinessDocumentHeader>
	<svs:SovosDocument>
		<sci:SovosCanonicalInvoice>
			<inv:Invoice>
				<ext:UBLExtensions>
					<ext:UBLExtension>
						<ext:ExtensionContent>
							<sov:SovosExtension>
								<leg:LegalExtension>
									<leg:Legal>
										<leg:HeaderFields>
											<leg:GroupInformation>
												<leg:Id>Fa</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Adnotacje</leg:Id>
													<leg:Field name="P_16">2</leg:Field>
													<leg:Field name="P_17">2</leg:Field>
													<leg:Field name="P_18">2</leg:Field>
													<leg:Field name="P_18A">2</leg:Field>
													<leg:Field name="P_19">1</leg:Field>
													<leg:Field name="P_19A">art. 43 ust. 1 pkt 37 ustawy VAT</leg:Field>
													<leg:Field name="P_22N">1</leg:Field>
													<leg:Field name="P_23">2</leg:Field>
													<leg:Field name="P_PMarzy">1</leg:Field>
													<leg:Field name="P_PMarzy_3_1">1</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>DodatkowyOpis</leg:Id>
													<leg:Field name="Klucz">część odsetkowa raty</leg:Field>
													<leg:Field name="Wartosc">netto 200, vat 46</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
											<leg:GroupInformation>
												<leg:Id>Stopka</leg:Id>
												<leg:GroupInformation>
													<leg:Id>Informacje</leg:Id>
													<leg:Field name="StopkaFaktury">Kapiał zakładowy 5 000 000</leg:Field>
												</leg:GroupInformation>
												<leg:GroupInformation>
													<leg:Id>Rejestry</leg:Id>
													<leg:Field name="KRS">0000099999</leg:Field>
													<leg:Field name="REGON">999999999</leg:Field>
													<leg:Field name="BDO">000099999</leg:Field>
												</leg:GroupInformation>
											</leg:GroupInformation>
										</leg:HeaderFields>
									</leg:Legal>
								</leg:LegalExtension>
							</sov:SovosExtension>
						</ext:ExtensionContent>
					</ext:UBLExtension>
				</ext:UBLExtensions>
				<cbc:ProfileID schemeID="FA (3)" schemeVersionID="1-0E">FA</cbc:ProfileID>
				<cbc:ProfileExecutionID>Samplofaktur</cbc:ProfileExecutionID>
				<cbc:UUID>FV2022/02/150</cbc:UUID>
				<cbc:IssueDate>2022-02-15</cbc:IssueDate>
				<cbc:InvoiceTypeCode>VAT</cbc:InvoiceTypeCode>
				<cbc:DocumentCurrencyCode>PLN</cbc:DocumentCurrencyCode>
				<cac:InvoicePeriod>
					<cbc:StartDate>2022-01-01</cbc:StartDate>
					<cbc:EndDate>2022-01-01</cbc:EndDate>
				</cac:InvoicePeriod>
				<cac:AccountingSupplierParty>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">9999999999</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>ul. Kwiatowa 1 m. 2</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-001 Warszawa</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PhysicalLocation>
							<cbc:Description>PlaceOfIssuance</cbc:Description>
							<cac:Address>
								<cac:AddressLine>
									<cbc:Line>Warszawa</cbc:Line>
								</cac:AddressLine>
							</cac:Address>
						</cac:PhysicalLocation>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>ABC Leasing S.A.</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>667444555</cbc:Telephone>
							<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>667444555</cbc:Telephone>
								<cbc:ElectronicMail>abc@abc.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingSupplierParty>
				<cac:AccountingCustomerParty>
					<cbc:SupplierAssignedAccountID schemeID="NrKlienta">fdfd778343</cbc:SupplierAssignedAccountID>
					<cac:Party>
						<cac:PartyIdentification>
							<cbc:ID schemeID="TaxID">1111111111</cbc:ID>
						</cac:PartyIdentification>
						<cac:PostalAddress>
							<cac:AddressLine>
								<cbc:Line>Bzdziszewo 1</cbc:Line>
							</cac:AddressLine>
							<cac:AddressLine>
								<cbc:Line>00-007 Bzdziszewo</cbc:Line>
							</cac:AddressLine>
							<cac:Country>
								<cbc:IdentificationCode>PL</cbc:IdentificationCode>
							</cac:Country>
						</cac:PostalAddress>
						<cac:PartyLegalEntity>
							<cbc:RegistrationName>Gmina Bzdziszewo</cbc:RegistrationName>
						</cac:PartyLegalEntity>
						<cac:Contact>
							<cbc:Telephone>555777999</cbc:Telephone>
							<cbc:ElectronicMail>bzdziszewo@tuwartoinwestowac.pl</cbc:ElectronicMail>
						</cac:Contact>
						<cac:Person>
							<cac:Contact>
								<cbc:Telephone>555777999</cbc:Telephone>
								<cbc:ElectronicMail>bzdziszewo@tuwartoinwestowac.pl</cbc:ElectronicMail>
							</cac:Contact>
						</cac:Person>
					</cac:Party>
				</cac:AccountingCustomerParty>
				<cac:PayeeParty>
					<cbc:IndustryClassificationCode name="Role">8</cbc:IndustryClassificationCode>
					<cac:PartyIdentification>
						<cbc:ID schemeID="TaxID">2222222222</cbc:ID>
					</cac:PartyIdentification>
					<cac:PostalAddress>
						<cac:AddressLine>
							<cbc:Line>ul. Akacjowa 200</cbc:Line>
						</cac:AddressLine>
						<cac:AddressLine>
							<cbc:Line>00-007 Bzdziszewo</cbc:Line>
						</cac:AddressLine>
						<cac:Country>
							<cbc:IdentificationCode>PL</cbc:IdentificationCode>
						</cac:Country>
					</cac:PostalAddress>
					<cac:PartyTaxScheme>
						<cac:RegistrationAddress>
							<cac:Country/>
						</cac:RegistrationAddress>
					</cac:PartyTaxScheme>
					<cac:PartyLegalEntity>
						<cbc:RegistrationName>Szkoła Podstawowa w Bzdziszewie</cbc:RegistrationName>
					</cac:PartyLegalEntity>
					<cac:Contact>
						<cbc:Telephone>666888999</cbc:Telephone>
						<cbc:ElectronicMail>sp@bzdziszewo.p</cbc:ElectronicMail>
					</cac:Contact>
					<cac:Person>
						<cac:Contact>
							<cbc:Telephone>666888999</cbc:Telephone>
							<cbc:ElectronicMail>sp@bzdziszewo.p</cbc:ElectronicMail>
						</cac:Contact>
					</cac:Person>
				</cac:PayeeParty>
				<cac:PaymentMeans>
					<cbc:PaymentMeansCode>6</cbc:PaymentMeansCode>
				</cac:PaymentMeans>
				<cac:PaymentMeans>
					<cac:PayeeFinancialAccount>
						<cbc:ID schemeID="BankAccountNumber">73111111111111111111111111</cbc:ID>
						<cbc:PaymentNote>PLN</cbc:PaymentNote>
						<cac:FinancialInstitutionBranch>
							<cbc:Name>Bank Bankowości Bankowej S. A.</cbc:Name>
						</cac:FinancialInstitutionBranch>
					</cac:PayeeFinancialAccount>
				</cac:PaymentMeans>
				<cac:PaymentTerms>
					<cbc:PaymentDueDate>2022-03-15</cbc:PaymentDueDate>
				</cac:PaymentTerms>
				<cac:TaxTotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>2000</cbc:TaxableAmount>
						<cbc:TaxAmount>460</cbc:TaxAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_1</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
					<cac:TaxSubtotal>
						<cbc:TaxableAmount>300</cbc:TaxableAmount>
						<cac:TaxCategory>
							<cac:TaxScheme>
								<cbc:Name>P_13_7</cbc:Name>
							</cac:TaxScheme>
						</cac:TaxCategory>
					</cac:TaxSubtotal>
				</cac:TaxTotal>
				<cac:LegalMonetaryTotal>
					<cbc:PayableAmount>2760</cbc:PayableAmount>
				</cac:LegalMonetaryTotal>
				<cac:InvoiceLine>
					<cbc:ID>1</cbc:ID>
					<cbc:UUID>aaaa111133339990</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>2000</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>2000</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cbc:Percent>23</cbc:Percent>
								<cac:TaxScheme>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>rata leasingowa za 01/2022</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
				<cac:InvoiceLine>
					<cbc:ID>2</cbc:ID>
					<cbc:UUID>aaaa111133339991</cbc:UUID>
					<cbc:InvoicedQuantity unitCode="szt.">1</cbc:InvoicedQuantity>
					<cbc:LineExtensionAmount>300</cbc:LineExtensionAmount>
					<cac:PricingReference>
						<cac:AlternativeConditionPrice>
							<cbc:PriceAmount>300</cbc:PriceAmount>
							<cbc:PriceTypeCode>02</cbc:PriceTypeCode>
						</cac:AlternativeConditionPrice>
					</cac:PricingReference>
					<cac:TaxTotal>
						<cac:TaxSubtotal>
							<cac:TaxCategory>
								<cac:TaxScheme>
									<cbc:ID>zw</cbc:ID>
									<cbc:Name>P_12</cbc:Name>
								</cac:TaxScheme>
							</cac:TaxCategory>
						</cac:TaxSubtotal>
					</cac:TaxTotal>
					<cac:Item>
						<cbc:Name>pakiet ubezpieczeń za 01/2022</cbc:Name>
					</cac:Item>
				</cac:InvoiceLine>
			</inv:Invoice>
		</sci:SovosCanonicalInvoice>
	</svs:SovosDocument>
</sbd:StandardBusinessDocument>
Local format of KSeF (FA 3)
<?xml version="1.0" encoding="UTF-8"?>
<Faktura xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://crd.gov.pl/wzor/2023/06/29/12648/">
	<Naglowek>
		<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
		<WariantFormularza>2</WariantFormularza>
		<DataWytworzeniaFa>2022-02-15T09:30:47Z</DataWytworzeniaFa>
		<SystemInfo>Samplofaktur</SystemInfo>
	</Naglowek>
	<Podmiot1>
		<DaneIdentyfikacyjne>
			<NIP>9999999999</NIP>
			<Nazwa>ABC Leasing S.A.</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Kwiatowa 1 m. 2</AdresL1>
			<AdresL2>00-001 Warszawa</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>abc@abc.pl</Email>
			<Telefon>667444555</Telefon>
		</DaneKontaktowe>
	</Podmiot1>
	<Podmiot2>
		<DaneIdentyfikacyjne>
			<NIP>1111111111</NIP>
			<Nazwa>Gmina Bzdziszewo</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>Bzdziszewo 1</AdresL1>
			<AdresL2>00-007 Bzdziszewo</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>bzdziszewo@tuwartoinwestowac.pl</Email>
			<Telefon>555777999</Telefon>
		</DaneKontaktowe>
		<NrKlienta>fdfd778343</NrKlienta>
	</Podmiot2>
	<Podmiot3>
		<DaneIdentyfikacyjne>
			<NIP>2222222222</NIP>
			<Nazwa>Szkoła Podstawowa w Bzdziszewie</Nazwa>
		</DaneIdentyfikacyjne>
		<Adres>
			<KodKraju>PL</KodKraju>
			<AdresL1>ul. Akacjowa 200</AdresL1>
			<AdresL2>00-007 Bzdziszewo</AdresL2>
		</Adres>
		<DaneKontaktowe>
			<Email>sp@bzdziszewo.p</Email>
			<Telefon>666888999</Telefon>
		</DaneKontaktowe>
		<Rola>8</Rola>
	</Podmiot3>
	<Fa>
		<KodWaluty>PLN</KodWaluty>
		<P_1>2022-02-15</P_1>
		<P_1M>Warszawa</P_1M>
		<P_2>FV2022/02/150</P_2>
		<OkresFa>
			<P_6_Od>2022-01-01</P_6_Od>
			<P_6_Do>2022-01-01</P_6_Do>
		</OkresFa>
		<P_13_1>2000</P_13_1>
		<P_14_1>460</P_14_1>
		<P_13_7>300</P_13_7>
		<P_15>2760</P_15>
		<Adnotacje>
			<P_16>2</P_16>
			<P_17>2</P_17>
			<P_18>2</P_18>
			<P_18A>2</P_18A>
			<Zwolnienie>
				<P_19>1</P_19>
				<P_19A>art. 43 ust. 1 pkt 37 ustawy VAT</P_19A>
			</Zwolnienie>
			<NoweSrodkiTransportu>
				<P_22N>1</P_22N>
			</NoweSrodkiTransportu>
			<P_23>2</P_23>
			<PMarzy>
				<P_PMarzy>1</P_PMarzy>
				<P_PMarzy_3_1>1</P_PMarzy_3_1>
			</PMarzy>
		</Adnotacje>
		<RodzajFaktury>VAT</RodzajFaktury>
		<DodatkowyOpis>
			<Klucz>część odsetkowa raty</Klucz>
			<Wartosc>netto 200, vat 46</Wartosc>
		</DodatkowyOpis>
		<FaWiersz>
			<NrWierszaFa>1</NrWierszaFa>
			<UU_ID>aaaa111133339990</UU_ID>
			<P_7>rata leasingowa za 01/2022</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>2000</P_9A>
			<P_11>2000</P_11>
			<P_12>23</P_12>
		</FaWiersz>
		<FaWiersz>
			<NrWierszaFa>2</NrWierszaFa>
			<UU_ID>aaaa111133339991</UU_ID>
			<P_7>pakiet ubezpieczeń za 01/2022</P_7>
			<P_8A>szt.</P_8A>
			<P_8B>1</P_8B>
			<P_9A>300</P_9A>
			<P_11>300</P_11>
			<P_12>zw</P_12>
		</FaWiersz>
		<Platnosc>
			<TerminPlatnosci>
				<Termin>2022-03-15</Termin>
			</TerminPlatnosci>
			<FormaPlatnosci>6</FormaPlatnosci>
			<RachunekBankowy>
				<NrRB>73111111111111111111111111</NrRB>
				<NazwaBanku>Bank Bankowości Bankowej S. A.</NazwaBanku>
				<OpisRachunku>PLN</OpisRachunku>
			</RachunekBankowy>
		</Platnosc>
	</Fa>
	<Stopka>
		<Informacje>
			<StopkaFaktury>Kapiał zakładowy 5 000 000</StopkaFaktury>
		</Informacje>
		<Rejestry>
			<KRS>0000099999</KRS>
			<REGON>999999999</REGON>
			<BDO>000099999</BDO>
		</Rejestry>
	</Stopka>
</Faktura>